linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lho@apm.com (Loc Ho)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding
Date: Mon, 4 May 2015 16:39:36 -0700	[thread overview]
Message-ID: <CAPw-ZT=YH8faa4_iWfpwOkbxeVDeDNqpJqnOcfnov3s1ianq1w@mail.gmail.com> (raw)
In-Reply-To: <CAL_JsqLyyBCd3DcwjWw57XCQ0fEWHXo_0dkWeBo=TVDoXM_zhQ@mail.gmail.com>

Hi,

On Mon, May 4, 2015 at 3:36 PM, Rob Herring <robherring2@gmail.com> wrote:
> On Fri, May 1, 2015 at 2:59 PM, Loc Ho <lho@apm.com> wrote:
>> Hi Rob,
>>
>>>>>> I think we should first agreed on the DT binding and let's not worry
>>>>>> about APEI. Then, whether we have one file or multiple file. Again,
>>>>>> the HW consist of:
>>>>>>
>>>>>> 1. One top level interrupt and status registers
>>>
>>> For these registers, are there ECC specific functions here or just
>>> normal interrupt control/status bits (mask/unmask/status)? Assuming
>>> the later, then you should make this block an interrupt-controller.
>>> Then this is the interrupt-parent for the rest of the blocks.
>>>
>>
>> This is the only item remain before I generate an patch with just the
>> memory controller. Most of the code that I see are actually an
>> interrupt controller HW. As it is just an interrupt mask and status
>> registers, is there an example in Linux that I can model after? Also,
>> I am not quite convince as to why we can't just share the interrupt
>> and request it by each memory controller?
>
> Pretty much anything that calls irq_set_chained_handler. If you don't
> need to touch the shared registers and can set them up once at boot
> time, then you could just do shared irq handlers. But if you have to
> clear the interrupt within the PCP, you need a demuxer.
>

Thanks Rob. I look through the entire driver. Interrupts are cleared
at the source. Therefore, the next version will just register for the
shared interrupt as it is currently.

-Loc

  reply	other threads:[~2015-05-04 23:39 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 22:10 [PATCH v7 0/4] edac: Add APM X-Gene SoC EDAC driver Loc Ho
2015-04-28 22:10 ` [PATCH v7 1/5] arm64: Enable EDAC on ARM64 Loc Ho
2015-04-28 22:10   ` [PATCH v7 2/5] MAINTAINERS: Add entry for APM X-Gene SoC EDAC driver Loc Ho
2015-04-28 22:10     ` [PATCH v7 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding Loc Ho
2015-04-28 22:10       ` [PATCH v7 4/5] edac: Add APM X-Gene SoC EDAC driver Loc Ho
2015-04-28 22:10         ` [PATCH 5/5] arm64: Add APM X-Gene SoC EDAC DTS entries Loc Ho
2015-04-29  8:49         ` [PATCH v7 4/5] edac: Add APM X-Gene SoC EDAC driver Arnd Bergmann
2015-04-29 16:57           ` Rob Herring
2015-04-29 18:23             ` Arnd Bergmann
2015-04-29 17:00         ` Rob Herring
2015-04-29 16:47       ` [PATCH v7 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding Rob Herring
2015-04-29 21:33         ` Loc Ho
2015-04-29 21:49           ` Borislav Petkov
2015-04-29 21:56             ` Loc Ho
2015-04-29 22:08               ` Borislav Petkov
2015-04-29 22:20                 ` Loc Ho
2015-04-29 23:02                 ` Rob Herring
2015-04-30  8:20                   ` Borislav Petkov
2015-04-30  8:31                     ` Arnd Bergmann
2015-04-30  8:45                       ` Borislav Petkov
2015-04-30  9:01                         ` Arnd Bergmann
2015-04-30  9:41                           ` Borislav Petkov
2015-04-30 10:21                             ` Arnd Bergmann
2015-04-30 12:33                               ` Borislav Petkov
2015-04-30 12:52                                 ` Arnd Bergmann
2015-04-30 10:42                             ` Arnd Bergmann
2015-04-30 13:00                               ` Borislav Petkov
2015-04-30 16:57                                 ` Loc Ho
2015-04-30 17:18                                   ` Borislav Petkov
2015-04-30 21:19                                     ` Loc Ho
2015-04-30 21:30                                       ` Borislav Petkov
2015-04-30 21:39                                         ` Loc Ho
2015-04-30 22:36                                       ` Rob Herring
2015-04-30 22:47                                         ` Arnd Bergmann
2015-05-01  6:44                                           ` Loc Ho
2015-04-30 22:59                                         ` Loc Ho
2015-05-01 19:59                                         ` Loc Ho
2015-05-04 22:36                                           ` Rob Herring
2015-05-04 23:39                                             ` Loc Ho [this message]
2015-04-29 22:43               ` Rob Herring
2015-04-30  0:47                 ` Loc Ho
2015-04-29 14:40   ` [PATCH v7 1/5] arm64: Enable EDAC on ARM64 Catalin Marinas
2015-04-29 14:46     ` Jon Masters
2015-04-29 21:39     ` Loc Ho

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='CAPw-ZT=YH8faa4_iWfpwOkbxeVDeDNqpJqnOcfnov3s1ianq1w@mail.gmail.com' \
    --to=lho@apm.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).