mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Siddharth Chintamaneni" <sidchintamaneni@gmail.com>,
	"Fuad Tabba" <fuad.tabba@linux.dev>
Cc: "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, rlmenge@gmail.com,
	hargar@linux.microsoft.com, kvmarm@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] KVM: arm64: Hide FEAT_LS64_ACCDATA from guests
Date: Fri, 13 Nov 2026 10:18:10 +0100	[thread overview]
Message-ID: <0a5e252e-1494-4b0f-a761-d984238c9d0d@app.fastmail.com> (raw)
In-Reply-To: <20261112180741.17614-1-sidchintamaneni@gmail.com>

On Thu, Nov 12, 2026, at 19:07, Siddharth Chintamaneni wrote:
> On Tue, Oct 27, 2026 at 02:48:29PM +0100, Arnd Bergmann wrote:
>> On Sat, Oct 24, 2026, at 09:14, Fuad Tabba wrote:
>> > On a host that runs at EL1 (nVHE or hVHE), this also requires
>> > __init_el2_fgt to set nACCDATA_EL1 in HFGRTR_EL2 and HFGWTR_EL2, and
>> > __init_el2_hcrx to set HCRX_EL2.EnAS0. Without them, the ACCDATA_EL1
>> > access traps to EL2 and the hypervisor panics, and so does ST64BV0
>> > once SCTLR_EL1.EnAS0 is set. Happy to write those and the KVM change
>> > once you're ready to post this.
>>
>> Thanks for the offer, that part is definitely not my area.
>
> We are preparing to post the Microsoft Smart Data Accelerator (SDA) VF
> dmaengine driver for Microsoft Cobalt SoCs, which uses IOMMU SVA with
> direct EL0 ST64BV0 portal submissions carrying the process PASID in
> ACCDATA_EL1.
>
> Now that Fuad's KVM guest FEAT_LS64_ACCDATA series is queued, are you
> planning to post the host ST64BV0 SVA + EL2/KVM patches as a standalone
> series soon?

Yes, sorry for the delay on my side, I'll try to get it to you ASAP.

For my understanding of your requirements:

- Is that hardware using an SMMUv3 or a different type of IOMMU?
- Do you have userspace calling ST64BV0 on the host, guest or possibly both?

> Either way, we have Cobalt hardware with FEAT_LS64_ACCDATA available and
> would be happy to test your patches on silicon, or help put together and
> carry any remaining pieces alongside our driver series if you prefer.

Sounds good, thanks!

    Arnd

  reply	other threads:[~2026-11-13  9:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-23  7:01 [PATCH 0/2] KVM: arm64: Stop advertising FEAT_LS64_ACCDATA to guests Fuad Tabba
2026-10-23  7:01 ` [PATCH 1/2] KVM: arm64: Hide FEAT_LS64_ACCDATA from guests Fuad Tabba
2026-10-23  8:31   ` Marc Zyngier
2026-10-23  9:08     ` Fuad Tabba
2026-10-23 10:28       ` Marc Zyngier
2026-10-23 10:37         ` Fuad Tabba
2026-10-23 14:10           ` Arnd Bergmann
2026-10-24  7:14             ` Fuad Tabba
2026-10-27 13:48               ` Arnd Bergmann
2026-11-12 18:07                 ` Siddharth Chintamaneni
2026-11-13  9:18                   ` Arnd Bergmann [this message]
2026-10-23  7:01 ` [PATCH 2/2] KVM: arm64: selftests: Test ID_AA64ISAR1_EL1.LS64 on its own Fuad Tabba

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=0a5e252e-1494-4b0f-a761-d984238c9d0d@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=apais@microsoft.com \
    --cc=catalin.marinas@arm.com \
    --cc=fuad.tabba@linux.dev \
    --cc=hargar@linux.microsoft.com \
    --cc=joey.gouly@arm.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --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=rlmenge@gmail.com \
    --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®