[PATCH 2/5] arm64: Add support for FEAT_{LS64, LS64_V, LS64_ACCDATA}

2024-12-02 Thread Yicong Yang
From: Yicong Yang Armv8.7 introduces single-copy atomic 64-byte loads and stores instructions and its variants named under FEAT_{LS64, LS64_V, LS64_ACCDATA}. These features are identified by ID_AA64ISAR1_EL1.LS64 and the use of such instructions in userspace (EL0) can be trapped. In order to supp

[PATCH 1/5] arm64: Provide basic EL2 setup for FEAT_{LS64, LS64_V, LS64_ACCDATA} usage at EL0/1

2024-12-02 Thread Yicong Yang
From: Yicong Yang Instructions introduced by FEAT_{LS64, LS64_V, LS64_ACCDATA} is controlled by HCRX_EL2.{EnALS, EnASR, EnAS0}. Additionally access of ACCDATA_EL1 for FEAT_LS64_ACCDATA is also affected by FGT. Configure all of these to allow usage at EL0/1. This doesn't mean these instructions a

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Thorsten Leemhuis
On 02.12.24 15:45, Mauro Carvalho Chehab wrote: > Em Mon, 2 Dec 2024 14:54:56 +0100 > Thorsten Leemhuis escreveu: > >> On 02.12.24 11:02, Mauro Carvalho Chehab wrote: >>> Em Mon, 2 Dec 2024 09:28:57 +0100 >>> Mauro Carvalho Chehab escreveu: >>> > +Tagging people requires permission >

Re: [PATCH v2 0/3] Make Helped-by tag supported

2024-12-02 Thread Dragan Simic
On 2024-11-09 04:10, Dragan Simic wrote: On 2024-11-08 20:12, Dan Williams wrote: Dragan Simic wrote: I'm fully aware that we may be reluctant to supporting additional tags, because we may then end up with a whole bunch of strange tags that might be a bit hard to understand and use properly,

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Dec 2024 16:54:49 +0100 Thorsten Leemhuis escreveu: > On 02.12.24 15:45, Mauro Carvalho Chehab wrote: > > Em Mon, 2 Dec 2024 14:54:56 +0100 > > Thorsten Leemhuis escreveu: > > > >> On 02.12.24 11:02, Mauro Carvalho Chehab wrote: > >>> Em Mon, 2 Dec 2024 09:28:57 +0100 > >>> Mauro

Re: [PATCH v3 2/3] docs: media: document media multi-committers rules and process

2024-12-02 Thread Sakari Ailus
Hi Mauro, On Mon, Dec 02, 2024 at 10:26:20AM +0100, Mauro Carvalho Chehab wrote: > As the media subsystem will experiment with a multi-committers model, > update the Maintainer's entry profile to the new rules, and add a file > documenting the process to become a committer and to maintain such > r

[PATCH v3 2/3] docs: media: document media multi-committers rules and process

2024-12-02 Thread Mauro Carvalho Chehab
As the media subsystem will experiment with a multi-committers model, update the Maintainer's entry profile to the new rules, and add a file documenting the process to become a committer and to maintain such rights. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Hans Verkuil Reviewed-by: Ri

[PATCH v3 0/3] Document the new media-committer's model

2024-12-02 Thread Mauro Carvalho Chehab
The media subsystem used to have a multi-commiter's model in the past, but things didn't go well on that time, and we had to move to a centralized model. As the community has evolved, and as there are now new policies in place like CoC, let's experiment with a multi-committers again. The model we

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Dec 2024 09:28:57 +0100 Mauro Carvalho Chehab escreveu: > > +Tagging people requires permission > > +-- > > + > > +Be careful in the addition of tags to your patches, as all except for Cc:, > > +Reported-by:, and Suggested-by: need explicit permission of

Re: [PATCH] docs: media: document media multi-committers rules and process

2024-12-02 Thread Laurent Pinchart
Hi Mauro, On Fri, Nov 29, 2024 at 11:29:52AM +0100, Mauro Carvalho Chehab wrote: > Em Thu, 28 Nov 2024 21:07:07 +0200 Laurent Pinchart escreveu: > > > > With that in mind, every committer has duties of reviewing other > > > developer's patches submitted for the drivers that they're listed as > >

Re: [PATCH v2 0/3] Make Helped-by tag supported

2024-12-02 Thread Matthew Wilcox
On Mon, Dec 02, 2024 at 04:00:47PM +0100, Dragan Simic wrote: > On 2024-11-09 04:10, Dragan Simic wrote: > > On 2024-11-08 20:12, Dan Williams wrote: > > > Dragan Simic wrote: > > > > I'm fully aware that we may be reluctant to supporting > > > > additional tags, > > > > because we may then end up

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Thorsten Leemhuis
On 02.12.24 11:02, Mauro Carvalho Chehab wrote: > Em Mon, 2 Dec 2024 09:28:57 +0100 > Mauro Carvalho Chehab escreveu: > >>> +Tagging people requires permission >>> +-- >>> + >>> +Be careful in the addition of tags to your patches, as all except for Cc:, >>> +Report

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Dec 2024 14:54:56 +0100 Thorsten Leemhuis escreveu: > On 02.12.24 11:02, Mauro Carvalho Chehab wrote: > > Em Mon, 2 Dec 2024 09:28:57 +0100 > > Mauro Carvalho Chehab escreveu: > > > >>> +Tagging people requires permission > >>> +-- > >>> + > >>> +Be c

