Re: [PATCH 00/15] KVM: x86: Introduce new ioctl KVM_TRANSLATE2

2024-12-11 Thread Sean Christopherson
On Tue, Sep 10, 2024, Nikolas Wipper wrote: > This series introduces a new ioctl KVM_TRANSLATE2, which expands on > KVM_TRANSLATE. It is required to implement Hyper-V's > HvTranslateVirtualAddress hyper-call as part of the ongoing effort to > emulate HyperV's Virtual Secure Mode (VSM) within KVM an

Re: [PATCH 14/15] KVM: x86: Implement KVM_TRANSLATE2

2024-12-11 Thread Sean Christopherson
On Tue, Sep 10, 2024, Nikolas Wipper wrote: > +int kvm_arch_vcpu_ioctl_translate2(struct kvm_vcpu *vcpu, > + struct kvm_translation2 *tr) > +{ > + int idx, set_bit_mode = 0, access = 0; > + struct x86_exception exception = { }; > + gva_t vaddr = tr->linea

Re: [PATCH v4 0/9] mm: workingset reporting

2024-12-11 Thread SeongJae Park
On Fri, 6 Dec 2024 11:57:55 -0800 Yuanchu Xie wrote: > Thanks for the response Johannes. Some replies inline. > > On Tue, Nov 26, 2024 at 11:26\u202fPM Johannes Weiner > wrote: > > > > On Tue, Nov 26, 2024 at 06:57:19PM -0800, Yuanchu Xie wrote: > > > This patch series provides workingset repo

Re: [PATCH v3 2/9] arm64/sysreg: Update ID_AA64ISAR3_EL1 to DDI0601 2024-09

2024-12-11 Thread Will Deacon
On Tue, Dec 10, 2024 at 06:43:05PM +, Mark Brown wrote: > On Tue, Dec 10, 2024 at 05:09:55PM +, Will Deacon wrote: > > > Can we _please_ just generate this stuff. It feels like we've been > > making silly typos over and over again with the current approach so > > either it's hard or we're

RE: [PATCH v2 12/13] iommu/arm-smmu-v3: Introduce struct arm_smmu_vmaster

2024-12-11 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > Use it to store all vSMMU-related data. The vsid (Virtual Stream ID) will > be the first use case. Then, add a rw_semaphore to protect it. > > Also add a pair of arm_smmu_attach_prepare/commit_vmaster helpers and > put > them i

RE: [PATCH v2 13/13] iommu/arm-smmu-v3: Report IRQs that belong to devices attached to vIOMMU

2024-12-11 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > + > +/** > + * struct iommu_virq_arm_smmuv3 - ARM SMMUv3 Virtual IRQ > + *(IOMMU_VIRQ_TYPE_ARM_SMMUV3) > + * @evt: 256-bit ARM SMMUv3 Event record, little-endian. > + * > + * StreamID field report

RE: [PATCH v2 11/13] Documentation: userspace-api: iommufd: Update EVENTQ_IOPF and EVENTQ_VIRQ

2024-12-11 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > With the introduction of the new objects, update the doc to reflect that. > > Signed-off-by: Nicolin Chen > --- > Documentation/userspace-api/iommufd.rst | 19 +++ > 1 file changed, 19 insertions(+) > > diff

RE: [PATCH v2 06/13] iommufd/viommu: Add iommufd_viommu_get_vdev_id helper

2024-12-11 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > +/* Return 0 if device is not associated to the vIOMMU */ > +unsigned long iommufd_viommu_get_vdev_id(struct iommufd_viommu > *viommu, > + struct device *dev) > +{ > + struct iommufd_vdev

RE: [PATCH v2 07/13] iommufd/viommu: Add iommufd_viommu_report_irq helper

2024-12-11 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > +/* Typically called in driver's threaded IRQ handler */ > +int iommufd_viommu_report_irq(struct iommufd_viommu *viommu, > unsigned int type, > + void *irq_ptr, size_t irq_len) > +{ > + struct iommu

Re: [PATCH v6 28/28] ntsync: No longer depend on BROKEN.

2024-12-11 Thread Arnd Bergmann
On Thu, Dec 12, 2024, at 05:52, kernel test robot wrote: > Hi Elizabeth, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on cdd30ebb1b9f36159d66f088b61aee264e649d7a] > > url: > https://github.com/intel-lab-lkp/linux/commits/Elizabeth-Figura/ntsync-Introduce-

Re: [PATCH v6 28/28] ntsync: No longer depend on BROKEN.

2024-12-11 Thread kernel test robot
Hi Elizabeth, kernel test robot noticed the following build errors: [auto build test ERROR on cdd30ebb1b9f36159d66f088b61aee264e649d7a] url: https://github.com/intel-lab-lkp/linux/commits/Elizabeth-Figura/ntsync-Introduce-NTSYNC_IOC_WAIT_ANY/20241210-031155 base: cdd30ebb1b9f36159d66f088b6