Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562586

Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.

From Adrian Hunter <adrian.hunter@intel.com>
Newsgroups linux.kernel
Subject Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.
Date 2017-01-19 11:50 +0100
Message-ID <t1is1-qM-5@gated-at.bofh.it> (permalink)
References <sXYpP-6om-5@gated-at.bofh.it> <sXYpP-6om-3@gated-at.bofh.it> <sY0L0-7Ue-47@gated-at.bofh.it> <t0TjY-1fI-9@gated-at.bofh.it>
Organization Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki

Show all headers | View raw


On 18/01/17 09:57, Ritesh Harjani wrote:
> Hi Shawn,
> 
> On 1/10/2017 2:45 PM, Shawn Lin wrote:
>> On 2017/1/10 14:41, Ritesh Harjani wrote:
>>> From: Sahitya Tummala <stummala@codeaurora.org>
>>>
>>> Add new host operation ->platform_dumpregs to provide a
>>> mechanism through which host drivers can dump platform
>>> specific registers in addition to SDHC registers
>>> during error conditions.
>>>
>>
>> Although we have been preventing from adding new callback
>> for sdhci core, this one makes sense as there are more and more
>> vendor registers outside the scope of SDHCI spec.

We are not prevented from adding new callbacks, but they have to represent
logical functions not quirks.

This patch seems fine to me except the name "platform_dumpregs" because
"platform" doesn't mean "platform" here.  Just plain "dumpregs" is better.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback  support to sdhci_ops. Ritesh Harjani <riteshh@codeaurora.org> - 2017-01-18 09:00 +0100
  Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback  support to sdhci_ops. Adrian Hunter <adrian.hunter@intel.com> - 2017-01-19 11:50 +0100
    Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback  support to sdhci_ops. Ritesh Harjani <riteshh@codeaurora.org> - 2017-01-20 07:10 +0100

csiph-web