From: Gavin Shan <gshan@redhat.com>
To: linux-arm-kernel@lists.infradead.org
Cc: mark.rutland@arm.com, catalin.marinas@arm.com,
james.morse@arm.com, shan.gavin@gmail.com,
Jonathan.Cameron@huawei.com, will@kernel.org
Subject: Re: [PATCH v4 00/15] Refactor SDEI client driver
Date: Thu, 30 Jul 2020 18:03:50 +1000 [thread overview]
Message-ID: <b2aec752-abfd-e810-c838-511ed324f9b6@redhat.com> (raw)
In-Reply-To: <20200730014531.310465-1-gshan@redhat.com>
Hi James,
On 7/30/20 11:45 AM, Gavin Shan wrote:
> This series bases on 5.8-rc7 and refactors the SDEI client driver.
> It's the preparatory work of virtualizing SDEI afterwords. The series
> is organized as below:
>
> * PATCH[1-13] refactors and clean up the code. They shouldn't cause
> any functional changes.
> * PATCH[14-15] exposes "struct sdei_event", which will be dereferenced
> on virtualizing SDEI. After it's applied, the SDEI event is identified
> by the instance of "struct sdei_event" instead of event number.
>
> The series can be checked out from:
>
> git@github.com:gwshan/linux.git
> (branch: "sdei_client")
>
I'm not sure if you need to review it as Jonathan almost finishes the
review. It would be nice to get this merged in 5.9.rc1/rc2 since the
subsequent series to support SDEI virtualization, which depends on this
series.
Thanks in advance for your time and comments :)
> Testing
> =======
> I have the SDEI virtualization code implemented as part of KVM module.
> With that, the SDEI event can be registered/unregistered/enabled/disabled.
> Also, the SDEI event can be injected from host and the guest handler runs
> properly.
>
> The code can be found from:
>
> git@github.com:gwshan/linux.git
> (branch: "sdei")
>
> Changelog
> =========
> v4:
> Rebase to last upstream kernel (Gavin)
> Use @event_el for SDEI internal event and use @event to cache
> SDEI event if needed (Jonathan)
> Rename @se to @event for APIs (Jonathan)
> v3:
> Rebase to 5.8.rc7 (Gavin)
> Pick rbs from Jonathan (Gavin)
> Correct spellings in commit logs (Jonathan)
> Rename "out" to "unlock" tag (Jonathan)
> Keep the empty line in sdei_event_unregister() (Jonathan)
> Drop tabs between type and field for struct sdei_crosscall_args (Jonathan)
> Use smp_call_func_t for @fn argument in CPU callbacks (Jonathan)
> Split struct sdei_event into struct sdei_{internal,}_event (Jonathan)
> Remove last two patches and get it reviewed later (Jonathan)
> v2:
> Rebase to 5.8.rc6 (Gavin)
> Improved changelog (James/Gavin)
> Split patches for easy review (Gavin)
> Drop changes to reorder variables (James)
> Drop unnecessary (@regs removal) cleanup in sdei_event_create() (James)
> Fix broken case for device-tree in sdei_init() (James)
>
> Gavin Shan (15):
> drivers/firmware/sdei: Remove sdei_is_err()
> drivers/firmware/sdei: Common block for failing path in
> sdei_event_create()
> drivers/firmware/sdei: Retrieve event number from event instance
> drivers/firmware/sdei: Avoid nested statements in sdei_init()
> drivers/firmware/sdei: Unregister driver on error in sdei_init()
> drivers/firmware/sdei: Remove duplicate check in sdei_get_conduit()
> drivers/firmware/sdei: Remove Drop redundant error message in
> sdei_probe()
> drivers/firmware/sdei: Remove while loop in sdei_event_register()
> drivers/firmware/sdei: Remove while loop in sdei_event_unregister()
> drivers/firmware/sdei: Cleanup on cross call function
> drivers/firmware/sdei: Introduce sdei_do_local_call()
> drivers/firmware/sdei: Remove _sdei_event_register()
> drivers/firmware/sdei: Remove _sdei_event_unregister()
> drivers/firmware/sdei: Expose struct sdei_event
> drivers/firmware/sdei: Identify event by struct sdei_event
>
> drivers/firmware/arm_sdei.c | 459 +++++++++++++++++-------------------
> include/linux/arm_sdei.h | 16 +-
> 2 files changed, 231 insertions(+), 244 deletions(-)
>
Thanks,
Gavin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-30 8:05 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 1:45 [PATCH v4 00/15] Refactor SDEI client driver Gavin Shan
2020-07-30 1:45 ` [PATCH v4 01/15] drivers/firmware/sdei: Remove sdei_is_err() Gavin Shan
2020-07-30 1:45 ` [PATCH v4 02/15] drivers/firmware/sdei: Common block for failing path in sdei_event_create() Gavin Shan
2020-09-18 16:10 ` James Morse
2020-07-30 1:45 ` [PATCH v4 03/15] drivers/firmware/sdei: Retrieve event number from event instance Gavin Shan
2020-09-18 16:11 ` James Morse
2020-07-30 1:45 ` [PATCH v4 04/15] drivers/firmware/sdei: Avoid nested statements in sdei_init() Gavin Shan
2020-09-18 16:11 ` James Morse
2020-07-30 1:45 ` [PATCH v4 05/15] drivers/firmware/sdei: Unregister driver on error " Gavin Shan
2020-09-18 16:12 ` James Morse
2020-09-20 1:10 ` Gavin Shan
2020-07-30 1:45 ` [PATCH v4 06/15] drivers/firmware/sdei: Remove duplicate check in sdei_get_conduit() Gavin Shan
2020-09-18 16:12 ` James Morse
2020-07-30 1:45 ` [PATCH v4 07/15] drivers/firmware/sdei: Remove Drop redundant error message in sdei_probe() Gavin Shan
2020-09-18 16:12 ` James Morse
2020-07-30 1:45 ` [PATCH v4 08/15] drivers/firmware/sdei: Remove while loop in sdei_event_register() Gavin Shan
2020-09-18 16:13 ` James Morse
2020-09-20 2:18 ` Gavin Shan
2020-07-30 1:45 ` [PATCH v4 09/15] drivers/firmware/sdei: Remove while loop in sdei_event_unregister() Gavin Shan
2020-07-30 1:45 ` [PATCH v4 10/15] drivers/firmware/sdei: Cleanup on cross call function Gavin Shan
2020-09-18 16:13 ` James Morse
2020-07-30 1:45 ` [PATCH v4 11/15] drivers/firmware/sdei: Introduce sdei_do_local_call() Gavin Shan
2020-09-18 16:13 ` James Morse
2020-07-30 1:45 ` [PATCH v4 12/15] drivers/firmware/sdei: Remove _sdei_event_register() Gavin Shan
2020-09-18 16:14 ` James Morse
2020-07-30 1:45 ` [PATCH v4 13/15] drivers/firmware/sdei: Remove _sdei_event_unregister() Gavin Shan
2020-09-18 16:14 ` James Morse
2020-07-30 1:45 ` [PATCH v4 14/15] drivers/firmware/sdei: Expose struct sdei_event Gavin Shan
2020-07-30 10:54 ` Jonathan Cameron
2020-07-31 0:20 ` Gavin Shan
2020-09-18 16:15 ` James Morse
2020-09-20 2:42 ` Gavin Shan
2020-07-30 1:45 ` [PATCH v4 15/15] drivers/firmware/sdei: Identify event by " Gavin Shan
2020-07-30 8:03 ` Gavin Shan [this message]
2020-08-27 6:55 ` [PATCH v4 00/15] Refactor SDEI client driver Gavin Shan
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=b2aec752-abfd-e810-c838-511ed324f9b6@redhat.com \
--to=gshan@redhat.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=shan.gavin@gmail.com \
--cc=will@kernel.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).