Re: [PATCH 18/18] ipu3: Add driver for dummy INT3472 ACPI device

2020-12-01 Thread Hans de Goede
Hi, On 12/1/20 8:21 PM, Andy Shevchenko wrote: > On Tue, Dec 01, 2020 at 09:06:38PM +0200, Laurent Pinchart wrote: >> On Tue, Dec 01, 2020 at 09:05:23PM +0200, Andy Shevchenko wrote: >>> On Tue, Dec 01, 2020 at 08:55:48PM +0200, Laurent Pinchart wrote: On Tue, Dec 01, 2020 at 08:54:17PM

[PATCH v1 1/1] mfd: intel-m10-bmc: expose mac address and count

2020-12-01 Thread Russ Weight
Create two sysfs entries for exposing the MAC address and count from the MAX10 BMC register space. Signed-off-by: Russ Weight Signed-off-by: Xu Yilun --- .../ABI/testing/sysfs-driver-intel-m10-bmc| 20 + drivers/mfd/intel-m10-bmc.c | 43 +++

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-12-01 Thread Richard Gong
Hi Moritz, On 12/1/20 1:19 PM, Moritz Fischer wrote: Hi Richard, On Tue, Dec 01, 2020 at 01:30:16PM -0600, Richard Gong wrote: Can U-Boot determine whether it's the new or old flow? Can you set a different compatible value in your device-tree, to disambiguate behaviors? The boot flow is

[PATCH v2] mm: mmap_lock: fix use-after-free race and css ref leak in tracepoints

2020-12-01 Thread Axel Rasmussen
syzbot reported[1] a use-after-free introduced in 0f818c4bc1f3. The bug is that an ongoing trace event might race with the tracepoint being disabled (and therefore the _unreg() callback being called). Consider this ordering: T1: trace event fires, get_mm_memcg_path() is called T1:

Re: [PATCH v9 2/2] fs: ext4: Modify inode-test.c to use KUnit parameterized testing feature

2020-12-01 Thread Iurii Zaikin
> > Modify fs/ext4/inode-test.c to use the parameterized testing > feature of KUnit. Reviewed-by: Iurii Zaikin

