Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-14 Thread Paul E. McKenney
On Tue, Oct 13, 2020 at 12:30:25PM -0700, Paul E. McKenney wrote: > On Tue, Oct 13, 2020 at 09:26:50AM -0700, Paul E. McKenney wrote: > > On Tue, Oct 13, 2020 at 01:25:44PM +0200, Peter Zijlstra wrote: > > > On Tue, Oct 13, 2020 at 12:44:50PM +0200, Peter Zijlstra wrote: > > > > On Tue, Oct 13,

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread Mike Kravetz
On 10/14/20 11:18 AM, David Hildenbrand wrote: > On 14.10.20 19:56, Mina Almasry wrote: >> On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: >>> >>> On 14.10.20 17:22, David Hildenbrand wrote: Hi everybody, Michal Privoznik played with "free page reporting" in

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Miguel Ojeda
On Wed, Oct 14, 2020 at 8:05 PM Joe Perches wrote: > > Any 'formatting off/on' marker should be tool agnostic. Agreed, they should have used a compiler-agnostic name for the marker. Cheers, Miguel

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Jeffrin Jose T
On Wed, 2020-10-14 at 11:56 +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 12, 2020 at 11:00:07PM +0530, Jeffrin Jose T wrote: > > * On Mon, 2020-10-12 at 15:30 +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 5.8.15 > > > release. > > > There are 124

[PATCH v2 05/20] kvm: x86/mmu: Add functions to handle changed TDP SPTEs

2020-10-14 Thread Ben Gardon
The existing bookkeeping done by KVM when a PTE is changed is spread around several functions. This makes it difficult to remember all the stats, bitmaps, and other subsystems that need to be updated whenever a PTE is modified. When a non-leaf PTE is marked non-present or becomes a leaf PTE, page

[PATCH v2 04/20] kvm: x86/mmu: Allocate and free TDP MMU roots

2020-10-14 Thread Ben Gardon
The TDP MMU must be able to allocate paging structure root pages and track the usage of those pages. Implement a similar, but separate system for root page allocation to that of the x86 shadow paging implementation. When future patches add synchronization model changes to allow for parallel page

[PATCH -next] Revert "powerpc/pci: unmap legacy INTx interrupts when a PHB is removed"

2020-10-14 Thread Qian Cai
This reverts commit 3a3181e16fbde752007759f8759d25e0ff1fc425 which causes memory corruptions on POWER9 NV. Signed-off-by: Qian Cai --- arch/powerpc/include/asm/pci-bridge.h | 6 -- arch/powerpc/kernel/pci-common.c | 114 -- 2 files changed, 120 deletions(-) diff

[PATCH v2 06/20] KVM: Cache as_id in kvm_memory_slot

2020-10-14 Thread Ben Gardon
From: Peter Xu Cache the address space ID just like the slot ID. It will be used in order to fill in the dirty ring entries. Suggested-by: Paolo Bonzini Suggested-by: Sean Christopherson Reviewed-by: Sean Christopherson Signed-off-by: Peter Xu --- include/linux/kvm_host.h | 1 +

[PATCH v2 09/20] kvm: x86/mmu: Remove disallowed_hugepage_adjust shadow_walk_iterator arg

2020-10-14 Thread Ben Gardon
In order to avoid creating executable hugepages in the TDP MMU PF handler, remove the dependency between disallowed_hugepage_adjust and the shadow_walk_iterator. This will open the function up to being used by the TDP MMU PF handler in a future patch. Tested by running kvm-unit-tests and KVM

[PATCH v2 14/20] kvm: x86/mmu: Support changed pte notifier in tdp MMU

2020-10-14 Thread Ben Gardon
In order to interoperate correctly with the rest of KVM and other Linux subsystems, the TDP MMU must correctly handle various MMU notifiers. Add a hook and handle the change_pte MMU notifier. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no

[PATCH v2 12/20] kvm: x86/mmu: Support invalidate range MMU notifier for TDP MMU

2020-10-14 Thread Ben Gardon
In order to interoperate correctly with the rest of KVM and other Linux subsystems, the TDP MMU must correctly handle various MMU notifiers. Add hooks to handle the invalidate range family of MMU notifiers. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This

[PATCH v2 15/20] kvm: x86/mmu: Support dirty logging for the TDP MMU

2020-10-14 Thread Ben Gardon
Dirty logging is a key feature of the KVM MMU and must be supported by the TDP MMU. Add support for both the write protection and PML dirty logging modes. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no new failures. This series can be

