From patchwork Wed Mar 13 08:36:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 160206 Delivered-To: patches@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp14045703jad; Wed, 13 Mar 2019 01:37:06 -0700 (PDT) X-Received: by 2002:a2e:9204:: with SMTP id k4mr17998295ljg.0.1552466226013; Wed, 13 Mar 2019 01:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552466226; cv=none; d=google.com; s=arc-20160816; b=hrQYPAyjPPD9J0Bon0gY48IzluAQcPl9/9/oqaA07gJIzQkIUOplxkNEE+MHwz7ql5 CGu87fBqlrb+liepeGCnYscvoa75vFi32kE+j9VCP3cKOsxmM/6acGgHcCvJ7+pgY0fJ ygp9X7XWhR1gcriX+1OgO8ivYZJGh85XxVfhXE3fS5epXFy71ZXmgdfOcEASb5/kmI0O Nir5BBRjTgYwcix0v3tjOuvVZz5/zS+tReP7Dfw5iObYzLVwttNa6tRrcpBH59Ob9/wK tY9hHpOoGX8pyryp65Amce2sVl6E0oEj+ulsqnaw4VGdFS5cODmTi5MzEUSgbsvp2OGs X/Ag== 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=MZr2k6g6z4ZB9yvwqMfa1ceioBU+Gv/DqU6UlU5ofaA=; b=zvE+TZbeuMUmia5bVB7iq60qNGL5zBGpCFVMUn4mkBoqpnAjEEkLxgAdP0pYCEwT8l MVL4QeBH5z0CCndciBVSbxOAIh3TARbudwis/G+IH+AyIOUOhlUuBsl/1BWeSP6hWsOv EoMq5b2KM+Y6izuhEaQ/WicyMVL0m6xYG1bqF3kOTapzLV5bAFAXVTDRq7iwM1qc5g0q KHI1no8MyU5gsLoQkIRvb7X4sPGa0HWnHwDlSnOyj2Knk4J28PwbOHnyNXdPQULwQ/kT cSI5m9wDyKJlDNNKXV72twOrVBMmvFSGCqpDBXoQpVSvSkWS1vOxrIskKKrHXPAx0+Bk TI9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zoPhSAd7; 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 s2sor6359595ljg.14.2019.03.13.01.37.05 for (Google Transport Security); Wed, 13 Mar 2019 01:37:05 -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=zoPhSAd7; 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=MZr2k6g6z4ZB9yvwqMfa1ceioBU+Gv/DqU6UlU5ofaA=; b=zoPhSAd7OoYkC5voyrY3MdAM6iAYeQDAgMS6D2qiIr5+cSETkWBwfIOgdhZd860HdC TZ5DmkDBh1POBC44WWhdWNLjo56YNRNWFb9t44Z/4ggzIODvDyXvLbN2KSoqxQvg+JFd DukJUolF73y92LcLiNjHihva7L/2TcCHscIJEYEsCVOB9lwMhiyhcpb3byZ1yTpE7Biu qjnwW4id4UiCwqQCzJ+HZDmUhTccmbDHoUEYPotPe7/WiGX8xZTmyKNnNewRby53xpFR 6lb5De/adP3z8h5ibAfhJuTUvbN6SUq4qWJQXX2Op5XRYesqZZFkbHqF9W8qNbrSa7IK KT5w== 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=MZr2k6g6z4ZB9yvwqMfa1ceioBU+Gv/DqU6UlU5ofaA=; b=VTckP+j3XyFiYMM/65oIi2Uza9zBtNoHLko/FCCDy5Is4xgtm8093msp+lOQd+njzN T0XryIzhJTMqi92GbNLCrmSp8qjv8C/5Rq0beWiJSG8zuMfJvE0ElRsfo4sDJ0bB+zYP JUSdrfxvIcVrTrKEnuleAiuoM4oScMlhdVObGFgC+Um6daNk748xs3NdnNVUdcII0WRF oXp/OlzkMZhgW6SS52qarhnm/fc1kU7pQazD89xUr4Ta8GBoF51pvjDUrcYp6D8x1w1M ocgRP0No69Lmk3dsy8m9pnBtV+hmtSjlvThy9/2MS30flZI+VWMuObJGj5IwxjpwJTcl Fa4Q== X-Gm-Message-State: APjAAAWiy03rU1fN6DCfv2Kmzcn4/lRrjBFaE1feAIapbxnsmaCbNOcW DBBH4teBw5AxaDnmgsZCrPqnhDm3 X-Google-Smtp-Source: APXvYqwBB+MaFhXAmFaMUJgFRfuaC5Yh0EpcDTxBxyCaq0J809QCfbG4/wEr1kFv+duGt0WAVLmUvQ== X-Received: by 2002:a2e:2202:: with SMTP id i2mr21301786lji.170.1552466225468; Wed, 13 Mar 2019 01:37:05 -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 a23sm1707716ljd.20.2019.03.13.01.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2019 01:37:04 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , Lorenzo Pieralisi Cc: Sudeep Holla , Mark Rutland , Daniel Lezcano , Lina Iyer , Ulf Hansson , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] drivers: firmware: psci: Some cleanup and refactoring Date: Wed, 13 Mar 2019 09:36:54 +0100 Message-Id: <20190313083659.7100-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 Changes in v2: - Drop two patches from the series. - Added acks and other tags, no other changes. 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. Rafael, discussions between me and Lorenzo for v1 concluded that these are ready to be queued for v5.2 - and if possible, we would like this to go via your linux-pm tree. Can you please pick it up? Kind regards Ulf Hansson [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