Re: [PATCH v2 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-01 Thread Kees Cook
On Tue, Nov 24, 2020 at 11:37:20AM +, Christoph Hellwig wrote: > Please hold this off for now. I have a major rewrite of the pstore/blk > interface pending.. I'm fine with taking these patches -- they're using the pstore "device" interface, not the pstore "blk" interface, and I don't expect

Re: [PATCH] riscv: toggle mmu_enabled flag in a precise manner

2020-12-01 Thread Vitaly Wool
On Tue, Dec 1, 2020 at 6:40 PM Atish Patra wrote: > > On Tue, Dec 1, 2020 at 1:01 AM wrote: > > > > From: Vitaly Wool > > > > Cuurently mmu_enabled flag is set to true way later than the actual > > MMU enablement takes place. This leads to hard-to-track races in > > e. g. SBI earlycon

Re: [PATCH v2 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-01 Thread Kees Cook
On Mon, Nov 23, 2020 at 04:49:24PM +0530, Bhaskara Budiredla wrote: > This patch introduces to mmcpstore. The functioning of mmcpstore > is similar to mtdpstore. mmcpstore works on FTL based flash devices > whereas mtdpstore works on raw flash devices. When the system crashes, > mmcpstore stores

Re: [PATCH bpf-next 1/2] bpf: Add a bpf_kallsyms_lookup helper

2020-12-01 Thread Florent Revest
On Mon, 2020-11-30 at 18:41 -0800, Alexei Starovoitov wrote: > On Mon, Nov 30, 2020 at 05:23:22PM +0100, Florent Revest wrote: > > On Sat, 2020-11-28 at 17:07 -0800, Alexei Starovoitov wrote: > > > Looks like debug-only helper. > > > I cannot think of a way to use in production code. > > > What

Re: [PATCH v3] checkpatch: fix TYPO_SPELLING check for words with apostrophe

2020-12-01 Thread Joe Perches
On Tue, 2020-12-01 at 11:32 -0800, Joe Perches wrote: > On Wed, 2020-12-02 at 00:37 +0530, Dwaipayan Ray wrote: > > checkpatch reports a false TYPO_SPELLING warning for some words > > containing an apostrophe when run with --codespell option. Hey Andrew. If Dwaipayan doesn't mind, can you update

Re: [PATCH v4 net-next 4/4] nfc: s3fwrn5: Support a UART interface

2020-12-01 Thread Krzysztof Kozlowski
On Tue, Dec 01, 2020 at 10:50:28PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > Since S3FWRN82 NFC Chip, The UART interface can be used. > S3FWRN82 uses NCI protocol and supports I2C and UART interface. > > Signed-off-by: Bongsu Jeon > --- > drivers/nfc/s3fwrn5/Kconfig | 12 +++ >

Re: [PATCH v5 2/2] pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver

2020-12-01 Thread Alex Elder
On 12/1/20 8:28 AM, Srinivas Kandagatla wrote: Add initial pinctrl driver to support pin configuration for LPASS (Low Power Audio SubSystem) LPI (Low Power Island) pinctrl on SM8250. This IP is an additional pin control block for Audio Pins on top the existing SoC Top level pin-controller.

Re: [PATCH RESEND] misc/vmw_vmci: bail out earlier on too big queue allocation

2020-12-01 Thread Arnd Bergmann
On Mon, Nov 23, 2020 at 10:01 PM Norbert Slusarek wrote: > > From: Norbert Slusarek > Date: Mon, 23 Nov 2020 21:53:41 +0100 > Subject: [PATCH RESEND] misc/vmw_vmci: bail out earlier on too big queue > allocation > > For the allocation of a queue pair in qp_host_alloc_queue() an arbitrary value

Re: [PATCH v4 net-next 3/4] nfc: s3fwrn5: extract the common phy blocks

2020-12-01 Thread Krzysztof Kozlowski
On Tue, Dec 01, 2020 at 10:50:27PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > Extract the common phy blocks to reuse it. > The UART module will use the common blocks. > > Signed-off-by: Bongsu Jeon > --- > drivers/nfc/s3fwrn5/Makefile | 2 +- > drivers/nfc/s3fwrn5/i2c.c|

Re: [RFC v2 0/2] Introduce perf-stat -b for BPF programs

2020-12-01 Thread Jiri Olsa
On Mon, Nov 30, 2020 at 11:36:45PM -0800, Song Liu wrote: > This set introduces perf-stat -b option to count events for BPF programs. > This is similar to bpftool-prog-profile. But perf-stat makes it much more > flexible. > > Sending as RFC because I haven't addressed some known limitations: >

Re: [PATCH] pstore: Fix passing zero to 'PTR_ERR' warning

2020-12-01 Thread Kees Cook
On Sat, Oct 31, 2020 at 01:59:31PM +0800, YueHaibing wrote: > Fix smatch warning: > > fs/pstore/platform.c:320 allocate_buf_for_compression() warn: passing zero to > 'PTR_ERR' > > crypto_alloc_comp() never return NULL, use IS_ERR > instead of IS_ERR_OR_NULL to fix this. > > Signed-off-by:

Re: [PATCH] genksyms: Ignore module scoped _Static_assert()

2020-12-01 Thread Marco Elver
On Tue, 1 Dec 2020 at 21:00, Nick Desaulniers wrote: > > On Tue, Dec 1, 2020 at 7:21 AM Marco Elver wrote: > > > > The C11 _Static_assert() keyword may be used at module scope, and we > > need to teach genksyms about it to not abort with an error. We currently > > have a growing number of

Re: [PATCH v2 5/6] PCI: brcmstb: Add panic/die handler to RC driver

2020-12-01 Thread Jim Quinlan
On Tue, Dec 1, 2020 at 1:05 PM Bjorn Helgaas wrote: > > On Mon, Nov 30, 2020 at 04:11:42PM -0500, Jim Quinlan wrote: > > Whereas most PCIe HW returns 0x on illegal accesses and the like, > > by default Broadcom's STB PCIe controller effects an abort. This simple > > handler determines if

Re: [v2 PATCH] mm: list_lru: set shrinker map bit when child nr_items is not zero

2020-12-01 Thread Yang Shi
On Tue, Dec 1, 2020 at 11:52 AM Roman Gushchin wrote: > > On Tue, Dec 01, 2020 at 09:44:49AM -0800, Yang Shi wrote: > > When investigating a slab cache bloat problem, significant amount of > > negative dentry cache was seen, but confusingly they neither got shrunk > > by reclaimer (the host has

[PATCH v2 2/3] KVM: arm64: Fix handling of merging tables into a block entry

2020-12-01 Thread Yanan Wang
In dirty logging case(logging_active == True), we need to collapse a block entry into a table if necessary. After dirty logging is canceled, when merging tables back into a block entry, we should not only free the non-huge page-table pages but also invalidate all the TLB entries of non-huge

[PATCH] pstore: Move kmsg_bytes default into Kconfig

2020-12-01 Thread Kees Cook
From: Vasile-Laurentiu Stanimir While kmsg_bytes can be set for pstore via mount, if a crash occurs before the mount only partial console log will be stored as kmsg_bytes defaults to a potentially different hardcoded value in the kernel (PSTORE_DEFAULT_KMSG_BYTES). This makes it impossible to

[PATCH v2 0/3] Fix several bugs in KVM stage 2 translation

2020-12-01 Thread Yanan Wang
When installing a new pte entry or updating an old valid entry in stage 2 translation, we use get_page()/put_page() to record page_count of the page-table pages. PATCH 1/3 aims to fix incorrect use of get_page()/put_page() in stage 2, which might make page-table pages unable to be freed when

Re: [stable 4.9] PANIC: double fault, error_code: 0x0 - clang boot failed on x86_64

2020-12-01 Thread Nick Desaulniers
On Tue, Dec 1, 2020 at 12:19 AM Greg Kroah-Hartman wrote: > > On Mon, Nov 30, 2020 at 12:12:39PM -0800, Nick Desaulniers wrote: > > On Wed, Nov 25, 2020 at 10:38 PM Greg Kroah-Hartman > > wrote: > > > > > > Is the mainline 4.9 tree supposed to work with clang? I didn't think > > > that upstream

[PATCH v2 3/3] KVM: arm64: Add usage of stage 2 fault lookup level in user_mem_abort()

2020-12-01 Thread Yanan Wang
If we get a FSC_PERM fault, just using (logging_active && writable) to determine calling kvm_pgtable_stage2_map(). There will be two more cases we should consider. (1) After logging_active is configged back to false from true. When we get a FSC_PERM fault with write_fault and adjustment of

[PATCH v2 1/3] KVM: arm64: Fix possible memory leak in kvm stage2

2020-12-01 Thread Yanan Wang
When installing a new leaf pte onto an invalid ptep, we need to get_page(ptep). When just updating a valid leaf ptep, we shouldn't get_page(ptep). Incorrect page_count of translation tables might lead to memory leak, when unmapping a stage 2 memory range. Signed-off-by: Yanan Wang ---

Re: [RFC PATCH 1/3] KVM: arm64: Fix possible memory leak in kvm stage2

2020-12-01 Thread wangyanan (Y)
On 2020/12/2 2:15, Will Deacon wrote: On Wed, Dec 02, 2020 at 01:19:35AM +0800, wangyanan (Y) wrote: On 2020/12/1 22:16, Will Deacon wrote: On Tue, Dec 01, 2020 at 03:21:23PM +0800, wangyanan (Y) wrote: On 2020/11/30 21:21, Will Deacon wrote: On Mon, Nov 30, 2020 at 08:18:45PM +0800, Yanan

Re: [PATCH -tip 26/32] sched: Add a second-level tag for nested CGroup usecase

2020-12-01 Thread Joel Fernandes
Hi Peter, On Wed, Nov 25, 2020 at 02:42:37PM +0100, Peter Zijlstra wrote: > On Tue, Nov 17, 2020 at 06:19:56PM -0500, Joel Fernandes (Google) wrote: > > From: Josh Don > > > > Google has a usecase where the first level tag to tag a CGroup is not > > sufficient. So, a patch is carried for years

Re: [PATCH v4 net-next 1/4] dt-bindings: net: nfc: s3fwrn5: Support a UART interface

2020-12-01 Thread Krzysztof Kozlowski
On Tue, Dec 01, 2020 at 10:50:25PM +0900, Bongsu Jeon wrote: > From: Bongsu Jeon > > Since S3FWRN82 NFC Chip, The UART interface can be used. > S3FWRN82 supports I2C and UART interface. > > Signed-off-by: Bongsu Jeon > --- > .../bindings/net/nfc/samsung,s3fwrn5.yaml | 32 >

Re: [PATCH 2/2] statx: move STATX_ATTR_DAX attribute handling to filesystems

2020-12-01 Thread Linus Torvalds
On Tue, Dec 1, 2020 at 8:59 AM Eric Sandeen wrote: > > It's a bit odd to set STATX_ATTR_DAX into the statx attributes in the VFS; > while the VFS can detect the current DAX state, it is the filesystem which > actually sets S_DAX on the inode, and the filesystem is the place that > knows whether

Re: [PATCH v13 0/4] userspace MHI client interface driver

2020-12-01 Thread Jakub Kicinski
On Tue, 1 Dec 2020 12:40:50 -0700 Jeffrey Hugo wrote: > On 12/1/2020 12:29 PM, Jakub Kicinski wrote: > > On Fri, 27 Nov 2020 19:26:02 -0800 Hemant Kumar wrote: > >> This patch series adds support for UCI driver. UCI driver enables userspace > >> clients to communicate to external MHI devices

Re: [PATCH 0/2] RFC: Precise TSC migration

2020-12-01 Thread Marcelo Tosatti
On Tue, Dec 01, 2020 at 02:30:39PM +0200, Maxim Levitsky wrote: > On Mon, 2020-11-30 at 16:16 -0300, Marcelo Tosatti wrote: > > Hi Maxim, > > > > On Mon, Nov 30, 2020 at 03:35:57PM +0200, Maxim Levitsky wrote: > > > Hi! > > > > > > This is the first version of the work to make TSC migration more

Re: [PATCH] genksyms: Ignore module scoped _Static_assert()

2020-12-01 Thread Nick Desaulniers
On Tue, Dec 1, 2020 at 7:21 AM Marco Elver wrote: > > The C11 _Static_assert() keyword may be used at module scope, and we > need to teach genksyms about it to not abort with an error. We currently > have a growing number of static_assert() (but also direct usage of > _Static_assert()) users at

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-01 Thread Jerry Snitselaar
Jerry Snitselaar @ 2020-11-30 20:26 MST: > Jerry Snitselaar @ 2020-11-30 19:58 MST: > >> When enabling the interrupt code for the tpm_tis driver we have >> noticed some systems have a bios issue causing an interrupt storm to >> occur. The issue isn't limited to a single tpm or system

Re: [PATCH] net: broadcom CNIC: requires MMU

2020-12-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 28 Nov 2020 23:08:43 -0800 you wrote: > The CNIC kconfig symbol selects UIO and UIO depends on MMU. > Since 'select' does not follow dependency chains, add the same MMU > dependency to CNIC. > > Quietens this kconfig

Re: [PATCH] phy: samsung: Fix build break in USB2 PHY driver for Exynos5420 SoCs

2020-12-01 Thread Krzysztof Kozlowski
On Tue, Dec 01, 2020 at 06:09:05PM +0100, Marek Szyprowski wrote: > Exynos5420 variant of USB2 PHY is handled by the same code as the > Exynos5250 one. Introducing a separate Kconfig symbol for it was an > over-engineering, which turned out to cause build break for certain > configurations: > >

[PATCH net-next] net: ipa: fix build-time bug in ipa_hardware_config_qsb()

2020-12-01 Thread Alex Elder
Jon Hunter reported observing a build bug in the IPA driver: https://lore.kernel.org/netdev/5b5d9d40-94d5-5dad-b861-fd9bef826...@nvidia.com The problem is that the QMB0 max read value set for IPA v4.5 (16) is too large to fit in the 4-bit field. This is a quick fix to resolve the build bug;

[PATCH 3/3] intel-hid: disable switches on Dell Latitute 7410 2in1

2020-12-01 Thread Elia Devito
Disable switches on Dell Latitute 7410 2in1 due firmware bug Signed-off-by: Elia Devito --- maybe Mario Limonciello can help on this drivers/platform/x86/intel-hid.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel-hid.c

[PATCH 2/3] intel-hid: add option to enable/disable switches

2020-12-01 Thread Elia Devito
Add option to force enable/disable switches support. Signed-off-by: Elia Devito --- drivers/platform/x86/intel-hid.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c index

Re: [PATCH] genksyms: Ignore module scoped _Static_assert()

2020-12-01 Thread Nick Desaulniers
On Tue, Dec 1, 2020 at 9:04 AM Marco Elver wrote: > > On Tue, Dec 01, 2020 at 04:14PM +, Christoph Hellwig wrote: > > Why not use the kernels own BUILD_BUG_ON instead of this idiom? > > BUILD_BUG_ON() was conceived before there was builtin compiler-support > in the form of _Static_assert()

[PATCH 1/3] intel-hid: add support for SW_TABLET_MODE

2020-12-01 Thread Elia Devito
Add support for SW_TABLET_MODE for convertibles notebook. Exactly as intel-vbtn driver, the event code 0xcc is emitted by convertibles when entering tablet mode and 0xcd when return to laptop mode. Signed-off-by: Elia Devito --- more info: https://bugzilla.kernel.org/show_bug.cgi?id=207433

Re: [PATCH v2 00/13] arch, mm: deprecate DISCONTIGMEM

2020-12-01 Thread John Paul Adrian Glaubitz
Hi Mike! On 12/1/20 4:07 PM, John Paul Adrian Glaubitz wrote: > This fixes the issue for me. > > Tested-by: John Paul Adrian Glaubitz I just booted the kernel from the linux-mm branch and I can't get the hpsa driver to work anymore. Even if I compile it into the kernel, the driver is no

Re: [PATCH 0/6] arm64: dts: qcom: qrb5165-rb5 audio support

2020-12-01 Thread Dmitry Baryshkov
On 01/12/2020 18:37, Srinivas Kandagatla wrote: This patchset adds support to Qualcomm Robotics RB5 Development Kit based on QRB5165 Robotics SoC. This board has 2 WSA881X smart speakers with onboard DMIC connected to internal LPASS codec via WSA and VA macros respectively. All the audio

Re: [PATCH 9/9] pstore/blk: don't depend on CONFIG_BLOCK

2020-12-01 Thread Kees Cook
On Fri, Oct 16, 2020 at 03:20:47PM +0200, Christoph Hellwig wrote: > pstore-blk contains of two different layers: > > a) a tiny layer of sugar coating ontop of pstore-zone. This part has > no dependencies on the block layer, and can be used e.g. by mtd > b) an implementation of a default

Re: [v2 PATCH] mm: list_lru: set shrinker map bit when child nr_items is not zero

2020-12-01 Thread Roman Gushchin
On Tue, Dec 01, 2020 at 09:44:49AM -0800, Yang Shi wrote: > When investigating a slab cache bloat problem, significant amount of > negative dentry cache was seen, but confusingly they neither got shrunk > by reclaimer (the host has very tight memory) nor be shrunk by dropping > cache. The vmcore

Re: [PATCH 8/9] pstore/blk: use the normal block device I/O path

2020-12-01 Thread Kees Cook
On Fri, Oct 16, 2020 at 03:20:46PM +0200, Christoph Hellwig wrote: > Stop poking into block layer internals and just open the block device > file an use kernel_read and kernel_write on it. Note that this means > the transformation from name_to_dev_t can't be used anymore, and proper > block

Re: linux-next: Tree for Dec 1 [crypto/aegis128.ko]

2020-12-01 Thread Randy Dunlap
On 12/1/20 2:03 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201130: > on i386 or x86_64: CONFIG_CRYPTO_AEGIS128=m CONFIG_CRYPTO_AEGIS128_AESNI_SSE2=y ERROR: modpost: "crypto_aegis128_update_simd" [crypto/aegis128.ko] undefined! -- ~Randy Reported-by: Randy Dunlap

Re: [PATCH v7 00/17] Add support for Clang LTO

2020-12-01 Thread Nick Desaulniers
On Tue, Dec 1, 2020 at 9:31 AM Kees Cook wrote: > > On Mon, Nov 30, 2020 at 12:01:31PM +, Will Deacon wrote: > > Hi Sami, > > > > On Wed, Nov 18, 2020 at 02:07:14PM -0800, Sami Tolvanen wrote: > > > This patch series adds support for building the kernel with Clang's > > > Link Time

RE: [PATCH 1/5] ARM: configs: drop unused BACKLIGHT_GENERIC option

2020-12-01 Thread ZHIZHIKIN Andrey
Hello Arnd, > -Original Message- > From: Arnd Bergmann > Sent: Tuesday, December 1, 2020 4:50 PM > To: Alexandre Belloni > Cc: Catalin Marinas ; ZHIZHIKIN Andrey > ; Krzysztof Kozlowski > ; li...@armlinux.org.uk; nicolas.fe...@microchip.com; > ludovic.desroc...@microchip.com;

Re: [PATCH v2 4/4] dma-buf: heaps: add chunk heap to dmabuf heaps

2020-12-01 Thread John Stultz
On Tue, Dec 1, 2020 at 9:51 AM Minchan Kim wrote: Thanks for reworking and resending this! ... > +static int __init chunk_heap_init(void) > +{ > + struct cma *default_cma = dev_get_cma_area(NULL); > + struct dma_heap_export_info exp_info; > + struct chunk_heap *chunk_heap; > +

Re: [PATCH v2] net: dsa: ksz8795: adjust CPU link to host interface

2020-12-01 Thread Vladimir Oltean
Hi Jean, On Tue, Dec 01, 2020 at 07:58:01PM +0100, Jean Pihet wrote: > Hi Andrew, > > On Tue, Dec 1, 2020 at 7:41 PM Andrew Lunn wrote: > > > > On Tue, Dec 01, 2020 at 09:34:08AM +0100, Jean Pihet wrote: > > > Add support for RGMII in 100 and 1000 Mbps. > > > > > > Adjust the CPU port settings

Re: [PATCH net-next v1 3/3] af_vsock: Assign the vsock transport considering the vsock address flag

2020-12-01 Thread Paraschiv, Andra-Irina
On 01/12/2020 18:23, Stefano Garzarella wrote: On Tue, Dec 01, 2020 at 05:25:05PM +0200, Andra Paraschiv wrote: The vsock flag has been set in the connect and (listen) receive paths. When the vsock transport is assigned, the remote CID is used to distinguish between types of connection.

Re: [PATCH v5 2/2] pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver

2020-12-01 Thread Bjorn Andersson
On Tue 01 Dec 08:28 CST 2020, Srinivas Kandagatla wrote: > Add initial pinctrl driver to support pin configuration for > LPASS (Low Power Audio SubSystem) LPI (Low Power Island) pinctrl > on SM8250. > > This IP is an additional pin control block for Audio Pins on top the > existing SoC Top level

Re: [GIT pull] locking/urgent for v5.10-rc6

2020-12-01 Thread Linus Torvalds
On Mon, Nov 30, 2020 at 11:56 PM Peter Zijlstra wrote: > > So even if an architecture needs to enable interrupts on idle, we need > it disabled again when coming out. So we might as well have the arch > idle routine then be: STI; HLT; CLI; because then architectures than can > idle with

Re: [PATCH 1/2] KVM: x86: implement KVM_SET_TSC_PRECISE/KVM_GET_TSC_PRECISE

2020-12-01 Thread Thomas Gleixner
On Mon, Nov 30 2020 at 15:35, Maxim Levitsky wrote: > + struct kvm_tsc_info { > + __u32 flags; > + __u64 nsec; > + __u64 tsc; > + __u64 tsc_adjust; > + }; > + > +flags values for ``struct kvm_tsc_info``: > + > +``KVM_TSC_INFO_TSC_ADJUST_VALID`` > + > + ``tsc_adjust`` contains

Re: [PATCH net-next v1 2/3] virtio_transport_common: Set sibling VMs flag on the receive path

2020-12-01 Thread Paraschiv, Andra-Irina
On 01/12/2020 18:22, Stefano Garzarella wrote: On Tue, Dec 01, 2020 at 05:25:04PM +0200, Andra Paraschiv wrote: The vsock flag can be set during the connect() setup logic, when initializing the vsock address data structure variable. Then the vsock transport is assigned, also considering this

Re: [PATCH 7/9] pstore/blk: remove struct pstore_device_info

2020-12-01 Thread Kees Cook
On Fri, Oct 16, 2020 at 03:20:45PM +0200, Christoph Hellwig wrote: > The total_size and flags are only needed at registrations time, so just > pass them to register_pstore_device directly. > > Signed-off-by: Christoph Hellwig Full NAK on this -- pstore was mess of function argument passing, and

Re: [PATCH 6/9] pstore/zone: split struct pstore_zone_info

2020-12-01 Thread Kees Cook
On Fri, Oct 16, 2020 at 03:20:44PM +0200, Christoph Hellwig wrote: > Split out a new pstore_zone_ops structure for static function pointers > plus the name. Also remove the unused owner field entirely. > > Signed-off-by: Christoph Hellwig On the face of it, this seems fine, but I don't think

Re: [PATCH 34/40] drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Use 'gnu_printf' format notation

2020-12-01 Thread Alex Deucher
On Tue, Dec 1, 2020 at 1:59 PM Christian König wrote: > > Am 01.12.20 um 19:42 schrieb Alex Deucher: > > On Thu, Nov 26, 2020 at 8:44 AM Lee Jones wrote: > >> Fixes the following W=1 kernel build warning(s): > >> > >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c: In >

Re: [PATCH 3/3] firmware: xilinx: Properly align function parameter

2020-12-01 Thread Joe Perches
On Tue, 2020-12-01 at 16:50 +0100, Michal Simek wrote: > Fix parameters alignment reported by checkpatch --strict. Please use a newer checkpatch as the 80 column warning isn't enforced quite the same way. > diff --git a/include/linux/firmware/xlnx-zynqmp.h >

Re: [PATCH v13 0/4] userspace MHI client interface driver

2020-12-01 Thread Jeffrey Hugo
On 12/1/2020 12:29 PM, Jakub Kicinski wrote: On Fri, 27 Nov 2020 19:26:02 -0800 Hemant Kumar wrote: This patch series adds support for UCI driver. UCI driver enables userspace clients to communicate to external MHI devices like modem and WLAN. UCI driver probe creates standard character device

Re: [PATCH 5/9] pstore/blk: simplify the block device open / close path

2020-12-01 Thread Kees Cook
On Fri, Oct 16, 2020 at 03:20:43PM +0200, Christoph Hellwig wrote: > Remove the pointless psblk_get_bdev and psblk_put_bdev helper, > and don't bother holding pstore_blk_lock over the block device > open / close interactions given that they only happen first thing > during module init and last

RE: [PATCH Xilinx Alveo 0/8] Xilinx Alveo/XRT patch overview

2020-12-01 Thread Sonal Santan
Hi, > -Original Message- > From: Rob Herring > Sent: Monday, November 30, 2020 10:09 AM > To: Sonal Santan > Cc: linux-kernel@vger.kernel.org; Sonal Santan ; linux- > f...@vger.kernel.org; Max Zhen ; Lizhi Hou > ; Michal Simek ; Stefano Stabellini > ; devicet...@vger.kernel.org >

[GIT PULL 1/2] drivers: soc: TI SOC changes for 5.11

2020-12-01 Thread Santosh Shilimkar
The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git tags/drivers_soc_for_5.11 for you to fetch changes up

Re: [PATCH v3 5/6] dt-bindings: media: cedrus: Add V3s compatible

2020-12-01 Thread Rob Herring
On Mon, 16 Nov 2020 13:56:16 +0100, Martin Cerveny wrote: > Allwinner V3s SoC contains video engine. Add compatible for it. > > Signed-off-by: Martin Cerveny > --- > .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob

Re: [PATCH v3 2/6] dt-bindings: sram: allwinner, sun4i-a10-system-control: Add V3s compatibles

2020-12-01 Thread Rob Herring
On Mon, 16 Nov 2020 13:56:13 +0100, Martin Cerveny wrote: > Allwinner V3s has system control similar to that in H3. > Add compatibles for system control with SRAM C1 region. > > Signed-off-by: Martin Cerveny > --- > .../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 3 +++ > 1

[GIT PULL 2/2] ARM: dts: Keystone DTS update for v5.11

2020-12-01 Thread Santosh Shilimkar
The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git tags/keystone_dts_for_5.11 for you to fetch changes up

Re: [PATCH -tip 23/32] sched: Add a per-thread core scheduling interface

2020-12-01 Thread Joel Fernandes
On Wed, Nov 25, 2020 at 02:08:08PM +0100, Peter Zijlstra wrote: > On Tue, Nov 17, 2020 at 06:19:53PM -0500, Joel Fernandes (Google) wrote: > > +/* Called from prctl interface: PR_SCHED_CORE_SHARE */ > > +int sched_core_share_pid(pid_t pid) > > +{ > > + struct task_struct *task; > > + int err;

Re: [PATCH 0/2] RFC: Precise TSC migration

2020-12-01 Thread Thomas Gleixner
On Mon, Nov 30 2020 at 15:35, Maxim Levitsky wrote: > The idea of masterclock is that when the host TSC is synchronized > (or as kernel call it, stable), and the guest TSC is synchronized as well, > then we can base the kvmclock, on the same pair of > (host time in nsec, host tsc value), for all

Re: [PATCH v2] ath10k: skip the wait for completion to recovery in shutdown path

2020-12-01 Thread Brian Norris
On Thu, Nov 26, 2020 at 9:16 AM Youghandhar Chintala wrote: > --- a/drivers/net/wireless/ath/ath10k/snoc.c > +++ b/drivers/net/wireless/ath/ath10k/snoc.c > @@ -1790,9 +1790,6 @@ static int ath10k_snoc_remove(struct platform_device > *pdev) > > reinit_completion(>driver_recovery); > > -

Re: [PATCH -tip 22/32] sched: Split the cookie and setup per-task cookie on fork

2020-12-01 Thread Peter Zijlstra
On Tue, Dec 01, 2020 at 02:20:28PM -0500, Joel Fernandes wrote: > On Wed, Nov 25, 2020 at 12:10:14PM +0100, Peter Zijlstra wrote: > > On Tue, Nov 17, 2020 at 06:19:52PM -0500, Joel Fernandes (Google) wrote: > > > +void sched_core_tag_requeue(struct task_struct *p, unsigned long cookie, > > > bool

Re: [PATCH v3] checkpatch: fix TYPO_SPELLING check for words with apostrophe

2020-12-01 Thread Joe Perches
On Wed, 2020-12-02 at 00:37 +0530, Dwaipayan Ray wrote: > checkpatch reports a false TYPO_SPELLING warning for some words > containing an apostrophe when run with --codespell option. Thanks. Acked-by: Joe Perches > > A false positive is "doesn't". Occurrence of the word causes > checkpatch to

Re: [PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Leon Romanovsky
On Tue, Dec 01, 2020 at 10:01:23AM -0800, Andrii Nakryiko wrote: > On Tue, Dec 1, 2020 at 6:37 AM Leon Romanovsky wrote: > > > > From: Leon Romanovsky > > > > The out-of-tree modules are built without vmlinux target and request > > to recompile that target unconditionally causes to the following

[PATCH v4 4/4] powercap/drivers/dtpm: Add CPU energy model based support

2020-12-01 Thread Daniel Lezcano
With the powercap dtpm controller, we are able to plug devices with power limitation features in the tree. The following patch introduces the CPU power limitation based on the energy model and the performance states. The power limitation is done at the performance domain level. If some CPUs are

Re: [PATCH 3/9] pstore/blk: remove {un,}register_pstore_blk

2020-12-01 Thread Kees Cook
On Fri, Oct 16, 2020 at 03:20:41PM +0200, Christoph Hellwig wrote: > This interface is entirely unused, so remove them and various bits of > unreachable code. Yeah, this is fair to remove -- there are no users. I'm not a fan of dropping it, but it can come back if anyone wants to provide a full

[PATCH v4 3/4] powercap/drivers/dtpm: Add API for dynamic thermal power management

2020-12-01 Thread Daniel Lezcano
On the embedded world, the complexity of the SoC leads to an increasing number of hotspots which need to be monitored and mitigated as a whole in order to prevent the temperature to go above the normative and legally stated 'skin temperature'. Another aspect is to sustain the performance for a

[PATCH v4 2/4] Documentation/powercap/dtpm: Add documentation for dtpm

2020-12-01 Thread Daniel Lezcano
The dynamic thermal and power management is a technique to dynamically adjust the power consumption of different devices in order to ensure a global thermal constraint. An userspace daemon is usually monitoring the temperature and the power to take immediate action on the device. The DTPM

Re: [PATCH v13 0/4] userspace MHI client interface driver

2020-12-01 Thread Jakub Kicinski
On Fri, 27 Nov 2020 19:26:02 -0800 Hemant Kumar wrote: > This patch series adds support for UCI driver. UCI driver enables userspace > clients to communicate to external MHI devices like modem and WLAN. UCI driver > probe creates standard character device file nodes for userspace clients to >

[PATCH V4 0/4] powercap/dtpm: Add the DTPM framework

2020-12-01 Thread Daniel Lezcano
The density of components greatly increased the last decade bringing a numerous number of heating sources which are monitored by more than 20 sensors on recent SoC. The skin temperature, which is the case temperature of the device, must stay below approximately 45°C in order to comply with the

[PATCH v4 1/4] units: Add Watt units

2020-12-01 Thread Daniel Lezcano
As there are the temperature units, let's add the Watt macros definition. Cc: Thara Gopinath Cc: Lina Iyer Cc: Ram Chandrasekar Cc: Zhang Rui Cc: Lukasz Luba Signed-off-by: Daniel Lezcano Reviewed-by: Lukasz Luba --- include/linux/units.h | 4 1 file changed, 4 insertions(+) diff

Re: [PATCH] fs: 9p: add generic splice_write file operation

2020-12-01 Thread Christoph Hellwig
On Tue, Dec 01, 2020 at 04:44:56PM +0100, Dominique Martinet wrote: > The default splice operations got removed recently, add it back to 9p > with iter_file_splice_write like many other filesystems do. > > Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") > Cc: Toke

Re: [PATCH 0/2] RFC: Precise TSC migration

2020-12-01 Thread Marcelo Tosatti
On Tue, Dec 01, 2020 at 02:48:11PM +0100, Thomas Gleixner wrote: > On Mon, Nov 30 2020 at 16:16, Marcelo Tosatti wrote: > >> Besides, Linux guests don't sync the TSC via IA32_TSC write, > >> but rather use IA32_TSC_ADJUST which currently doesn't participate > >> in the tsc sync heruistics. > > > >

[PATCH v25 12/12] landlock: Add user and kernel documentation

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün This documentation can be built with the Sphinx framework. Cc: James Morris Cc: Kees Cook Cc: Serge E. Hallyn Signed-off-by: Mickaël Salaün Reviewed-by: Vincent Dagonneau Reviewed-by: Jann Horn --- Changes since v24: * Add Reviewed-by: Jann Horn * Add a paragraph to

Re: [PATCH 6/6] arm64: dts: qcom: qrb5165-rb5: Add Audio support

2020-12-01 Thread Bjorn Andersson
On Tue 01 Dec 09:37 CST 2020, Srinivas Kandagatla wrote: > This patch add support for two WSA881X smart speakers attached via Soundwire > and a DMIC0 on the main board. > > Signed-off-by: Srinivas Kandagatla > --- > arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 125 +++ > 1

Re: [PATCH 1/6] arm64: dts: qcom: sm8250: add apr and its services

2020-12-01 Thread Bjorn Andersson
On Tue 01 Dec 09:37 CST 2020, Srinivas Kandagatla wrote: > Add apr node and its associated services required for audio on RB5. > > Signed-off-by: Srinivas Kandagatla > --- > arch/arm64/boot/dts/qcom/sm8250.dtsi | 56 > 1 file changed, 56 insertions(+) > > diff

[PATCH v25 00/12] Landlock LSM

2020-12-01 Thread Mickaël Salaün
Hi, This patch series mainly extend Landlock rules to store the whole access rights stack. This enables to tie access rights with their respective layers to be able to have a sane semantic regardless of the previous enforced rulesets. This also enables to get back the union of access rights

[PATCH v25 08/12] landlock: Add syscall implementations

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün These 3 system calls are designed to be used by unprivileged processes to sandbox themselves: * landlock_create_ruleset(2): Creates a ruleset and returns its file descriptor. * landlock_add_rule(2): Adds a rule (e.g. file hierarchy access) to a ruleset, identified by the

[PATCH v25 11/12] samples/landlock: Add a sandbox manager example

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün Add a basic sandbox tool to launch a command which can only access a whitelist of file hierarchies in a read-only or read-write way. Cc: James Morris Cc: Jann Horn Cc: Kees Cook Cc: Serge E. Hallyn Signed-off-by: Mickaël Salaün --- Changes since v23: * Re-add hints to

[PATCH v25 04/12] landlock: Add ptrace restrictions

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün Using ptrace(2) and related debug features on a target process can lead to a privilege escalation. Indeed, ptrace(2) can be used by an attacker to impersonate another task and to remain undetected while performing malicious activities. Thanks to ptrace_may_access(),

[PATCH v25 06/12] fs,security: Add sb_delete hook

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün The sb_delete security hook is called when shutting down a superblock, which may be useful to release kernel objects tied to the superblock's lifetime (e.g. inodes). This new hook is needed by Landlock to release (ephemerally) tagged struct inodes. This comes from the

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

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün Thanks to the Landlock objects and ruleset, it is possible to identify inodes according to a process's domain. To enable an unprivileged process to express a file hierarchy, it first needs to open a directory (or a file) and pass this file descriptor to the kernel through

[PATCH v25 02/12] landlock: Add ruleset and domain management

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün A Landlock ruleset is mainly a red-black tree with Landlock rules as nodes. This enables quick update and lookup to match a requested access, e.g. to a file. A ruleset is usable through a dedicated file descriptor (cf. following commit implementing syscalls) which enables

[PATCH v25 01/12] landlock: Add object management

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün A Landlock object enables to identify a kernel object (e.g. an inode). A Landlock rule is a set of access rights allowed on an object. Rules are grouped in rulesets that may be tied to a set of processes (i.e. subjects) to enforce a scoped access-control (i.e. a domain).

[PATCH v25 10/12] selftests/landlock: Add user space tests

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün Test all Landlock system calls, ptrace hooks semantic and filesystem access-control. Test coverage for security/landlock/ is 94% of lines. The code not covered only deals with internal kernel errors (e.g. memory allocation) and race conditions. Cc: James Morris Cc: Jann

[PATCH v25 09/12] arch: Wire up Landlock syscalls

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün Wire up the following system calls for all architectures: * landlock_create_ruleset(2) * landlock_add_rule(2) * landlock_enforce_ruleset_current(2) Cc: Arnd Bergmann Cc: James Morris Cc: Jann Horn Cc: Kees Cook Cc: Serge E. Hallyn Signed-off-by: Mickaël Salaün ---

[PATCH v25 05/12] LSM: Infrastructure management of the superblock

2020-12-01 Thread Mickaël Salaün
From: Casey Schaufler Move management of the superblock->sb_security blob out of the individual security modules and into the security infrastructure. Instead of allocating the blobs from within the modules, the modules tell the infrastructure how much space is required, and the space is

[PATCH v25 03/12] landlock: Set up the security framework and manage credentials

2020-12-01 Thread Mickaël Salaün
From: Mickaël Salaün Process's credentials point to a Landlock domain, which is underneath implemented with a ruleset. In the following commits, this domain is used to check and enforce the ptrace and filesystem security policies. A domain is inherited from a parent to its child the same way a

Re: [PATCH] nvmet: Kconfig: Fix spelling mistake "incuding" -> "including"

2020-12-01 Thread Christoph Hellwig
Thanks, applied to nvme-5.11.

Re: [PATCH] ARM: omap2plus_defconfig: enable SPI GPIO

2020-12-01 Thread H. Nikolaus Schaller
> Am 01.12.2020 um 20:12 schrieb Andreas Kemnade : > > GTA04 uses that for controlling the td028ttec1 panel. So > for easier testing/bisecting it is useful to have it > enabled in the defconfig. ++ > > Signed-off-by: Andreas Kemnade > --- > arch/arm/configs/omap2plus_defconfig | 1 + > 1

Re: [PATCH -tip 22/32] sched: Split the cookie and setup per-task cookie on fork

2020-12-01 Thread Peter Zijlstra
On Tue, Dec 01, 2020 at 02:11:33PM -0500, Joel Fernandes wrote: > On Wed, Nov 25, 2020 at 12:15:41PM +0100, Peter Zijlstra wrote: > > On Tue, Nov 17, 2020 at 06:19:52PM -0500, Joel Fernandes (Google) wrote: > > > > > +/* > > > + * Ensure that the task has been requeued. The stopper ensures that

Re: [PATCH 18/18] ipu3: Add driver for dummy INT3472 ACPI device

2020-12-01 Thread Andy Shevchenko
On Tue, Dec 01, 2020 at 09:06:38PM +0200, Laurent Pinchart wrote: > On Tue, Dec 01, 2020 at 09:05:23PM +0200, Andy Shevchenko wrote: > > On Tue, Dec 01, 2020 at 08:55:48PM +0200, Laurent Pinchart wrote: > > > On Tue, Dec 01, 2020 at 08:54:17PM +0200, Andy Shevchenko wrote: > > > > On Tue, Dec 01,

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