[PATCH v2 19/20] kvm: x86/mmu: Don't clear write flooding count for direct roots

2020-10-14 Thread Ben Gardon
Direct roots don't have a write flooding count because the guest can't affect that paging structure. Thus there's no need to clear the write flooding count on a fast CR3 switch for direct roots. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced

[PATCH v2 16/20] kvm: x86/mmu: Support disabling dirty logging for the tdp MMU

2020-10-14 Thread Ben Gardon
Dirty logging ultimately breaks down MMU mappings to 4k granularity. When dirty logging is no longer needed, these granaular mappings represent a useless performance penalty. When dirty logging is disabled, search the paging structure for mappings that could be re-constituted into a large page

[PATCH v2 18/20] kvm: x86/mmu: Support MMIO in the TDP MMU

2020-10-14 Thread Ben Gardon
In order to support MMIO, KVM must be able to walk the TDP paging structures to find mappings for a given GFN. Support this walk for the TDP MMU. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no new failures. This series can be viewed in

[PATCH v2 20/20] kvm: x86/mmu: NX largepage recovery for TDP MMU

2020-10-14 Thread Ben Gardon
When KVM maps a largepage backed region at a lower level in order to make it executable (i.e. NX large page shattering), it reduces the TLB performance of that region. In order to avoid making this degradation permanent, KVM must periodically reclaim shattered NX largepages by zapping them and

[PATCH v2 17/20] kvm: x86/mmu: Support write protection for nesting in tdp MMU

2020-10-14 Thread Ben Gardon
To support nested virtualization, KVM will sometimes need to write protect pages which are part of a shadowed paging structure or are not writable in the shadowed paging structure. Add a function to write protect GFN mappings for this purpose. Tested by running kvm-unit-tests and KVM selftests on

[PATCH v2 11/20] kvm: x86/mmu: Allocate struct kvm_mmu_pages for all pages in TDP MMU

2020-10-14 Thread Ben Gardon
Attach struct kvm_mmu_pages to every page in the TDP MMU to track metadata, facilitate NX reclaim, and enable inproved parallelism of MMU operations in future patches. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no new failures. This

[PATCH v2 10/20] kvm: x86/mmu: Add TDP MMU PF handler

2020-10-14 Thread Ben Gardon
Add functions to handle page faults in the TDP MMU. These page faults are currently handled in much the same way as the x86 shadow paging based MMU, however the ordering of some operations is slightly different. Future patches will add eager NX splitting, a fast page fault handler, and parallel

[PATCH v2 07/20] kvm: x86/mmu: Support zapping SPTEs in the TDP MMU

2020-10-14 Thread Ben Gardon
Add functions to zap SPTEs to the TDP MMU. These are needed to tear down TDP MMU roots properly and implement other MMU functions which require tearing down mappings. Future patches will add functions to populate the page tables, but as for this patch there will not be any work for these functions

[PATCH v2 02/20] kvm: x86/mmu: Introduce tdp_iter

2020-10-14 Thread Ben Gardon
The TDP iterator implements a pre-order traversal of a TDP paging structure. This iterator will be used in future patches to create an efficient implementation of the KVM MMU for the TDP case. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced

[PATCH v2 08/20] kvm: x86/mmu: Separate making non-leaf sptes from link_shadow_page

2020-10-14 Thread Ben Gardon
The TDP MMU page fault handler will need to be able to create non-leaf SPTEs to build up the paging structures. Rather than re-implementing the function, factor the SPTE creation out of link_shadow_page. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series

[PATCH v2 13/20] kvm: x86/mmu: Add access tracking for tdp_mmu

2020-10-14 Thread Ben Gardon
In order to interoperate correctly with the rest of KVM and other Linux subsystems, the TDP MMU must correctly handle various MMU notifiers. The main Linux MM uses the access tracking MMU notifiers for swap and other features. Add hooks to handle the test/flush HVA (range) family of MMU notifiers.

[PATCH v2 01/20] kvm: x86/mmu: Separate making SPTEs from set_spte

2020-10-14 Thread Ben Gardon
Separate the functions for generating leaf page table entries from the function that inserts them into the paging structure. This refactoring will facilitate changes to the MMU sychronization model to use atomic compare / exchanges (which are not guaranteed to succeed) instead of a monolithic MMU

[PATCH v2 03/20] kvm: x86/mmu: Init / Uninit the TDP MMU

2020-10-14 Thread Ben Gardon
The TDP MMU offers an alternative mode of operation to the x86 shadow paging based MMU, optimized for running an L1 guest with TDP. The TDP MMU will require new fields that need to be initialized and torn down. Add hooks into the existing KVM MMU initialization process to do that initialization /