[PATCH 4/5] arm64: Add ESR.DFSC definition of unsupported exclusive or atomic access

2024-12-02 Thread Yicong Yang
From: Yicong Yang 0x35 indicates IMPLEMENTATION DEFINED fault for Unsupported Exclusive or Atomic access. Add ESR_ELx_FSC definition and corresponding wrapper. Signed-off-by: Yicong Yang --- arch/arm64/include/asm/esr.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/inc

[PATCH 5/5] KVM: arm64: Handle DABT caused by LS64* instructions on unsupported memory

2024-12-02 Thread Yicong Yang
From: Yicong Yang FEAT_LS64* instructions only support to access Device/Uncacheable memory, otherwise a data abort for unsupported Exclusive or atomic access (0x35) is generated per spec. It's implementation defined whether the target exception level is routed and is possible to implemented as ro

[PATCH 0/5] Add support for FEAT_{LS64, LS64_V, LS64_ACCDATA} and related tests

2024-12-02 Thread Yicong Yang
From: Yicong Yang Armv8.7 introduces single-copy atomic 64-byte loads and stores instructions and its variants named under FEAT_{LS64, LS64_V, LS64_ACCDATA}. Add support for Armv8.7 FEAT_{LS64, LS64_V, LS64_ACCDATA}: - Add identifying and enabling in the cpufeature list - Expose the support of th

Re: [PATCH v3 0/3] Document the new media-committer's model

2024-12-02 Thread Hans Verkuil
On 02/12/2024 10:26, Mauro Carvalho Chehab wrote: > The media subsystem used to have a multi-commiter's model in the > past, but things didn't go well on that time, and we had to move to > a centralized model. > > As the community has evolved, and as there are now new policies in > place like CoC,

[PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Thorsten Leemhuis
Point out that explicit permission is usually needed to tag other people in changes, but mention that implicit permission can be sufficient in certain cases. This fixes slight inconsistencies between Reported-by: and Suggested-by: and makes the usage more intuitive. While at it, explicitly mention

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Dec 2024 09:14:19 +0100 Thorsten Leemhuis escreveu: > Point out that explicit permission is usually needed to tag other people > in changes, but mention that implicit permission can be sufficient in > certain cases. This fixes slight inconsistencies between Reported-by: > and Suggested

[PATCH v3] docs: 5.Posting: mentioned Suggested-by: tag

2024-12-02 Thread Thorsten Leemhuis
Mention the Suggested-by: tag in 5.Posting.rst in a way similar to submitting-patches.rst, which according to the header of the latter is the less detailed document of the two. Reviewed-by: Greg Kroah-Hartman Signed-off-by: Thorsten Leemhuis --- v3: - first version, split out from another patch-

[PATCH 3/5] kselftest/arm64: Add HWCAP test for FEAT_{LS64, LS64_V, LS64_ACCDATA}

2024-12-02 Thread Yicong Yang
From: Yicong Yang Add tests for FEAT_{LS64, LS64_V, LS64_ACCDATA}. Issue related instructions if feature presents, no SIGILL should be received. Since such instructions can only operate on Device memory or non-cacheable memory, we may received a SIGBUS during the test. Just ignore it since we onl

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Thorsten Leemhuis
On 02.12.24 17:17, Mauro Carvalho Chehab wrote: > Em Mon, 2 Dec 2024 16:54:49 +0100 > Thorsten Leemhuis escreveu: >> On 02.12.24 15:45, Mauro Carvalho Chehab wrote: >>> Em Mon, 2 Dec 2024 14:54:56 +0100 >>> Thorsten Leemhuis escreveu: On 02.12.24 11:02, Mauro Carvalho Chehab wrote: > E

Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people

2024-12-02 Thread Mauro Carvalho Chehab
Em Tue, 3 Dec 2024 07:25:43 +0100 Thorsten Leemhuis escreveu: > On 02.12.24 17:17, Mauro Carvalho Chehab wrote: > > Em Mon, 2 Dec 2024 16:54:49 +0100 > > Thorsten Leemhuis escreveu: > >> On 02.12.24 15:45, Mauro Carvalho Chehab wrote: > >>> Em Mon, 2 Dec 2024 14:54:56 +0100 > >>> Thorsten Le

Re: [PATCH v3 2/3] docs: media: document media multi-committers rules and process

2024-12-02 Thread Hans Verkuil
On 02/12/2024 10:26, Mauro Carvalho Chehab wrote: > As the media subsystem will experiment with a multi-committers model, > update the Maintainer's entry profile to the new rules, and add a file > documenting the process to become a committer and to maintain such > rights. > > Signed-off-by: Mauro

Re: [PATCH v3 0/3] Document the new media-committer's model

2024-12-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Dec 2024 16:03:45 +0100 Hans Verkuil escreveu: > On 02/12/2024 10:26, Mauro Carvalho Chehab wrote: > > The media subsystem used to have a multi-commiter's model in the > > past, but things didn't go well on that time, and we had to move to > > a centralized model. > > > > As the commun