mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Siddharth Chintamaneni" <sidchintamaneni@gmail.com>,
	"Arnd Bergmann" <arnd@kernel.org>
Cc: "Fuad Tabba" <fuad.tabba@linux.dev>,
	"Marc Zyngier" <maz@kernel.org>,
	"Oliver Upton" <oupton@kernel.org>,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	"Will Deacon" <will@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Suzuki K Poulose" <suzuki.poulose@arm.com>,
	"Joey Gouly" <joey.gouly@arm.com>,
	"Zenghui Yu" <yuzenghui@huawei.com>,
	"Steffen Eiden" <seiden@linux.ibm.com>,
	"Yicong Yang" <yangyicong@hisilicon.com>,
	"Zhou Wang" <wangzhou1@hisilicon.com>,
	"Navneet Singh" <navneetsingh@microsoft.com>,
	apais@microsoft.com, hargar@linux.microsoft.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] arm64: add HWCAP3_LS64_ACCDATA
Date: Wed, 25 Nov 2026 17:19:27 +0100	[thread overview]
Message-ID: <e911434a-6b31-4889-b789-79b132e4f067@app.fastmail.com> (raw)
In-Reply-To: <CAE5sdEgMSSAnZ+XM+03BfRS4_nZDxcp0hGMPJJWCa0PcGwNwDA@mail.gmail.com>

On Sun, Nov 22, 2026, at 20:42, Siddharth Chintamaneni wrote:
> On Tue, 17 Nov 2026 at 14:22, Arnd Bergmann <arnd@kernel.org> wrote:
>>
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> LS64_ACCDATA extends the LS64 feature with the user-space ls64bv0 instruction
>> and the EL1 ACCDATA register. Like LS64, it was added with Armv8.7, and it
>> roughly corresponds to the 'enqcmd' feature for shared hardware workqueues
>> on x86 CPUs as described in the kernel's SVA documentation. [1]
>
>
> A few small notes on this patch (the first three were also highlighted by the
> Sashiko review [1]):
>
> - Nit: s/ls64bv0/st64bv0/ in the commit message.

Fixed.

> - Should this come as Patch 2/2 after enabling st64bv0 in the kernel so
>   HWCAP3_LS64_ACCDATA is not advertised to userspace at an intermediate
>   commit?

Right, makes sense.

>> @@ -158,6 +158,7 @@ static const char *const hwcap_str[] = {
>>         [KERNEL_HWCAP_F16F32DOT]        = "f16f32dot",
>>         [KERNEL_HWCAP_F16F32MM]         = "f16f32mm",
>>         [KERNEL_HWCAP_SVE_LUT6]         = "svelut6",
>> +       [KERNEL_HWCAP_LS64_ACCDATA]     = "ls64_accdata",
>
> should we drop underscore to maintain consistency?

makes sense, done.

Thanks a lot!

     arnd

  reply	other threads:[~2026-11-25 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 22:22 [PATCH 0/2] st64bv0 support in iommu-sva Arnd Bergmann
2026-11-17 22:22 ` [PATCH 1/2] arm64: add HWCAP3_LS64_ACCDATA Arnd Bergmann
2026-11-22 19:42   ` Siddharth Chintamaneni
2026-11-25 16:19     ` Arnd Bergmann [this message]
2026-11-17 22:22 ` [PATCH 2/2] arm64: dynamically enable st64bv0 for SVA Arnd Bergmann
2026-11-22 19:51   ` Siddharth Chintamaneni
2026-11-18 23:47 ` [PATCH 0/2] st64bv0 support in iommu-sva Siddharth Chintamaneni

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=e911434a-6b31-4889-b789-79b132e4f067@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=apais@microsoft.com \
    --cc=arnd@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=fuad.tabba@linux.dev \
    --cc=hargar@linux.microsoft.com \
    --cc=joey.gouly@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=navneetsingh@microsoft.com \
    --cc=oupton@kernel.org \
    --cc=seiden@linux.ibm.com \
    --cc=sidchintamaneni@gmail.com \
    --cc=suzuki.poulose@arm.com \
    --cc=wangzhou1@hisilicon.com \
    --cc=will@kernel.org \
    --cc=yangyicong@hisilicon.com \
    --cc=yuzenghui@huawei.com \
    /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

all inboxes | Powered by JetHome®