[PATCH v2 00/20] Introduce the TDP MMU

2020-10-14 Thread Ben Gardon
Over the years, the needs for KVM's x86 MMU have grown from running small guests to live migrating multi-terabyte VMs with hundreds of vCPUs. Where we previously depended on shadow paging to run all guests, we now have two dimensional paging (TDP). This patch set introduces a new implementation of

Re: [PATCH v4 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-14 Thread Luka Kovacic
Hello Guenter, On Tue, Oct 13, 2020 at 8:51 PM Guenter Roeck wrote: > > On 10/13/20 11:09 AM, Luka Kovacic wrote: > > Hello Guenter, > > > > On Sun, Oct 11, 2020 at 11:26 PM Guenter Roeck wrote: > >> > >> On Wed, Oct 07, 2020 at 02:48:58AM +0200, Luka Kovacic wrote: > >>> Add the iEi WT61P803

Re: WARN_ONCE triggered: tpm_tis: Add a check for invalid status

2020-10-14 Thread James Bottomley
On Wed, 2020-10-14 at 19:57 +0200, Dirk Gouders wrote: > On my laptop the check introduced with 55707d531af62b (tpm_tis: Add a > check for invalid status) triggered the warning (output below). > > So, my laptop seems to be a candidate for testing. I'm afraid this is a known problem on a wide

Re: [PATCH v6 02/25] objtool: Add a pass for generating __mcount_loc

2020-10-14 Thread Peter Zijlstra
On Wed, Oct 14, 2020 at 06:50:04PM +0200, Ingo Molnar wrote: > Meh, adding --mcount as an option to 'objtool check' was a valid hack for a > prototype patchset, but please turn this into a proper subcommand, just > like 'objtool orc' is. > > 'objtool check' should ... keep checking. :-) No, no

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread David Hildenbrand
On 14.10.20 19:56, Mina Almasry wrote: > On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: >> >> On 14.10.20 17:22, David Hildenbrand wrote: >>> Hi everybody, >>> >>> Michal Privoznik played with "free page reporting" in QEMU/virtio-balloon >>> with hugetlbfs and reported that this results

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-14 Thread Trond Myklebust
On Tue, 2020-10-06 at 08:14 -0700, Ashish Sangwan wrote: > Request for mode bits and nlink count in the nfs4_get_referral call > and if server returns them use them instead of hard coded values. > > CC: sta...@vger.kernel.org > Signed-off-by: Ashish Sangwan > --- > fs/nfs/nfs4proc.c | 20

Re: [PATCH] lib: kunit: add test_min_heap test conversion to KUnit

2020-10-14 Thread Ian Rogers
On Mon, Oct 12, 2020 at 2:03 PM Brendan Higgins wrote: > > On Tue, Aug 4, 2020 at 9:22 AM Vitor Massaru Iha wrote: > > > > Hi Peter, > > > > On Tue, Aug 4, 2020 at 11:23 AM wrote: > > > > > > On Tue, Aug 04, 2020 at 10:46:21AM -0300, Vitor Massaru Iha wrote: > > > > On Tue, Aug 4, 2020 at 10:25

[PATCH v3 2/5] arm64: tegra: Specify sdhci clock parent for Tegra194 SDMMC1 and SDMMC3

