From patchwork Wed Apr 10 08:20:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 162001 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp5919819jan; Wed, 10 Apr 2019 01:20:37 -0700 (PDT) X-Received: by 2002:a2e:8648:: with SMTP id i8mr22254662ljj.166.1554884437351; Wed, 10 Apr 2019 01:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554884437; cv=none; d=google.com; s=arc-20160816; b=bO2pIfqKfAsKRByhUd1FXWUw/qPUmJWuRX2/6EBLAeGbLVLqgkirTi8cldQW82s+0g GBOF7EtOoJf3u20xPARX5Ua+uCTKeCjhkDsYPk3ka6Xor7556w/JZ42U+L/NXUTemkcb ULUuNtedWkhgAJ4rFKb30oPlX5q4C89bl/Rzr42z9XaSf4TDYQR7gv5l/cn45fqrEK9p 5qyU/f7xrD+wKPVpjNAswkuEOqCax2SQEzQp8XtZGbpIOyKF/FA70K6a/jajxhr6xOFN OfKzJSZwHD0eGgpIjZ/1H87xr1FcMvrIVxAJpqVbGRq5IgKF19CSor0G/m9idP6FG7h0 5Rzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=/H33UR2lbvV2qXIXD3WcE8LMFe5SakmefXrAMYhEKWI=; b=LM/FS0Ki2M1BSutFpCug9D6ZaDbQMMuTLIQY2m6MWzNqXj61srFZsVJag0EUFz2SUE 1GWQUhXySebNe9XqtC9JBPsX5PY6FlN4/qNFObaT2AbdwmIt1npEhQxPeK4Y6X8oOkpS FljiOTAwEA0sVCHfbC2nwCUJenkyI2WCfZXNOWn3XQ41xMxo/ZT/MYvR6OsoLq751SXq Nr/HebShDZcKtyEdKLsJGcsFqNTad6Upu86fYXiXCjVjTC/BSY4tq5A3ZqeF6xAfsomq ZB6vAFbpQC+RZ10ZmQxAKzU6/zZAfP6nuKuzhPkZoAhlL2jHtVrMfC0j6PwwTvWBtirv AEBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ggzb/CTE"; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id b1sor9760951lfa.9.2019.04.10.01.20.36 for (Google Transport Security); Wed, 10 Apr 2019 01:20:37 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ggzb/CTE"; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/H33UR2lbvV2qXIXD3WcE8LMFe5SakmefXrAMYhEKWI=; b=ggzb/CTEwtPOa+EtvWGn1UyvsYhP3zmyRCmLzifWKfhBrG7ZLkoxFTyA1k1bruzB2q yFPqMMZ9y2ejMENPYsMYts6p3phKjY3QVcPX1/PCwI7FdMF8w9KtlnSjPtdFB14Yppee KrbYq74mFwtqMUImgXqSDwoWYCCWeKfUKkiRqiVb9xp2R5dthxQGH3mNeymy53KfXegr ELA8P9LsUFWS2sp6oqDxidOfLoEtMdBwQ42ccgPTmMphJ9VTtw3fYv0szs1emgzfirAz wOBNO+ZQFBfpMVS/TTZ5B9zQWNaDixPizVLTkp+kGPWLS0n/W3RSPDQxwDmC6PyW3X+4 LWdg== 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; bh=/H33UR2lbvV2qXIXD3WcE8LMFe5SakmefXrAMYhEKWI=; b=TPd7u0V8zCJK1znY4/M38+QrTnMnW7zaxsThdFhqdGVhU/wgT1i26XOt4H0vstrG3E aTCAxvfVWY4MZfBasQkBae4cRF6jFL2EMtF1eSRfmCvt0Ihp/CE/ArOV58Cv6q5Lncey s5jq+DmGhjNNqVCAFhcKVyfiu125nXqKmtOvM39DMHxBUdjxmT6r83G+IFZvVsGC7Yfi JWSa/VNAvk+62I++V/xHhkes0SGthPf3CZ2T0nR7C4GToMG+dFR3xcqj2N/7sGgBamjA ekpA/IMnf5JR7RwTIJ5r6wcVRCN/ed0EFV4BYLk7s+5qoT2NgUQxniXTbbafS3KzPAuP hZ9Q== X-Gm-Message-State: APjAAAWFCEicthj0NO6WNC0CsmCKL4bU8w+aQdeCPfUnVPvtjX7UmJuo ZIirbv7YPdJAbcE66eiZjdm15cHd X-Google-Smtp-Source: APXvYqxj1Ip2ypHe+hw332XrFBM/4q7jYmi3ORQv5pz/nSCfKTbW1Hx9Wf5eP40FkP2S/yccF99zBA== X-Received: by 2002:a19:c51a:: with SMTP id w26mr21562594lfe.59.1554884436642; Wed, 10 Apr 2019 01:20:36 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id q6sm3385189lfj.36.2019.04.10.01.20.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 01:20:36 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Lorenzo Pieralisi , Sudeep Holla , Mark Rutland , Daniel Lezcano , Lina Iyer , Ulf Hansson , linux-arm-kernel@lists.infradead.org Subject: [RESEND PATCH v2 0/5] drivers: firmware: psci: Some cleanup and refactoring Date: Wed, 10 Apr 2019 10:20:20 +0200 Message-Id: <20190410082025.5989-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 Rafael, could you please queue this series via your pm-tree? It has been acked by PSCI aintainers and it's ready to go. There is no dependency, so the changes are standalone. Kind regards Ulf Hansson Changes in v2: - Drop two patches from the series. - Added acks and other tags, no other changes. Background: All of these patches have been sent earlier, but part of a bigger series [1]. Instead of waiting for that series to get reviewed and accepted, I have split it up, such that these trivial independent cleanups can go in as a first step. The only intentional function change, should be the last patch, where we start checking if PSCI OSI mode is supported in the PSCI FW and print a message about it, as that is quite useful information for the user/developer. [1] https://lkml.org/lkml/2018/11/29/1801 Ulf Hansson (5): drivers: firmware: psci: Move psci to separate directory MAINTAINERS: Update files for PSCI drivers: firmware: psci: Split psci_dt_cpu_init_idle() drivers: firmware: psci: Simplify error path of psci_dt_init() drivers: firmware: psci: Announce support for OS initiated suspend mode MAINTAINERS | 2 +- drivers/firmware/Kconfig | 15 +--- drivers/firmware/Makefile | 3 +- drivers/firmware/psci/Kconfig | 13 ++++ drivers/firmware/psci/Makefile | 4 + drivers/firmware/{ => psci}/psci.c | 86 +++++++++++++--------- drivers/firmware/{ => psci}/psci_checker.c | 0 include/uapi/linux/psci.h | 5 ++ 8 files changed, 78 insertions(+), 50 deletions(-) create mode 100644 drivers/firmware/psci/Kconfig create mode 100644 drivers/firmware/psci/Makefile rename drivers/firmware/{ => psci}/psci.c (93%) rename drivers/firmware/{ => psci}/psci_checker.c (100%) -- 2.17.1