From patchwork Wed Nov 8 19:54:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 118331 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp54957edl; Wed, 8 Nov 2017 11:54:24 -0800 (PST) X-Google-Smtp-Source: ABhQp+RIQVvs46jEyA3ctfXeMCs+muWoJvGvsqWR271B2TyJ8uAF4+E2NBfDE2FLCmD01/Ts2A5B X-Received: by 10.101.88.14 with SMTP id g14mr1520280pgr.412.1510170864711; Wed, 08 Nov 2017 11:54:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510170864; cv=none; d=google.com; s=arc-20160816; b=R1BumnoV1gH9iBpv4C5egH8pB3I04b/iBL+7mU8/NBOouW4aDMNYamcb4g4Efxy6LE WoEhhuEOm1KfIL18PpU7aOEXbSeTXbLitdUc4UxdlM1ZNKIISLC8zQrusJKsxPxLXjZc 3WrXBcwZaZR9remWgqBWSy07CCbeGiUYf1fCrMnQM/EeSKPzz4lV2yOYkSUvXniEv+ug m6XVfJlKWBWiIOlWhBQVg53r5iw3EKxXofKn2JZUE8XeX1KTWREw5i3Y5YOp7WBU01vp Wzk/lXWRVzDLh76+Vpy1xevfF0VlFwWFMDbXKPOfsfcd4vHRyjkOTwMEJj9rdpSRIEMm oHAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:author:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=eMvaJ63OnBOoSMslcoYUzL0uyRtJBAU0v29XCNbpQeI=; b=VkY27oXug4NhEuBLK5emKkd3DHRAruH/hSJ5yAbVOtvHDwYVenmjw7BTpxOiNg8Ur4 m0aoXTfthDegbW3E2aq4Asw72N/N46xMbxE0gTWkvWV0oksqbkgtjG23zeJiUJ9AgewB Pbtb2tWvCMnli7RLY47x0J+ZWK1B1I4yFPp733nPGSdzmNU4Mxz5ra5Ade0beG58ouHc a9q7c1+O0ndKnebTHAKY6h2TrClGHh17OhAK6IlqJXEBG68QG6BMfGj4een0+H/IFR4/ afuwngAx21c8g0MYE+fqLyOrn9Q0RerYaOzcIjLqy64j9jV8W0l3Ip5+SEm1ib5U+gdG 1dQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ORK5TbpR; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si4413061plo.19.2017.11.08.11.54.24; Wed, 08 Nov 2017 11:54:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ORK5TbpR; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752715AbdKHTyW (ORCPT + 9 others); Wed, 8 Nov 2017 14:54:22 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:53464 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbdKHTyT (ORCPT ); Wed, 8 Nov 2017 14:54:19 -0500 Received: by mail-pf0-f193.google.com with SMTP id b6so2236870pff.10 for ; Wed, 08 Nov 2017 11:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:author; bh=eMvaJ63OnBOoSMslcoYUzL0uyRtJBAU0v29XCNbpQeI=; b=ORK5TbpRjwrvUPdT32rJsQCxXGFnP0orVaCpoA9SKNMOwkMivXf/efzH/4HTAwUZ93 HDmODmqzYNGW2kGAPMaVEk0ETnMwBnQ1r4xB5F1sQrOcbBrfbe6M2ahsbR2yjflXRwS1 lHWnE5FVKnn5QwxNSU5Aa/nAcpUIcAOmMOJ6U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:author; bh=eMvaJ63OnBOoSMslcoYUzL0uyRtJBAU0v29XCNbpQeI=; b=Hx/TSWkG78Hg7l4ocaqoFg8Dy/Wpxr224uxSZuVMGD3y0c4xLTtDMXiD1FTouk/c0h DTqP9kH9sC0iYSO6htTU3SHNmt71lyw+TBg4ASrVXYXaWpKwLE4+Mu9fd4kRRSmDh2/E 9ozwGlnEo2iv9e+7KVzIB8ZKPogH1ypjcMzG756CXWINKz7GtFBcOG3OK9sZ74nPGh7X TxOVl5KYlRW1VFm1b8Sjd55HbFep1duD5hb5Yph9jwgBx5HskNKbnFdOTQxXanScr2RJ ZcCbejuciv6ietS5Dsq8T0w82LZEKOgdT92kfU9BpFR2+6pZXLTLFy651MUqtJLJxBYO 081Q== X-Gm-Message-State: AJaThX4F7VteD4+YpFnGeF+ppGVorF9dng4n4/KPTl7l0Dxe/HMq5Uxu qYGFM0eebROI0rFkF3uXQFjyzg== X-Received: by 10.98.102.74 with SMTP id a71mr1602931pfc.23.1510170859107; Wed, 08 Nov 2017 11:54:19 -0800 (PST) Received: from localhost.localdomain ([106.51.18.232]) by smtp.gmail.com with ESMTPSA id p83sm10021226pfd.61.2017.11.08.11.54.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Nov 2017 11:54:17 -0800 (PST) From: Amit Pundir To: Greg KH Cc: Stable , Fengguang Wu , Shuah Khan , "Luis R . Rodriguez" , Brian Norris , Sumit Semwal Subject: [PATCH for-4.4.y 0/4] selftests: firmware: fix mainline test runs Date: Thu, 9 Nov 2017 01:24:08 +0530 Message-Id: <1510170852-32052-1-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 Author: Amit Pundir Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi Greg, Please consider following upstream selftest firmware changes to help run mainline/linux-next firmware test scripts on 4.4.y, without breaking 0-day testing. 47e0bbb7fa98 ("test: firmware_class: report errors properly on failure") is the one patch actually needed to make sure mainline/linux-next selftest firmware test scripts run on 4.4.y. Following commits are, however, required to make sure the above commit doesn't break 0-day testing, wherein they run in-kernel selftests. 1b1fe542b6f0 ("selftests: firmware: add empty string and async tests") 880444e214cf ("selftests: firmware: send expected errors to /dev/null") afb999cdef69 ("tools: firmware: check for distro fallback udev cancel rule") Regards, Amit Pundir Brian Norris (2): test: firmware_class: report errors properly on failure selftests: firmware: add empty string and async tests Luis R. Rodriguez (2): selftests: firmware: send expected errors to /dev/null tools: firmware: check for distro fallback udev cancel rule lib/test_firmware.c | 11 ++++++--- tools/testing/selftests/firmware/fw_filesystem.sh | 10 +++++++- tools/testing/selftests/firmware/fw_userhelper.sh | 28 +++++++++++++++++++++-- 3 files changed, 43 insertions(+), 6 deletions(-) -- 2.7.4