[PATCH 1/3] powerpc/cacheinfo: Use cpumap_print to print cpumap

2020-06-29 Thread Srikar Dronamraju
Tejun Heo had modified shared_cpu_map_show to use scnprintf instead of cpumap_print during support for *pb[l] format. Refer commit 0c118b7bd09a ("powerpc: use %*pb[l] to print bitmaps including cpumasks and nodemasks") cpumap_print_to_pagebuf is a standard function to print cpumap. With commit 9c

[PATCH 3/3] powerpc/cacheinfo: Add per cpu per index shared_cpu_list

2020-06-29 Thread Srikar Dronamraju
Unlike drivers/base/cacheinfo, powerpc cacheinfo code is not exposing shared_cpu_list under /sys/devices/system/cpu/cpu/cache/index Add shared_cpu_list to per cpu per index directory to maintain parity with x86. Some scripts (example: mmtests https://github.com/gormanm/mmtests) seem to be looking

[PATCH 2/3] powerpc/cacheinfo: Make cpumap_show code reusable

2020-06-29 Thread Srikar Dronamraju
In anticipation of implementing shared_cpu_list, move code under shared_cpu_map_show to a common function. No functional changes. Cc: Nathan Lynch Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Srikar Dronamraju --- arch/powerpc/kernel/cacheinfo.c | 10 -- 1 fil

[PATCH 0/3] Implement shared_cpu_list for powerpc

2020-06-29 Thread Srikar Dronamraju
shared_cpu_list sysfs file is missing in powerpc and shared_cpu_map gives an extra newline character. Before this patchset # ls /sys/devices/system/cpu0/cache/index1 coherency_line_size number_of_sets size ways_of_associativity levelshared_cpu_map type # cat /sys/devices/system

Re: [PATCH v3 3/4] KVM: PPC: Book3S HV: migrate remaining normal-GFNs to secure-GFNs in H_SVM_INIT_DONE

2020-06-29 Thread Laurent Dufour
Le 28/06/2020 à 18:20, Bharata B Rao a écrit : On Fri, Jun 19, 2020 at 03:43:41PM -0700, Ram Pai wrote: H_SVM_INIT_DONE incorrectly assumes that the Ultravisor has explicitly As noted in the last iteration, can you reword the above please? I don't see it as an incorrect assumption, but see it

Re: [PATCH V3 0/4] mm/debug_vm_pgtable: Add some more tests

2020-06-29 Thread Anshuman Khandual
On 06/24/2020 08:10 PM, Alexander Gordeev wrote: > On Wed, Jun 24, 2020 at 01:48:08PM +0200, Gerald Schaefer wrote: >> On Wed, 24 Jun 2020 13:05:39 +0200 >> Alexander Gordeev wrote: >> >>> On Wed, Jun 24, 2020 at 08:43:10AM +0530, Anshuman Khandual wrote: >>> >>> [...] >>> Hello Gerald/Chr

[PATCH V4 2/3] cpufreq: Register governors at core_initcall

2020-06-29 Thread Viresh Kumar
From: Quentin Perret Currently, most CPUFreq governors are registered at core_initcall time when used as default, and module_init otherwise. In preparation for letting users specify the default governor on the kernel command line, change all of them to use core_initcall unconditionally, as is alr

[PATCH V4 0/3] cpufreq: Allow default governor on cmdline and fix locking issues

2020-06-29 Thread Viresh Kumar
Hi, I have picked Quentin's series over my patch, modified both and tested. V3->V4: - Do __module_get() for cpufreq_default_governor() case as well and get rid of an extra variable. - Use a single character array, default_governor, instead of two of them. V2->V3: - default_governor is a string

Re: [PATCH V3 2/4] mm/debug_vm_pgtable: Add tests validating advanced arch page table helpers

2020-06-29 Thread Anshuman Khandual
On 06/27/2020 12:56 PM, Christophe Leroy wrote: > > > Le 15/06/2020 à 05:37, Anshuman Khandual a écrit : >> This adds new tests validating for these following arch advanced page table >> helpers. These tests create and test specific mapping types at various page >> table levels. >> >> 1. pxxp_

Re: [PATCH RFC 1/1] powerpc/eeh: Synchronization for safety

2020-06-29 Thread Oliver O'Halloran
On Mon, 2020-03-30 at 17:39 +1100, Sam Bobroff wrote: > There is currently little synchronization between EEH error detection > (eeh_dev_check_failure()), EEH error recovery > (eeh_handle_{normal,special}_event()) and the PCI subsystem (device > addition and removal), and so there are race conditio

Re: [PATCH V3 2/4] mm/debug_vm_pgtable: Add tests validating advanced arch page table helpers

2020-06-29 Thread Anshuman Khandual
On 06/27/2020 12:48 PM, Christophe Leroy wrote: > Le 15/06/2020 à 05:37, Anshuman Khandual a écrit : >> This adds new tests validating for these following arch advanced page table >> helpers. These tests create and test specific mapping types at various page >> table levels. >> >> 1. pxxp_set_wrp

Re: [PATCH 01/13] iommu/exynos: Use dev_iommu_priv_get/set()

2020-06-29 Thread Marek Szyprowski
On 25.06.2020 15:08, Joerg Roedel wrote: > From: Joerg Roedel > > Remove the use of dev->archdata.iommu and use the private per-device > pointer provided by IOMMU core code instead. > > Signed-off-by: Joerg Roedel Acked-by: Marek Szyprowski > --- > drivers/iommu/exynos-iommu.c

<    1   2