2020-10-14 Thread Tamás Szűcs
Use PLLC4_MUXED as clock source for SDMMC1 and SDMMC3 core clocks. This enables more suitable interface clocks for higher data rate modes. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [patch 11/12] usb: core: Replace in_interrupt() in comments

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 06:41:23PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-10-14 12:27:21 [-0400], Alan Stern wrote: > > > --- a/drivers/usb/core/hcd.c > > > +++ b/drivers/usb/core/hcd.c > > > @@ -746,9 +746,6 @@ static int rh_call_control (struct usb_h > > > * Root Hub interrupt

RE: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-14 Thread Limonciello, Mario
> As far as I know, the profiles affect the thermal behavior like "how long to > wait before starting the fan and at what temperature" or "how fast to run the > fan with the current cpu load and temperature". > > The only way that firmware uses to "control" performance should be the odvp0 > DPTF

Re: [PATCH v2] checkpatch: add new exception to repeated word check

2020-10-14 Thread Dwaipayan Ray
On Wed, Oct 14, 2020 at 11:33 PM Joe Perches wrote: > > On Wed, 2020-10-14 at 22:07 +0530, Dwaipayan Ray wrote: > > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > > moved the repeated word test to check for more file types. But after > > this, if checkpatch.pl is run on

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 11:00:45AM -0700, Florian Fainelli wrote: > On 10/14/20 3:14 AM, Serge Semin wrote: > > In accordance with the Generic EHCI/OHCI bindings the corresponding node > > name is suppose to comply with the Generic USB HCD DT schema, which > > requires the USB nodes to have the

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Florian Fainelli
On 10/14/20 10:39 AM, Sudeep Holla wrote: > On Wed, Oct 14, 2020 at 10:13:04AM -0700, Florian Fainelli wrote: >> On 10/14/20 9:18 AM, Sudeep Holla wrote: >>> On Wed, Oct 14, 2020 at 02:48:19PM +0100, Cristian Marussi wrote: >>> >>> [...] >>> > > I have pushed a version with above change

Re: [PATCH v21 07/12] landlock: Support filesystem access-control

2020-10-14 Thread James Morris
On Thu, 8 Oct 2020, Mickaël Salaün wrote: > +config ARCH_EPHEMERAL_STATES > + def_bool n > + help > + An arch should select this symbol if it does not keep an internal > kernel > + state for kernel objects such as inodes, but instead relies on > something > + else

[PATCH v3 1/5] arm64: tegra: Enable signal voltage switching on Tegra194 SDMMC1 and SDMMC3

2020-10-14 Thread Tamás Szűcs
Add pad voltage configuration nodes for SDMMC pads with configurable voltages and enable supported SD card, SDIO and eMMC modes. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 45 1 file changed, 45 insertions(+) diff --git

Re: [PATCH RFC v4 06/13] perf vendor events arm64: Add hip09 SMMUv3 PMCG events

2020-10-14 Thread Robin Murphy
On 2020-10-08 11:15, John Garry wrote: Add the SMMUv3 PMCG (Performance Monitor Event Group) events for hip09 platform. This contains a mix of architected and IMP def events Signed-off-by: John Garry --- .../hisilicon/hip09/sys/smmu-v3-pmcg.json | 42 +++ 1 file

[PATCH v3 3/5] arm64: tegra: Fix CD on Jetson AGX Xavier SDMMC1

2020-10-14 Thread Tamás Szűcs
Change GPIO used for card detection on SDMMC1. Also, specify bus width and disable write protect while at it. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v3 4/5] arm64: tegra: Add vmmc-supply regulator for Jetson AGX Xavier SDMMC1

2020-10-14 Thread Tamás Szűcs
Create regulator for VDD_3V3_SD and add it to SDMMC1. When vmmc-supply is undefined the initialization sequence specified in aliases is disregarded. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v3 5/5] arm64: tegra: Configure SDIO cards on Jetson AGX Xavier SDMMC1

2020-10-14 Thread Tamás Szűcs
Preserve SDIO card power during suspend/resume cycles and enable waking up the host system on SDIO IRQ assertion. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi

[PATCH v3 0/5] arm64: tegra: Xavier SDMMC changes

2020-10-14 Thread Tamás Szűcs
Upstream Xavier SDMMC needs some love. I've been able to test with a Jetson AGX Xavier. Changes here work for me with 1.8 V and 3.3 V SD and SDIO devices. Changes in v3: - I started seeing ocasional eMMC init timeouts on cold starts when HS400 is enabled, so drop this until fix is found - add

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 19:45 +0200, Miguel Ojeda wrote: > - Code that should be specially-formatted should be in a > clang-format-off section to begin with, so it doesn't count. clang-format is not the end-all tool. Any 'formatting off/on' marker should be tool agnostic.

WARN_ONCE triggered: tpm_tis: Add a check for invalid status

