Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

2021-02-12 Thread Guenter Roeck
On Fri, Feb 12, 2021 at 03:01:08PM -0600, Rob Herring wrote: > On Fri, Feb 12, 2021 at 9:17 AM Guenter Roeck wrote: > > > > On Fri, Feb 12, 2021 at 08:16:04AM -0600, Rob Herring wrote: > > > On Thu, Feb 11, 2021 at 9:31 PM Guenter Roeck wrote: > > > > > > > > Hi Rob, > > > > > > > > On Wed, Feb

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Dave Hansen
On 2/12/21 1:47 PM, Andy Lutomirski wrote: >> What about adding a property to the TD, e.g. via a flag set during TD >> creation, >> that controls whether unaccepted accesses cause #VE or are, for all intents >> and >> purposes, fatal? That would allow Linux to pursue treating EPT #VEs for >>

Re: [PATCH] nvme-tcp: Check if request has started before processing it

2021-02-12 Thread Sagi Grimberg
blk_mq_tag_to_rq() will always return a request if the command_id is in the valid range. Check if the request has been started. If we blindly process the request we might double complete a request which can be fatal. How did you get to this one? did the controller send a completion for a

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Andy Lutomirski
On Fri, Feb 12, 2021 at 1:37 PM Sean Christopherson wrote: > > On Fri, Feb 12, 2021, Dave Hansen wrote: > > On 2/12/21 12:54 PM, Sean Christopherson wrote: > > > Ah, I see what you're thinking. > > > > > > Treating an EPT #VE as fatal was also considered as an option. IIUC it > > > was > > >

Re: [PATCH v13 7/7] kasan: don't run tests in async mode

2021-02-12 Thread Andrey Konovalov
On Fri, Feb 12, 2021 at 6:22 PM Catalin Marinas wrote: > > On Thu, Feb 11, 2021 at 03:33:53PM +, Vincenzo Frascino wrote: > > From: Andrey Konovalov > > > > Asynchronous KASAN mode doesn't guarantee that a tag fault will be > > detected immediately and causes tests to fail. Forbid running

Re: [RFC][PATCH 1/2] x86: remove duplicate TSC DEADLINE MSR definitions

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 05, 2021 at 10:31:05AM +0100, Borislav Petkov escreveu: > On Thu, Mar 05, 2020 at 09:47:06AM -0800, Dave Hansen wrote: > > > > There are two definitions for the TSC deadline MSR in msr-index.h, > > one with an underscore and one without. Axe one of them and move > > all the

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Dave Hansen wrote: > On 2/12/21 12:54 PM, Sean Christopherson wrote: > > Ah, I see what you're thinking. > > > > Treating an EPT #VE as fatal was also considered as an option. IIUC it was > > thought that finding every nook and cranny that could access a page, without > >

Re: [PATCH] fs: ubifs: set s_uuid in super block to support ima/evm uuid options

