From: cov@codeaurora.org (Christopher Covington)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] power: Add APM X-Gene system reboot driver
Date: Mon, 12 Aug 2013 11:21:29 -0400 [thread overview]
Message-ID: <5208FD79.4070307@codeaurora.org> (raw)
In-Reply-To: <20130809212849.GD12638@lizard.sbx05730.santaca.wayport.net>
On 08/09/2013 05:28 PM, Anton Vorontsov wrote:
> On Tue, Jul 02, 2013 at 02:38:58PM -0600, Loc Ho wrote:
>> power: Add APM X-Gene SoC system reboot driver. This driver handles only
>> system reboot. System shutdown is board specific and can be handled by board
>> driver or GPIO based shutdown driver.
>>
>> Signed-off-by: Loc Ho <lho@apm.com>
>> Signed-off-by: Feng Kan <fkan@apm.com>
>> Signed-off-by: Kumar Sankaran <ksankaran@apm.com>
>> ---
>
> The patch looks great, thanks for it! Just a few minor issues I noticed...
>
>> drivers/power/reset/Kconfig | 7 +++
>> drivers/power/reset/Makefile | 1 +
>> drivers/power/reset/xgene-reboot.c | 101 ++++++++++++++++++++++++++++++++++++
>> 3 files changed, 109 insertions(+), 0 deletions(-)
>> create mode 100755 drivers/power/reset/xgene-reboot.c
>>
>> diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
>> index 349e9ae..c41a7de 100644
>> --- a/drivers/power/reset/Kconfig
>> +++ b/drivers/power/reset/Kconfig
>> @@ -37,3 +37,10 @@ config POWER_RESET_VEXPRESS
>> help
>> Power off and reset support for the ARM Ltd. Versatile
>> Express boards.
>> +
>> +config POWER_RESET_XGENE
>> + bool
>> + default y if ARM64
>
> This is not good. You don't want to select the driver for all ARM64
> builds. I changed it to 'depends on' and made the driver optionally
> selectable.
I thought the desired default was to have a single arm64 kernel binary that
could run on all platforms.
>
>> + depends on POWER_RESET
>> + help
>> + Reboot support for the APM SoC X-Gene Eval boards.
[...]
Thanks,
Christopher
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.
WARNING: multiple messages have this Message-ID (diff)
From: Christopher Covington <cov@codeaurora.org>
To: Anton Vorontsov <anton@enomsg.org>
Cc: fkan@apm.com, Catalin.Marinas@arm.com,
devicetree-discuss@lists.ozlabs.org, Loc Ho <lho@apm.com>,
ksankaran@apm.com, dwmw2@infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] power: Add APM X-Gene system reboot driver
Date: Mon, 12 Aug 2013 11:21:29 -0400 [thread overview]
Message-ID: <5208FD79.4070307@codeaurora.org> (raw)
In-Reply-To: <20130809212849.GD12638@lizard.sbx05730.santaca.wayport.net>
On 08/09/2013 05:28 PM, Anton Vorontsov wrote:
> On Tue, Jul 02, 2013 at 02:38:58PM -0600, Loc Ho wrote:
>> power: Add APM X-Gene SoC system reboot driver. This driver handles only
>> system reboot. System shutdown is board specific and can be handled by board
>> driver or GPIO based shutdown driver.
>>
>> Signed-off-by: Loc Ho <lho@apm.com>
>> Signed-off-by: Feng Kan <fkan@apm.com>
>> Signed-off-by: Kumar Sankaran <ksankaran@apm.com>
>> ---
>
> The patch looks great, thanks for it! Just a few minor issues I noticed...
>
>> drivers/power/reset/Kconfig | 7 +++
>> drivers/power/reset/Makefile | 1 +
>> drivers/power/reset/xgene-reboot.c | 101 ++++++++++++++++++++++++++++++++++++
>> 3 files changed, 109 insertions(+), 0 deletions(-)
>> create mode 100755 drivers/power/reset/xgene-reboot.c
>>
>> diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
>> index 349e9ae..c41a7de 100644
>> --- a/drivers/power/reset/Kconfig
>> +++ b/drivers/power/reset/Kconfig
>> @@ -37,3 +37,10 @@ config POWER_RESET_VEXPRESS
>> help
>> Power off and reset support for the ARM Ltd. Versatile
>> Express boards.
>> +
>> +config POWER_RESET_XGENE
>> + bool
>> + default y if ARM64
>
> This is not good. You don't want to select the driver for all ARM64
> builds. I changed it to 'depends on' and made the driver optionally
> selectable.
I thought the desired default was to have a single arm64 kernel binary that
could run on all platforms.
>
>> + depends on POWER_RESET
>> + help
>> + Reboot support for the APM SoC X-Gene Eval boards.
[...]
Thanks,
Christopher
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.
next prev parent reply other threads:[~2013-08-12 15:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 20:38 [PATCH 0/2] power: Add APM X-Gene SoC system reboot driver Loc Ho
2013-07-02 20:38 ` Loc Ho
2013-07-02 20:38 ` [PATCH 1/2] power: Add APM X-Gene " Loc Ho
2013-07-02 20:38 ` Loc Ho
2013-07-02 20:38 ` [PATCH 2/2] power: arm64: Add DTS entry for APM X-Gene " Loc Ho
2013-07-02 20:38 ` Loc Ho
2013-08-09 21:31 ` Anton Vorontsov
2013-08-09 21:31 ` Anton Vorontsov
2013-08-09 22:37 ` Olof Johansson
2013-08-09 22:37 ` Olof Johansson
2013-08-09 21:28 ` [PATCH 1/2] power: Add APM X-Gene system " Anton Vorontsov
2013-08-09 21:28 ` Anton Vorontsov
2013-08-09 21:55 ` Stephen Boyd
2013-08-09 21:55 ` Stephen Boyd
2013-08-12 15:21 ` Christopher Covington [this message]
2013-08-12 15:21 ` Christopher Covington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5208FD79.4070307@codeaurora.org \
--to=cov@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.