2020-10-14 Thread Dirk Gouders
On my laptop the check introduced with 55707d531af62b (tpm_tis: Add a check for invalid status) triggered the warning (output below). So, my laptop seems to be a candidate for testing. Dirk [7.255467] [ cut here ] [7.255468] TPM returned invalid status [

Re: [SUSPECTED SPAM][PATCH 0/2] Remove Xen PVH dependency on PCI

2020-10-14 Thread Andrew Cooper
On 14/10/2020 18:53, Jason Andryuk wrote: > A Xen PVH domain doesn't have a PCI bus or devices, [*] Yet. > so it doesn't need PCI support built in. Untangling the dependences is a good thing, but eventually we plan to put an optional PCI bus back in, e.g. for SRIOV usecases. ~Andrew

Re: [PATCH v2] checkpatch: add new exception to repeated word check

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 22:07 +0530, Dwaipayan Ray wrote: > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > moved the repeated word test to check for more file types. But after > this, if checkpatch.pl is run on MAINTAINERS, it generates several > new warnings of the type:

Re: [PATCH] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Serge Semin
Hello Maciej, On Wed, Oct 14, 2020 at 12:10:09PM +0100, Maciej W. Rozycki wrote: > Fix a crash on DEC platforms starting with: > ... > @@ -146,6 +150,9 @@ void __init plat_mem_setup(void) > > ioport_resource.start = ~0UL; > ioport_resource.end = 0UL; > + > + /* Stay away from

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-14 Thread Florian Fainelli
On 10/14/20 3:14 AM, Serge Semin wrote: > In accordance with the Generic EHCI/OHCI bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Let's fix the DTS files,

[tip: sched/urgent] sched: Replace zero-length array with flexible-array

2020-10-14 Thread tip-bot2 for zhuguangqing
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: eba9f08293d76370049ec85581ab3d7f6d069e3e Gitweb: https://git.kernel.org/tip/eba9f08293d76370049ec85581ab3d7f6d069e3e Author:zhuguangqing AuthorDate:Wed, 14 Oct 2020 22:02:20 +08:00

[tip: x86/urgent] x86/syscalls: Document the fact that syscalls 512-547 are a legacy mistake

2020-10-14 Thread tip-bot2 for Andy Lutomirski
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: c3b484c439b0bab7a698495f33ef16286a1000c4 Gitweb: https://git.kernel.org/tip/c3b484c439b0bab7a698495f33ef16286a1000c4 Author:Andy Lutomirski AuthorDate:Sun, 11 Oct 2020 19:51:21 -07:00

[tip: sched/urgent] sched/features: Fix !CONFIG_JUMP_LABEL case

2020-10-14 Thread tip-bot2 for Juri Lelli
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: a73f863af4ce9730795eab7097fb2102e6854365 Gitweb: https://git.kernel.org/tip/a73f863af4ce9730795eab7097fb2102e6854365 Author:Juri Lelli AuthorDate:Tue, 13 Oct 2020 07:31:14 +02:00

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread Mina Almasry
On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: > > On 14.10.20 17:22, David Hildenbrand wrote: > > Hi everybody, > > > > Michal Privoznik played with "free page reporting" in QEMU/virtio-balloon > > with hugetlbfs and reported that this results in [1] > > > > 1. WARNING: CPU: 13 PID:

[PATCH 0/2] Remove Xen PVH dependency on PCI

2020-10-14 Thread Jason Andryuk
A Xen PVH domain doesn't have a PCI bus or devices, so it doesn't need PCI support built in. Currently, XEN_PVH depends on XEN_PVHVM which depends on PCI. The first patch introduces XEN_PVHVM_GUEST as a toplevel item and changes XEN_PVHVM to a hidden variable. This allows XEN_PVH to depend on

[PATCH 2/2] xen: Kconfig: nest Xen guest options

2020-10-14 Thread Jason Andryuk
Moving XEN_512GB allows it to nest under XEN_PV. That also allows XEN_PVH to nest under XEN as a sibling to XEN_PV and XEN_PVHVM giving: [*] Xen guest support [*] Xen PV guest support [*] Limit Xen pv-domain memory to 512GB [*] Xen PV Dom0 support [*] Xen PVHVM guest

[PATCH 1/2] xen: Remove Xen PVH/PVHVM dependency on PCI

2020-10-14 Thread Jason Andryuk
A Xen PVH domain doesn't have a PCI bus or devices, so it doesn't need PCI support built in. Currently, XEN_PVH depends on XEN_PVHVM which depends on PCI. Introduce XEN_PVHVM_GUEST as a toplevel item and change XEN_PVHVM to a hidden variable. This allows XEN_PVH to depend on XEN_PVHVM without

[GIT PULL] SPDX patches for 5.10-rc1

2020-10-14 Thread Greg KH
The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx.git tags/spdx-5.10-rc1 for you to fetch changes up to

[PATCH] printk: ringbuffer: Wrong data pointer when appending small string

2020-10-14 Thread Petr Mladek
data_realloc() returns wrong data pointer when the block is wrapped and the size is not increased. It might happen when pr_cont() wants to add only few characters and there is already a space for them because of alignment. It might cause writing outsite the buffer. It has been detected by LTP

Re: [PATCH] perf jevents: Fix event code for events referencing std arch events

2020-10-14 Thread John Garry
On 14/10/2020 17:49, Arnaldo Carvalho de Melo wrote: Ok, applied, Thanks please consider adding a Fixes tag next time. Can do if it helps, but I only thought it appropriate when fixing something merged to mainline. John

[GIT PULL] Driver core patches for 5.10-rc1

2020-10-14 Thread Greg KH
The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.10-rc1 for you to fetch changes up to

[GIT PULL] TTY/Serial driver patches for 5.10-rc1

2020-10-14 Thread Greg KH
The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.10-rc1 for you to fetch changes up to

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Miguel Ojeda
On Wed, Oct 14, 2020 at 10:40 AM Joe Perches wrote: > > Eek no. > > Mindless use of either tool isn't a great thing. That is up to opinion. I (and others) definitely want to get to the point the kernel sources are automatically formatted, because it has significant advantages. The biggest is

Re: [PATCH RFC v4 00/13] perf pmu-events: Support event aliasing for system PMUs

2020-10-14 Thread John Garry
On 14/10/2020 12:16, Jiri Olsa wrote: My thought was that since the kernel part needs acceptance first [0], which is based on v5.9-rc7, I would just use the same baseline here. However I suppose I should still use Arnaldo's perf/core from now on as baseline, so I'll look at that now. yes

Re: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-14 Thread Elia Devito
Hi, In data mercoledì 14 ottobre 2020 17:46:43 CEST, Rafael J. Wysocki ha scritto: > On Wed, Oct 14, 2020 at 4:16 PM Hans de Goede wrote: > > Hi, > > > > On 10/14/20 3:55 PM, Rafael J. Wysocki wrote: > > > On Tue, Oct 13, 2020 at 3:09 PM Hans de Goede wrote: > > >> Hi, > > >> > > >> On

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-14 Thread David Lechner
On 9/26/20 9:18 PM, William Breathitt Gray wrote: diff --git a/drivers/counter/counter-chrdev.c b/drivers/counter/counter-chrdev.c new file mode 100644 index ..2be3846e4105 --- /dev/null +++ b/drivers/counter/counter-chrdev.c +/** + * counter_push_event - queue event for

Re: [GIT PULL] io_uring updates for 5.10-rc1

2020-10-14 Thread Nick Desaulniers
Sorry for not reporting it sooner. It looks to me like a GNU `as` bug: https://github.com/ClangBuiltLinux/linux/issues/1153#issuecomment-692265433 When I'm done with the three build breakages that popped up overnight I'll try to report it to GNU binutils folks. (We run an issue tracker out of

Re: [PATCH v7 3/3] iommu/tegra-smmu: Add PCI support

2020-10-14 Thread Robin Murphy
On 2020-10-09 17:19, Nicolin Chen wrote: This patch simply adds support for PCI devices. Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko Signed-off-by: Nicolin Chen --- Changelog v6->v7 * Renamed goto labels, suggested by Thierry. v5->v6 * Added Dmitry's Reviewed-by and

Re: [PATCH 00/20] dt-bindings: usb: Add generic USB HCD, xHCI, DWC USB3 DT schema

2020-10-14 Thread Serge Semin
Ah, forgot to mark the series as v2. Sorry about that. The next one will be v3 then... -Sergey On Wed, Oct 14, 2020 at 01:13:42PM +0300, Serge Semin wrote: > We've performed some work on the Generic USB HCD, xHCI and DWC USB3 DT > bindings in the framework of the Baikal-T1 SoC support

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Sudeep Holla
On Wed, Oct 14, 2020 at 10:13:04AM -0700, Florian Fainelli wrote: > On 10/14/20 9:18 AM, Sudeep Holla wrote: > > On Wed, Oct 14, 2020 at 02:48:19PM +0100, Cristian Marussi wrote: > > > > [...] > > > >>> > >>> I have pushed a version with above change [1], please check if you are > >>> happy with

[for-next][PATCH 07/12] tracing: Check that the synthetic event and field names are legal

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Call the is_good_name() function used by probe events to make sure synthetic event and field names don't contain illegal characters and cause unexpected parsing of synthetic event commands. Link:

[for-next][PATCH 11/12] selftests/ftrace: Add test case for synthetic event syntax errors

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Add a selftest that verifies that the syntax error messages and caret positions are correct for most of the possible synthetic event syntax error cases. Link: https://lkml.kernel.org/r/af611928ce79f86eaf0af8654f1d7802d5cc21ff.1602598160.git.zanu...@kernel.org Tested-by:

[for-next][PATCH 01/12] tracing: Check return value of __create_val_fields() before using its result

2020-10-14 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" After having a typo for writing a histogram trigger. Wrote: echo 'hist:key=pid:ts=common_timestamp.usec' > events/sched/sched_waking/trigger Instead of: echo 'hist:key=pid:ts=common_timestamp.usecs' > events/sched/sched_waking/trigger and the following

[for-next][PATCH 03/12] tracing/boot: Add ftrace.instance.*.alloc_snapshot option

2020-10-14 Thread Steven Rostedt
From: Masami Hiramatsu Add ftrace.instance.*.alloc_snapshot option. This option has been described in Documentation/trace/boottime-trace.rst but not implemented yet. ftrace.[instance.INSTANCE.]alloc_snapshot Allocate snapshot buffer. The difference from kernel.alloc_snapshot is that the

[for-next][PATCH 04/12] tracing: Fix some typos in comments

2020-10-14 Thread Steven Rostedt
From: Qiujun Huang s/wihin/within/ s/retrieven/retrieved/ s/suppport/support/ s/wil/will/ s/accidently/accidentally/ s/if the if the/if the/ Link: https://lkml.kernel.org/r/20201010140924.3809-1-hqjag...@gmail.com Signed-off-by: Qiujun Huang Signed-off-by: Steven Rostedt (VMware) ---

[for-next][PATCH 10/12] tracing: Handle synthetic event array field type checking correctly

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Since synthetic event array types are derived from the field name, there may be a semicolon at the end of the type which should be stripped off. If there are more characters following that, normal type string checking will result in an invalid type. Without this patch, you

Re: [GIT PULL] Hyper-V commits for 5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 13:12:14 +: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > tags/hyperv-next-signed has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4907a43da83184d4e88009654c9b31f5e091f709 Thank you! --

[for-next][PATCH 00/12] tracing: Last minute updates before sending to Linus

2020-10-14 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: d3c07fac565261101337b9535df072361297ea2d Axel Rasmussen (1): tracing: support "bool" type in synthetic trace events Gaurav Kohli (1): tracing: Fix race in trace_open and buffer resize call

Re: [GIT PULL v2] objtool changes for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 12:38:31 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > objtool-core-2020-10-13 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6873139ed078bfe0341d4cbb69e5af1b323bf532 Thank you! -- Deet-doot-dot,

Re: [PATCH 09/20] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 08:32:19AM -0500, Rob Herring wrote: > On Wed, 14 Oct 2020 13:13:51 +0300, Serge Semin wrote: > > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > > Controller schema, but with additional vendor-specific properties, the > > controller-specific reference

[for-next][PATCH 12/12] tracing: support "bool" type in synthetic trace events

2020-10-14 Thread Steven Rostedt
From: Axel Rasmussen It's common [1] to define tracepoint fields as "bool" when they contain a true / false value. Currently, defining a synthetic event with a "bool" field yields EINVAL. It's possible to work around this by using e.g. u8 (assuming sizeof(bool) is 1, and bool is unsigned; if

Re: [GIT PULL] xen: branch for v5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 07:39:17 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.10b-rc1-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a09b1d78505eb9fe27597a5174c61a7c66253fe8 Thank you! -- Deet-doot-dot,

[for-next][PATCH 06/12] tracing: Move is_good_name() from trace_probe.h to trace.h

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi is_good_name() is useful for other trace infrastructure, such as synthetic events, so make it available via trace.h. Link: https://lkml.kernel.org/r/cc6d6a2d7da6957fcbe1e2922e76d18d2bb459b4.1602598160.git.zanu...@kernel.org Acked-by: Masami Hiramatsu Tested-by: Masami

[for-next][PATCH 08/12] tracing: Add synthetic event error logging

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Add support for synthetic event error logging, which entails adding a logging function for it, a way to save the synthetic event command, and a set of specific synthetic event parse error strings and handling. Link:

Re: [GIT PULL] objtool changes for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 10:26:25 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > objtool-core-2020-10-13 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ab0a40ea88204e1291b56da8128e2845fec8ee88 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] x86/seves for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 13:08:19 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/x86_seves_for_v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/da9803dfd3955bd2f9909d55e23f188ad76dbe58 Thank you! --

[for-next][PATCH 02/12] tracing: Fix race in trace_open and buffer resize call

2020-10-14 Thread Steven Rostedt
From: Gaurav Kohli Below race can come, if trace_open and resize of cpu buffer is running parallely on different cpus CPUXCPUY ring_buffer_resize atomic_read(>resize_disabled) tracing_open

[for-next][PATCH 09/12] selftests/ftrace: Change synthetic event name for inter-event-combined test

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi This test uses waking+wakeup_latency as an event name, which doesn't make sense since it includes an operator. Illegal names are now detected by the synthetic event command parsing, which causes this test to fail. Change the name to 'waking_plus_wakeup_latency' to prevent

[for-next][PATCH 05/12] tracing: Dont show dynamic string internals in synthetic event description

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi For synthetic event dynamic fields, the type contains "__data_loc", which is basically an internal part of the type which is only meant to be displayed in the format, not in the event description itself, which is confusing to users since they can't use __data_loc on the

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Sudeep Holla
On Wed, Oct 14, 2020 at 06:32:42PM +0100, Sudeep Holla wrote: > On Wed, Oct 14, 2020 at 10:08:32AM -0700, Florian Fainelli wrote: > > On 10/14/20 2:18 AM, Sudeep Holla wrote: > > > Hi Florian, > > > > > > Thanks for the patch, it shows someone else is also using this and > > > testing . > > > > >

Re: [PATCH v3 7/7] selftests/ftrace: Add test case for synthetic event syntax errors

2020-10-14 Thread Steven Rostedt
On Wed, 14 Oct 2020 11:06:36 +0900 Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 13 Oct 2020 09:17:58 -0500 > Tom Zanussi wrote: > > > Add a selftest that verifies that the syntax error messages and caret > > positions are correct for most of the possible synthetic event syntax > > error

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Sudeep Holla
On Wed, Oct 14, 2020 at 10:08:32AM -0700, Florian Fainelli wrote: > On 10/14/20 2:18 AM, Sudeep Holla wrote: > > Hi Florian, > > > > Thanks for the patch, it shows someone else is also using this and > > testing . > > > > On Tue, Oct 13, 2020 at 07:17:37PM -0700, Florian Fainelli wrote: > >> When

Re: [PATCH net] net: dsa: ksz: fix padding size of skb

2020-10-14 Thread Vladimir Oltean
On Wed, Oct 14, 2020 at 07:02:13PM +0200, Christian Eggers wrote: > > Otherwise said, the frame must be padded to > > max(skb->len, ETH_ZLEN) + tail tag length. > At first I thought the same when working on this. But IMHO the padding must > only ensure the minimum required size, there is no need

Re: fw_devlink on will break all snps,dw-apb-gpio users

2020-10-14 Thread Saravana Kannan
On Wed, Oct 14, 2020 at 4:12 AM Jisheng Zhang wrote: > > Hi, > > If set fw_devlink as on, any consumers of dw apb gpio won't probe. > > The related dts looks like: > > gpio0: gpio@2400 { >compatible = "snps,dw-apb-gpio"; >#address-cells = <1>; >#size-cells = <0>; > >

Re: [PATCH v2] perf bench: Use condition variables in numa.

2020-10-14 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2020 at 06:14:18PM +0200, Jiri Olsa escreveu: > On Wed, Oct 14, 2020 at 08:39:51AM -0700, Ian Rogers wrote: > > The pthread_mutex_lock avoids any race on g->nr_tasks_started and > > g->p.nr_tasks is set up in init() along with all the global state. I > > don't think there's any

Re: [PATCH 04/20] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 08:27:56AM -0500, Rob Herring wrote: > On Wed, 14 Oct 2020 13:13:46 +0300, Serge Semin wrote: > > The host controller device might be designed to work for the particular > > products or applications. In that case its DT node is supposed to be > > equipped with the

Re: [PATCH v1 00/15] Introduce threaded trace streaming for basic perf record operation

2020-10-14 Thread Ingo Molnar
* Alexey Budankov wrote: > > Patch set provides threaded trace streaming for base perf record > operation. Provided streaming mode (--threads) mitigates profiling > data losses and resolves scalability issues of serial and asynchronous > (--aio) trace streaming modes on multicore server

Re: [ANNOUNCE] libtraceevent.git

2020-10-14 Thread Steven Rostedt
On Wed, 14 Oct 2020 20:56:53 +0800 Zamir SUN wrote: > > > > So should I just add that one patch and tag it? > > > > That would be great, at least for Fedora packaging. I'm going with version 1.1.0 and not following the kernel versioning, as that would just add to the confusion. Here's the

Re: [PATCH 3/3] mfd: ahc1ec0-wdt: Add sub-device watchdog for Advantech embedded controller

2020-10-14 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Shihlun-Lin/mfd-ahc1ec0-Add-support-for-Advantech-embedded-controller/20201014-164627 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

<    1   2   3   4   5   6   7   8   9   10   >