2021-02-12 Thread Richard Weinberger
Andy, - Ursprüngliche Mail - >> + memcpy(>s_uuid, >uuid, sizeof(c-> > Shouldn’t it be `import_uuid()`? Hmm, I didn't know that helper. The only user in fs/ seems to be zonefs, all other filesystems do a plain memcpy(). Do you want me do a patch that converts all users in fs/ to

Re: [PATCH v5 04/10] hugetlb/userfaultfd: Unshare all pmds for hugetlbfs when register wp

2021-02-12 Thread Mike Kravetz
On 2/12/21 1:18 PM, Peter Xu wrote: > On Fri, Feb 12, 2021 at 10:11:39AM -0800, Mike Kravetz wrote: >> On 2/10/21 1:21 PM, Axel Rasmussen wrote: >>> From: Peter Xu >>> diff --git a/include/linux/mmu_notifier.h b/include/linux/mmu_notifier.h >>> index b8200782dede..ff50c8528113 100644 >>> ---

Re: [PATCH v2] perf probe: fix kretprobe issue caused by GCC bug

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 10, 2021 at 02:26:46PM +0800, Jianlin Lv escreveu: > Perf failed to add kretprobe event with debuginfo of vmlinux which is > compiled by gcc with -fpatchable-function-entry option enabled. > The same issue with kernel module. > > Issue: > > # perf probe -v 'kernel_clone%return

Re: [PATCH 1/5] keys: cleanup build time module signing keys

2021-02-12 Thread Nayna
On 2/11/21 4:57 PM, Stefan Berger wrote: On 2/11/21 2:54 PM, Nayna Jain wrote: The "mrproper" target is still looking for build time generated keys in the old path instead of certs/ directory. This patch fixes the path as well removes the names of the files which are no longer generated.

Re: [GIT PULL] cifs fixes

2021-02-12 Thread Steve French
The branch also was mirrored to github so could be pulled from there if you prefer - see below (presumably the admins for samba.org, who live in Germany, are not online - and so I am not sure when samba.org servers will be restarted). The following changes since commit

Re: [PATCH v5 02/10] hugetlb/userfaultfd: Forbid huge pmd sharing when uffd enabled

2021-02-12 Thread Mike Kravetz
On 2/12/21 12:47 PM, Axel Rasmussen wrote: > On Fri, Feb 12, 2021 at 12:40 PM Peter Xu wrote: >> >> On Thu, Feb 11, 2021 at 04:19:55PM -0800, Mike Kravetz wrote: >>> want_pmd_share() is currently just a check for >>> CONFIG_ARCH_WANT_HUGE_PMD_SHARE. >>> How about leaving that mostly as is, and

[PATCH] bus: mhi: core: Fix check for syserr at power_up

2021-02-12 Thread Jeffrey Hugo
The check to see if we have reset the device after detecting syserr at power_up is inverted. wait_for_event_timeout() returns 0 on failure, and a positive value on success. The check is looking for non-zero as a failure, which is likely to incorrectly cause a device init failure if syserr was

Re: [PATCH v21 00/10] NTFS read-write driver GPL implementation by Paragon Software

2021-02-12 Thread Oleksandr Natalenko
Hi. On Fri, Feb 12, 2021 at 07:24:06PM +0300, Konstantin Komarov wrote: > This patch adds NTFS Read-Write driver to fs/ntfs3. > … > v21: > - fixes for clang CFI checks > - fixed sb->s_maxbytes for 32bit clusters > - user.DOSATTRIB is no more intercepted by ntfs3 > - corrected xattr limits; is

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-12 Thread Lee Jones
On Fri, 12 Feb 2021, Lee Jones wrote: > On Fri, 12 Feb 2021, Stephen Boyd wrote: > > > Quoting Lee Jones (2021-02-12 01:20:16) > > > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > > > > > Quoting Lee Jones (2021-02-11 13:10:54) > > > > > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > > > > > >

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-12 Thread Lee Jones
On Fri, 12 Feb 2021, Stephen Boyd wrote: > Quoting Lee Jones (2021-02-12 01:20:16) > > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > > > Quoting Lee Jones (2021-02-11 13:10:54) > > > > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > > > > > > > Quoting Lee Jones (2021-01-26 04:45:19) > > > > >

[PATCH] tracing: Make hash-ptr option default

2021-02-12 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Since the original behavior of the trace events is to hash the %p pointers, make that the default, and have developers have to enable the option in order to have them unhashed. [ Based off of these patches:

Re: [PATCH v13 1/7] arm64: mte: Add asynchronous mode support

2021-02-12 Thread Andrey Konovalov
On Thu, Feb 11, 2021 at 4:34 PM Vincenzo Frascino wrote: > > MTE provides an asynchronous mode for detecting tag exceptions. In > particular instead of triggering a fault the arm64 core updates a > register which is checked by the kernel after the asynchronous tag > check fault has occurred. > >

Re: [PATCH 1/3] vfio: Introduce vma ops registration and notifier

2021-02-12 Thread Jason Gunthorpe
On Fri, Feb 12, 2021 at 12:27:39PM -0700, Alex Williamson wrote: > Create an interface through vfio-core where a vfio bus driver (ex. > vfio-pci) can register the vm_operations_struct it uses to map device > memory, along with a set of registration callbacks. This allows > vfio-core to expose

Re: [PATCH] x86: vdso: fix printf() format warnings in vdso2c.h

2021-02-12 Thread Randy Dunlap
On 2/12/21 2:56 AM, Jarkko Sakkinen wrote: > On Mon, Feb 08, 2021 at 05:23:05PM -0800, Randy Dunlap wrote: >> Use %zu instead of %lu for size_t to prevent w printf() >> format warnings in vdso2c.h >> >> HOSTCC arch/x86/entry/vdso/vdso2c >> In file included from

Re: [PATCH v5 04/10] hugetlb/userfaultfd: Unshare all pmds for hugetlbfs when register wp

2021-02-12 Thread Peter Xu
On Fri, Feb 12, 2021 at 10:11:39AM -0800, Mike Kravetz wrote: > On 2/10/21 1:21 PM, Axel Rasmussen wrote: > > From: Peter Xu > > > > Huge pmd sharing for hugetlbfs is racy with userfaultfd-wp because > > userfaultfd-wp is always based on pgtable entries, so they cannot be shared. > > > > Walk

Re: [RESEND PATCH ] KVM: VMX: Enable/disable PML when dirty logging gets enabled/disabled

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Makarand Sonare wrote: > >> diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > >> index 777177ea9a35e..eb6639f0ee7eb 100644 > >> --- a/arch/x86/kvm/vmx/vmx.c > >> +++ b/arch/x86/kvm/vmx/vmx.c > >> @@ -4276,7 +4276,7 @@ static void > >>

Re: [PATCHv2 2/2] clk: socfpga: agilex: add clock driver for eASIC N5X platform

2021-02-12 Thread Stephen Boyd
Quoting Dinh Nguyen (2021-02-12 06:30:59) > Add support for Intel's eASIC N5X platform. The clock manager driver for > the N5X is very similar to the Agilex platform, we can re-use most of > the Agilex clock driver. > > This patch makes the necessary changes for the driver to differentiate >

Re: [PATCHv1 1/2] dt-bindings: documentation: add clock bindings information for eASIC N5X

2021-02-12 Thread Stephen Boyd
Quoting Dinh Nguyen (2021-02-12 06:30:58) > Document the Agilex clock bindings, and add the clock header file. The > clock header is an enumeration of all the different clocks on the eASIC > N5X platform. > > Signed-off-by: Dinh Nguyen > --- Applied to clk-next

Re: [PATCH 2/4] perf report: Load PE files from debug cache only

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 12, 2021 at 11:34:24AM -0500, Nicholas Fraser escreveu: > Sorry, I should have been more clear in the commit message. The use case > you outlined still works even with this patch. Ok, I'll clarify that in the commit log then. - Arnaldo > dso__load_bfd_symbols() is called in a loop

Re: [PATCH V2] mm: compaction: update the COMPACT[STALL|FAIL] events properly

2021-02-12 Thread David Rientjes
On Fri, 12 Feb 2021, Charan Teja Reddy wrote: > By definition, COMPACT[STALL|FAIL] events needs to be counted when there > is 'At least in one zone compaction wasn't deferred or skipped from the > direct compaction'. And when compaction is skipped or deferred, > COMPACT_SKIPPED will be returned

altera-msgdma.c:undefined reference to `devm_ioremap'

2021-02-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcc0b49040c70ad827a7f3d58a21b01fdb14e749 commit: 4bdc0d676a643140bdf17dbf7eafedee3d496a3c remove ioremap_nocache and devm_ioremap_nocache date: 1 year, 1 month ago config: s390-randconfig-r035-20210212

Re: [PATCH 2/2] rcu-tasks: add RCU-tasks self tests

2021-02-12 Thread Uladzislau Rezki
On Fri, Feb 12, 2021 at 08:20:59PM +0100, Sebastian Andrzej Siewior wrote: > On 2020-12-09 21:27:32 [+0100], Uladzislau Rezki (Sony) wrote: > > Add self tests for checking of RCU-tasks API functionality. > > It covers: > > - wait API functions; > > - invoking/completion call_rcu_tasks*().

Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrey Konovalov
On Fri, Feb 12, 2021 at 10:08 PM Andrew Morton wrote: > > On Fri, 12 Feb 2021 22:01:38 +0100 Andrey Konovalov > wrote: > > > On Fri, Feb 12, 2021 at 9:54 PM Andrew Morton > > wrote: > > > > > > On Fri, 12 Feb 2021 21:21:39 +0100 Andrey Konovalov > > > wrote: > > > > > > > > > The wrappers

Re: [PATCH] nvme-tcp: Check if request has started before processing it

2021-02-12 Thread Keith Busch
On Fri, Feb 12, 2021 at 12:58:27PM -0800, Sagi Grimberg wrote: > > blk_mq_tag_to_rq() will always return a request if the command_id is > > in the valid range. Check if the request has been started. If we > > blindly process the request we might double complete a request which > > can be fatal. >

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Dave Hansen
On 2/12/21 12:54 PM, Sean Christopherson wrote: > Ah, I see what you're thinking. > > Treating an EPT #VE as fatal was also considered as an option. IIUC it was > thought that finding every nook and cranny that could access a page, without > forcing the kernel to pre-accept huge swaths of

Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrew Morton
On Fri, 12 Feb 2021 22:01:38 +0100 Andrey Konovalov wrote: > On Fri, Feb 12, 2021 at 9:54 PM Andrew Morton > wrote: > > > > On Fri, 12 Feb 2021 21:21:39 +0100 Andrey Konovalov > > wrote: > > > > > > > The wrappers aren't defined when tests aren't enabled to avoid misuse. > > > > > The

Re: [PATCH 3/4] perf archive: Fix filtering of empty build-ids

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 12, 2021 at 01:49:36PM -0500, Nicholas Fraser escreveu: > The current version of "perf buildid-list" prints missing build-ids as > blank even when loading perf.data files generated from older versions of > perf. I've tested with a few older versions. > > Since perf-archive is an

Re: [PATCH] powerpc/pseries: Don't enforce MSI affinity with kdump

2021-02-12 Thread kernel test robot
Hi Greg, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on linus/master v5.11-rc7 next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-12 Thread Stephen Boyd
Quoting Lee Jones (2021-02-12 01:20:16) > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > Quoting Lee Jones (2021-02-11 13:10:54) > > > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > > > > > Quoting Lee Jones (2021-01-26 04:45:19) > > > > > This set is part of a larger effort attempting to

Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrey Konovalov
On Fri, Feb 12, 2021 at 9:54 PM Andrew Morton wrote: > > On Fri, 12 Feb 2021 21:21:39 +0100 Andrey Konovalov > wrote: > > > > > The wrappers aren't defined when tests aren't enabled to avoid misuse. > > > > The mte_() functions aren't exported directly to avoid having low-level > > > > KASAN

Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

2021-02-12 Thread Rob Herring
On Fri, Feb 12, 2021 at 9:17 AM Guenter Roeck wrote: > > On Fri, Feb 12, 2021 at 08:16:04AM -0600, Rob Herring wrote: > > On Thu, Feb 11, 2021 at 9:31 PM Guenter Roeck wrote: > > > > > > Hi Rob, > > > > > > On Wed, Feb 03, 2021 at 03:26:03PM -0600, Rob Herring wrote: > > > > This adds the

Re: [PATCH] fs: ubifs: set s_uuid in super block to support ima/evm uuid options

2021-02-12 Thread Richard Weinberger
On Tue, Feb 2, 2021 at 1:55 PM Juergen Borleis wrote: > > From: Steffen Trumtrar > > This is required to provide uuid based integrity functionality for: > ima_policy (fsuuid option) and the 'evmctl' command ('--uuid' option). > > Signed-off-by: Steffen Trumtrar > Signed-off-by: Oleksij Rempel

[PATCH net-next 2/3] net: phy: broadcom: Fix RXC/TXC auto disabling

2021-02-12 Thread Florian Fainelli
When support for optionally disabling the TXC was introduced, bit 2 was used to do that operation but the datasheet for 50610M from 2009 does not show bit 2 as being defined. Bit 8 is the one that allows automatic disabling of the RXC/TXC auto disabling during auto power down. Fixes: 52fae0837153

Re: [PATCH] nvme-tcp: Check if request has started before processing it

2021-02-12 Thread Sagi Grimberg
blk_mq_tag_to_rq() will always return a request if the command_id is in the valid range. Check if the request has been started. If we blindly process the request we might double complete a request which can be fatal. How did you get to this one? did the controller send a completion for a

Re: [PATCH v4 0/8] Make fw_devlink=on more forgiving

2021-02-12 Thread Saravana Kannan
On Fri, Feb 12, 2021 at 12:15 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Fri, Feb 12, 2021 at 4:00 AM Saravana Kannan wrote: > > On Thu, Feb 11, 2021 at 5:00 AM Geert Uytterhoeven > > wrote: > > > 1. R-Car Gen2 (Koelsch), R-Car Gen3 (Salvator-X(S), Ebisu). > > > > > > -

Re: [PATCH 0/3] vfio: Device memory DMA mapping improvements

2021-02-12 Thread Jason Gunthorpe
On Fri, Feb 12, 2021 at 12:27:19PM -0700, Alex Williamson wrote: > This series intends to improve some long standing issues with mapping > device memory through the vfio IOMMU interface (ie. P2P DMA mappings). > Unlike mapping DMA to RAM, we can't pin device memory, nor is it > always accessible.

[PATCH net-next 1/3] net: phy: broadcom: Remove unused flags

2021-02-12 Thread Florian Fainelli
We have a number of unused flags defined today and since we are scarce on space and may need to introduce new flags in the future remove and shift every existing flag down into a contiguous assignment. No functional change. Signed-off-by: Florian Fainelli --- include/linux/brcmphy.h | 22

[PATCH net-next 3/3] net: phy: broadcom: Allow BCM54210E to configure APD

2021-02-12 Thread Florian Fainelli
BCM54210E/BCM50212E has been verified to work correctly with the auto-power down configuration done by bcm54xx_adjust_rxrefclk(), add it to the list of PHYs working. Signed-off-by: Florian Fainelli --- drivers/net/phy/broadcom.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net-next 0/3] net: phy: broadcom: APD improvements

2021-02-12 Thread Florian Fainelli
This patch series cleans up the brcmphy.h header and its numerous unused phydev->dev_flags, fixes the RXC/TXC clock disabling bit and allows the BCM54210E PHY to utilize APD. Thanks! Florian Fainelli (3): net: phy: broadcom: Remove unused flags net: phy: broadcom: Fix RXC/TXC auto disabling

Re: [PATCH ghak124 v3] audit: log nftables configuration change events

2021-02-12 Thread Richard Guy Briggs
On 2021-02-12 13:11, Phil Sutter wrote: > Hi, > > On Thu, Feb 11, 2021 at 04:02:55PM -0500, Steve Grubb wrote: > > On Thursday, February 11, 2021 11:29:34 AM EST Paul Moore wrote: > > > > If I'm not mistaken, iptables emits a single audit log per table, ipset > > > > doesn't support audit at all.

[PATCH v7 1/3] usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement

2021-02-12 Thread Serge Semin
of_get_child_by_name() increments the reference counter of the OF node it managed to find. So after the code is done using the device node, the refcount must be decremented. Add missing of_node_put() invocation then to the dwc3_qcom_of_register_core() method, since DWC3 OF node is being used only

[PATCH v7 2/3] usb: dwc3: qcom: Detect DWC3 DT-nodes using compatible string

2021-02-12 Thread Serge Semin
In accordance with the USB HCD/DRD schema all the USB controllers are supposed to have DT-nodes named with prefix "^usb(@.*)?". Since the existing DT-nodes will be renamed in a subsequent patch let's fix the DWC3 Qcom-specific code to detect the DWC3 sub-node just by checking its compatible string

[PATCH v7 3/3] arm64: dts: qcom: Harmonize DWC USB3 DT nodes name

2021-02-12 Thread Serge Semin
In accordance with the DWC USB3 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(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrew Morton
On Fri, 12 Feb 2021 21:21:39 +0100 Andrey Konovalov wrote: > > > The wrappers aren't defined when tests aren't enabled to avoid misuse. > > > The mte_() functions aren't exported directly to avoid having low-level > > > KASAN ifdefs in the arch code. > > > > > > > Please confirm that this is

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Dave Hansen wrote: > On 2/12/21 12:37 PM, Sean Christopherson wrote: > > There needs to be a mechanism for lazy/deferred/on-demand acceptance of > > pages. > > E.g. pre-accepting every page in a VM with hundreds of GB of memory will be > > ridiculously slow. > > > > #VE is

[PATCH] drm: Convert S_ permission uses to octal

2021-02-12 Thread Joe Perches
Convert S_ permissions to the more readable octal. Link: https://lore.kernel.org/lkml/ca+55afw5v23t-zvdzp-mmd_eyxf8wbafwwb59934fv7g21u...@mail.gmail.com/ Done using: $ git ls-files -- drivers/gpu/drm/*.[ch] | xargs ./scripts/checkpatch.pl -f --fix-inplace --types=SYMBOLIC_PERMS No difference

RE: [Linuxarm] Re: [PATCH for next v1 1/2] gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler()

2021-02-12 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Arnd Bergmann [mailto:a...@kernel.org] > Sent: Saturday, February 13, 2021 9:23 AM > To: Grygorii Strashko > Cc: Song Bao Hua (Barry Song) ; Andy Shevchenko > ; luojiaxing ; Linus > Walleij ; Santosh Shilimkar ; > Kevin Hilman ; open list:GPIO SUBSYSTEM > ;

Re: [PATCH ghak124 v3] audit: log nftables configuration change events

2021-02-12 Thread Richard Guy Briggs
On 2021-02-11 15:26, Richard Guy Briggs wrote: > On 2021-02-11 11:29, Paul Moore wrote: > > On Thu, Feb 11, 2021 at 10:16 AM Phil Sutter wrote: > > > Hi, > > > > > > On Thu, Jun 04, 2020 at 09:20:49AM -0400, Richard Guy Briggs wrote: > > > > iptables, ip6tables, arptables and ebtables table

Re: [PATCH v5 02/10] hugetlb/userfaultfd: Forbid huge pmd sharing when uffd enabled

2021-02-12 Thread Axel Rasmussen
On Fri, Feb 12, 2021 at 12:40 PM Peter Xu wrote: > > On Thu, Feb 11, 2021 at 04:19:55PM -0800, Mike Kravetz wrote: > > want_pmd_share() is currently just a check for > > CONFIG_ARCH_WANT_HUGE_PMD_SHARE. > > How about leaving that mostly as is, and adding the new vma checks to > >

Re: [PATCH v3 2/2] serial: 8250: Add new 8250-core based Broadcom STB driver

2021-02-12 Thread Florian Fainelli
On 2/12/2021 11:57 AM, Al Cooper wrote: > Add a UART driver for the new Broadcom 8250 based STB UART. The new > UART is backward compatible with the standard 8250, but has some > additional features. The new features include a high accuracy baud > rate clock system and DMA support. > > The

RE: [PATCH net-next v2 2/5] lan743x: sync only the received area of an rx ring buffer

2021-02-12 Thread Bryan.Whitehead
Hi Sven, see below. > + if (buffer_info->dma_ptr) { > + /* unmap from dma */ > + packet_length = RX_DESC_DATA0_FRAME_LENGTH_GET_ > + (le32_to_cpu(descriptor->data0)); > + if (packet_length == 0 || > +

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Dave Hansen
On 2/12/21 12:37 PM, Sean Christopherson wrote: > There needs to be a mechanism for lazy/deferred/on-demand acceptance of pages. > E.g. pre-accepting every page in a VM with hundreds of GB of memory will be > ridiculously slow. > > #VE is the best option to do that: > > - Relatively sane

Re: [PATCH v2 1/6] perf arm-spe: Enable sample type PERF_SAMPLE_DATA_SRC

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 11, 2021 at 03:38:51PM +0200, James Clark escreveu: > From: Leo Yan > > This patch is to enable sample type PERF_SAMPLE_DATA_SRC for Arm SPE in > the perf data, when output the tracing data, it tells tools that it > contains data source in the memory event. Thanks, series applied.

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Andy Lutomirski wrote: > > > On Feb 12, 2021, at 12:06 PM, Sean Christopherson wrote: > > > > On Fri, Feb 12, 2021, Andy Lutomirski wrote: > >>> On Fri, Feb 5, 2021 at 3:39 PM Kuppuswamy Sathyanarayanan > >>> wrote: > >>> > >>> From: "Kirill A. Shutemov" > >>> > >>>

Re: [PATCH v5 02/10] hugetlb/userfaultfd: Forbid huge pmd sharing when uffd enabled

2021-02-12 Thread Peter Xu
On Thu, Feb 11, 2021 at 04:19:55PM -0800, Mike Kravetz wrote: > want_pmd_share() is currently just a check for > CONFIG_ARCH_WANT_HUGE_PMD_SHARE. > How about leaving that mostly as is, and adding the new vma checks to > vma_shareable(). vma_shareable() would then be something like: > > if

Re: [GIT PULL] cifs fixes

2021-02-12 Thread Steve French
Metze/Bjorn, Linus is right - samba.org is down for me (I also verified with JRA). Any ETA on when it gets back up? On Fri, Feb 12, 2021 at 2:05 PM Linus Torvalds wrote: > > On Fri, Feb 12, 2021 at 10:16 AM Steve French wrote: > > > > git://git.samba.org/sfrench/cifs-2.6.git

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Dave Hansen wrote: > On 2/12/21 12:06 PM, Sean Christopherson wrote: > >> What happens if the guest attempts to access a secure GPA that is not > >> ACCEPTed? For example, suppose the VMM does THH.MEM.PAGE.REMOVE on a > >> secure > >> address and the guest accesses it, via

Re: [PATCH] MIPS: Fix inline asm input/output type mismatch in checksum.h used with Clang

2021-02-12 Thread Maciej W. Rozycki
On Wed, 27 Jan 2021, Thomas Bogendoerfer wrote: > > Fix the following build error when make M=samples/bpf used with Clang: > > > > CLANG-bpf samples/bpf/sockex2_kern.o > > In file included from samples/bpf/sockex2_kern.c:7: > > In file included from ./include/uapi/linux/if_tunnel.h:7: > > In

Re: [PATCH] perf env: Remove unneeded internal/cpumap inclusions

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 12, 2021 at 09:33:45AM +0100, Jiri Olsa escreveu: > On Thu, Feb 11, 2021 at 10:39:14AM -0800, Ian Rogers wrote: > > Minor cleanup. > > > > Signed-off-by: Ian Rogers > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo > thanks, > jirka > > > --- > >

Re: [PATCH v2 1/2] cpu/hotplug: Fix build error of using {add,remove}_cpu() with !CONFIG_SMP

2021-02-12 Thread Randy Dunlap
On 2/12/21 8:55 AM, shuo.a@intel.com wrote: > From: Shuo Liu > > 279dcf693ac7 ("virt: acrn: Introduce an interface for Service VM to > control vCPU") introduced {add,remove}_cpu() usage and it hit below > error with !CONFIG_SMP: > > ../drivers/virt/acrn/hsm.c: In function

Re: [PATCH][RFC] perf annotate: show full line locations with 'k' in UI

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 12, 2021 at 03:42:47PM +0100, Martin Liška escreveu: > Hello. > > Sometimes it's handy to display also a filename of a source location, mainly > because > source lines can come from different files. I extended 'k' hotkey and one can > now see: > > 1) no source lines: > > 1.31 │

Re: [PATCH v2 2/2] virt: acrn: Make remove_cpu sysfs invisible with !CONFIG_HOTPLUG_CPU

2021-02-12 Thread Randy Dunlap
On 2/12/21 8:55 AM, shuo.a@intel.com wrote: > From: Shuo Liu > > Without cpu hotplug support, vCPU cannot be removed from a Service VM. > Don't expose remove_cpu sysfs when CONFIG_HOTPLUG_CPU disabled. > > Signed-off-by: Shuo Liu Acked-by: Randy Dunlap # build-tested Thanks. > --- >

drivers/accessibility/speakup/serialio.c:48:19: warning: variable 'quot' set but not used

2021-02-12 Thread kernel test robot
config: parisc-randconfig-r025-20210212 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: [PATCH 3/3] [v3] lib/vsprintf: debug_never_hash_pointers prints all addresses as unhashed

2021-02-12 Thread Timur Tabi
On 2/12/21 4:01 AM, Petr Mladek wrote: no_hash_pointers ? I am fine with this. I am still a bit scared of a bikeshedng. But AFAIK, Mathew was most active on proposing clear names. So, when he is fine with this... Anyway, we should use the same name also for the variable. Ok, unless there

Re: [PATCH v3 1/3] misc/pvpanic: split-up generic and platform dependent code

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 8:32 PM Mihai Carabas wrote: > > Split-up generic and platform dependent code in order to be able to re-use > generic event handling code in pvpanic PCI device driver in the next patches. > > The code from pvpanic.c was split in two new files: > - pvpanic.c: generic code

Re: [PATCH V3 11/14] coresight: sink: Add TRBE driver

2021-02-12 Thread Mathieu Poirier
On Wed, Jan 27, 2021 at 02:25:35PM +0530, Anshuman Khandual wrote: > Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is > accessible via the system registers. The TRBE supports different addressing > modes including CPU virtual address and buffer modes including the circular

RE: [PATCH net-next v2 1/5] lan743x: boost performance on cpu archs w/o dma cache snooping

2021-02-12 Thread Bryan.Whitehead
Hi Sven, > Subject: [PATCH net-next v2 1/5] lan743x: boost performance on cpu archs > w/o dma cache snooping > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > From: Sven Van Asbroeck > > The buffers in the lan743x driver's receive ring are

Re: [PATCH] perf libperf: Remove unused xyarray.c

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 12, 2021 at 09:33:58AM +0100, Jiri Olsa escreveu: > On Thu, Feb 11, 2021 at 08:38:03PM -0800, Ian Rogers wrote: > > Migrated to libperf in: > > commit 4b247fa7314c ("libperf: Adopt xyarray class from perf") > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo > thanks, > jirka >

Re: [Linuxarm] Re: [PATCH for next v1 1/2] gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler()

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 12:53 PM Grygorii Strashko wrote: > > The worst RT case I can imagine is when gpio API is still called from hard > IRQ context by some > other device driver - some toggling for example. > Note. RT or "threadirqs" does not mean gpiochip become sleepable. > > In this case:

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Ian Lance Taylor
On Fri, Feb 12, 2021 at 8:28 AM Greg KH wrote: > > On Fri, Feb 12, 2021 at 07:59:04AM -0800, Ian Lance Taylor wrote: > > On Fri, Feb 12, 2021 at 7:45 AM Greg KH wrote: > > > > > > On Fri, Feb 12, 2021 at 07:33:57AM -0800, Ian Lance Taylor wrote: > > > > On Fri, Feb 12, 2021 at 12:38 AM Greg KH

Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrey Konovalov
On Fri, Feb 12, 2021 at 9:16 PM Andrew Morton wrote: > > On Fri, 12 Feb 2021 21:08:52 +0100 Andrey Konovalov > wrote: > > > Currently, building KASAN-KUnit tests as a module fails with: > > > > ERROR: modpost: "mte_enable_kernel" [lib/test_kasan.ko] undefined! > > ERROR: modpost:

[PATCH v3] add support for pci in the pvpanic driver

2021-02-12 Thread Mihai Carabas
This patchset adds support for PCI in the pvpanic driver. The device already got in qemu [1]. v2: - mmio -> MMIO, pci -> PCI suggested by Randy Dunlap. - group pvpanic-common.c and mmio.c in the same module. The intention was to have only one module and the common code splitted up to be re-used

[PATCH v3 1/3] misc/pvpanic: split-up generic and platform dependent code

2021-02-12 Thread Mihai Carabas
Split-up generic and platform dependent code in order to be able to re-use generic event handling code in pvpanic PCI device driver in the next patches. The code from pvpanic.c was split in two new files: - pvpanic.c: generic code that handles pvpanic events - pvpanic-mmio.c: platform/bus

[PATCH v3 2/3] misc/pvpanic: probe multiple instances

2021-02-12 Thread Mihai Carabas
Create the mecahism that allows multiple pvpanic instances to call pvpanic_probe and receive panic events. A global list will retain all the mapped addresses where to write panic events. Signed-off-by: Mihai Carabas --- drivers/misc/pvpanic/pvpanic-mmio.c | 9 ++---

[PATCH v3 3/3] misc/pvpanic: add PCI driver

2021-02-12 Thread Mihai Carabas
Add support for pvpanic PCI device added in qemu [1]. At probe time, obtain the address where to read/write pvpanic events and pass it to the generic handling code. Will follow the same logic as pvpanic MMIO device driver. At remove time, unmap base address and disable PCI device. [1]

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Andy Lutomirski
> On Feb 12, 2021, at 12:06 PM, Sean Christopherson wrote: > > On Fri, Feb 12, 2021, Andy Lutomirski wrote: >>> On Fri, Feb 5, 2021 at 3:39 PM Kuppuswamy Sathyanarayanan >>> wrote: >>> >>> From: "Kirill A. Shutemov" >>> >>> The TDX module injects #VE exception to the guest TD in cases of

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Dave Hansen
On 2/12/21 12:06 PM, Sean Christopherson wrote: >> What happens if the guest attempts to access a secure GPA that is not >> ACCEPTed? For example, suppose the VMM does THH.MEM.PAGE.REMOVE on a secure >> address and the guest accesses it, via instruction fetch or data access. >> What happens? >

Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrew Morton
On Fri, 12 Feb 2021 21:08:52 +0100 Andrey Konovalov wrote: > Currently, building KASAN-KUnit tests as a module fails with: > > ERROR: modpost: "mte_enable_kernel" [lib/test_kasan.ko] undefined! > ERROR: modpost: "mte_set_report_once" [lib/test_kasan.ko] undefined! > > This change adds KASAN

RE: [PATCH net-next v2 0/5] lan743x speed boost

2021-02-12 Thread Bryan.Whitehead
Hi Sven, see below > - Bryan Whitehead: > + multi-buffer patch concept "looks good". > As a result, I will squash the intermediate "dma buffer only" patch > which > demonstrated the speed boost using an inflexible solution > (w/o multi-buffers). > + Rename

Re: [PATCH V3 16/19] virtio-pci: introduce modern device module

2021-02-12 Thread Guenter Roeck
On Mon, Jan 04, 2021 at 02:55:00PM +0800, Jason Wang wrote: > Signed-off-by: Jason Wang > Reported-by: Naresh Kamboju I don't really see the point of having to enable VIRTIO_PCI_MODERN because otherwise VIRTIO_PCI no longer works. If VIRTIO_PCI now requires VIRTIO_PCI_MODERN, maybe it should

Re: [GIT PULL] tracing: Check length before giving out the filter buffer

2021-02-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Feb 2021 09:45:17 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > trace-v5.11-rc7-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e77a6817d413589be35461d0cd5a431a6794b3b9 Thank you! --

Re: [git pull] drm fixes for 5.11 final

2021-02-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Feb 2021 15:20:52 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2021-02-12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a81bfdf8bf5396824d7d139560180854cb599b06 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] arm64 fix for 5.11

2021-02-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Feb 2021 18:06:52 +: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/93908500b8da0423c9f0511130c8ab86d59576a0 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] xen: branch for v5.11-rc8

2021-02-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Feb 2021 07:01:11 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.11-rc8-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2dbbaae5f7b3855697e2decc5de79c7574403254 Thank you! -- Deet-doot-dot,

Re: [PATCH 2/3] net:ethernet:rmnet:Support for downlink MAPv5 csum offload

2021-02-12 Thread subashab
On 2021-02-12 12:06, Alex Elder wrote: On 2/12/21 12:51 PM, Jakub Kicinski wrote: On Fri, 12 Feb 2021 08:01:15 -0600 Alex Elder wrote: On 2/11/21 8:04 PM, Jakub Kicinski wrote: On Fri, 12 Feb 2021 03:05:23 +0530 Sharath Chandra Vurukala wrote: +/* MAP CSUM headers */ +struct

Re: [GIT PULL] A Single RISC-V Fix for 5.11-rc8 (or 5.11)

2021-02-12 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Feb 2021 10:30:04 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.11-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f9516259804123c416c4a9de40bc2e14d686478e Thank you! --

[PATCH mm] kasan: export HW_TAGS symbols for KUnit tests

2021-02-12 Thread Andrey Konovalov
Currently, building KASAN-KUnit tests as a module fails with: ERROR: modpost: "mte_enable_kernel" [lib/test_kasan.ko] undefined! ERROR: modpost: "mte_set_report_once" [lib/test_kasan.ko] undefined! This change adds KASAN wrappers for mte_enable_kernel() and mte_set_report_once() and only defines

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Andy Lutomirski wrote: > On Fri, Feb 5, 2021 at 3:39 PM Kuppuswamy Sathyanarayanan > wrote: > > > > From: "Kirill A. Shutemov" > > > > The TDX module injects #VE exception to the guest TD in cases of > > disallowed instructions, disallowed MSR accesses and subset of CPUID >

RE: [Linuxarm] Re: [PATCH for next v1 1/2] gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler()

2021-02-12 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Grygorii Strashko [mailto:grygorii.stras...@ti.com] > Sent: Saturday, February 13, 2021 3:09 AM > To: Song Bao Hua (Barry Song) ; Andy Shevchenko > > Cc: Arnd Bergmann ; luojiaxing ; Linus > Walleij ; Santosh Shilimkar ; > Kevin Hilman ; open list:GPIO

Re: [GIT PULL] cifs fixes

2021-02-12 Thread Linus Torvalds
On Fri, Feb 12, 2021 at 10:16 AM Steve French wrote: > > git://git.samba.org/sfrench/cifs-2.6.git tags/5.11-rc7-smb3 It looks like git.samba.org is feeling very sick and is not answering. Not git, not ping (but maybe icmp ping is blocked). Please give it a kick, or provide some other hosting

Re: [PATCH 03/13] arm64: dts: sc7280: Add basic dts/dtsi files for SC7280 soc

2021-02-12 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Rajendra-Nayak/Add-binding-updates-and-DT-files-for-SC7280-SoC/20210212-154029 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allyesconfig

[bug report] octeontx2-af: cn10k: Identical code for different branches

2021-02-12 Thread Gustavo A. R. Silva
Hi, In file drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c, function rvu_dbg_init() the same code is executed for both branches: 2431 if (is_rvu_otx2(rvu)) 2432 debugfs_create_file("rvu_pf_cgx_map", 0444, rvu->rvu_dbg.root, 2433

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-12 Thread Shuah Khan
On 2/11/21 9:58 PM, Tetsuo Handa wrote: On 2021/02/12 11:22, Tetsuo Handa wrote: On 2021/02/12 10:34, Shuah Khan wrote: On 2/10/21 6:14 PM, Tetsuo Handa wrote: (Dropping LSM ML because this is not a TOMOYO's bug.) On 2021/02/11 4:29, Shuah Khan wrote: This is a good find. I already replied

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