Re: [PATCH 0/5] riscv: add support for Zaamo and Zalrsc extensions

2024-12-18 Thread Anup Patel
Hi Palmer, On Wed, Jun 19, 2024 at 9:11 PM Clément Léger wrote: > > Since commit e87412e621f1 ("integrate Zaamo and Zalrsc text (#1304)"), > the A extension has been described as a set of instructions provided by > Zaamo and Zalrsc. Add these two extensions. > > This series is based on the Zc one

Re: [PATCH 5/5] KVM: riscv: selftests: Add Zaamo/Zalrsc extensions to get-reg-list test

2024-12-18 Thread Anup Patel
On Wed, Jun 19, 2024 at 9:11 PM Clément Léger wrote: > > The KVM RISC-V allows Zaamo/Zalrsc extensions for Guest/VM so add these > extensions to get-reg-list test. > > Signed-off-by: Clément Léger LGTM. Reviewed-by: Anup Patel Regards, Anup > --- > tools/testing/selftests/kvm/riscv/get-reg-

Re: [PATCH 4/5] RISC-V: KVM: Allow Zaamo/Zalrsc extensions for Guest/VM

2024-12-18 Thread Anup Patel
On Wed, Jun 19, 2024 at 9:11 PM Clément Léger wrote: > > Extend the KVM ISA extension ONE_REG interface to allow KVM user space > to detect and enable Zaamo/Zalrsc extensions for Guest/VM. > > Signed-off-by: Clément Léger LGTM. Reviewed-by: Anup Patel Regards, Anup > --- > arch/riscv/includ

Re: [PATCH v3 07/14] iommufd/viommu: Add iommufd_viommu_get_vdev_id helper

2024-12-18 Thread Nicolin Chen
On Thu, Dec 19, 2024 at 10:05:53AM +0800, Baolu Lu wrote: > On 12/18/24 13:00, Nicolin Chen wrote: > > This is a reverse search v.s. iommufd_viommu_find_dev, as drivers may want > > to convert a struct device pointer (physical) to its virtual device ID for > > an event injection to the user space V

Re: [PATCH v3 07/14] iommufd/viommu: Add iommufd_viommu_get_vdev_id helper

2024-12-18 Thread Baolu Lu
On 12/18/24 13:00, Nicolin Chen wrote: This is a reverse search v.s. iommufd_viommu_find_dev, as drivers may want to convert a struct device pointer (physical) to its virtual device ID for an event injection to the user space VM. Again, this avoids exposing more core structures to the drivers, t

Re: [RFC] git-disambiguate: disambiguate shorthand git ids

2024-12-18 Thread Kees Cook
On Wed, Dec 18, 2024 at 06:36:13PM -0500, Sasha Levin wrote: > Sometimes long commit hashes can be ambiguous even when providing > several digits from its abbreviation. For testing, please see: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=dev/collide/v6.13-rc2/12-char >

[RFC] git-disambiguate: disambiguate shorthand git ids

2024-12-18 Thread Sasha Levin
Sometimes long commit hashes can be ambiguous even when providing several digits from its abbreviation. Add a script that resolves such ambiguity by also considering the commit subject line. This also allows users to use shorter commit ID prefixes than normally required, since we can correctly id

Re: [PATCH v4 19/25] proc/task_mmu: Ignore ZONE_DEVICE pages

2024-12-18 Thread Alistair Popple
On Tue, Dec 17, 2024 at 11:31:25PM +0100, David Hildenbrand wrote: > On 17.12.24 06:13, Alistair Popple wrote: > > The procfs mmu files such as smaps currently ignore device dax and fs > > dax pages because these pages are considered special. To maintain > > existing behaviour once these pages are

Re: [PATCH v4 14/25] rmap: Add support for PUD sized mappings to rmap

2024-12-18 Thread Alistair Popple
On Tue, Dec 17, 2024 at 11:27:13PM +0100, David Hildenbrand wrote: > On 17.12.24 06:12, Alistair Popple wrote: > > The rmap doesn't currently support adding a PUD mapping of a > > folio. This patch adds support for entire PUD mappings of folios, > > primarily to allow for more standard refcounting

Re: [PATCH v4 10/25] mm/mm_init: Move p2pdma page refcount initialisation to p2pdma

2024-12-18 Thread Alistair Popple
On Tue, Dec 17, 2024 at 11:14:42PM +0100, David Hildenbrand wrote: > On 17.12.24 06:12, Alistair Popple wrote: > > Currently ZONE_DEVICE page reference counts are initialised by core > > memory management code in __init_zone_device_page() as part of the > > memremap() call which driver modules make

[PATCH 4/4] kheaders: use 'tar' instead of 'cpio' for copying files

2024-12-18 Thread Masahiro Yamada
The 'cpio' command is used solely for copying header files to the temporary directory. However, there is no strong reason to use 'cpio' for this purpose. For example, scripts/package/install-extmod-build uses the 'tar' command to copy files. This commit replaces the use of 'cpio' with 'tar' becaus