[PATCH] drm/msm/dp: reset dp controller only at boot up and pm_resume

2021-02-05 Thread Kuogee Hsieh
DP_SW_RESET is the global SW reset that is used to initialize DP controller. If DP_SW_RESET executed during connection setup, two HPD related side effects may occurred, 1) pending HPD interrupts cleared unexpected 2) re start debounce logic which trigger another interrupt This patch only issue

[PATCH v5 02/14] dmaengine: idxd: add IMS detection in base driver

2021-02-05 Thread Dave Jiang
In preparation for support of VFIO mediated device for idxd driver, the enabling for Interrupt Message Store (IMS) interrupts is added for the idxd With IMS support the idxd driver can dynamically allocate interrupts on a per mdev basis based on how many IMS vectors that are mapped to the mdev

[PATCH v5 01/14] vfio/mdev: idxd: add theory of operation documentation for idxd mdev

2021-02-05 Thread Dave Jiang
Add idxd vfio mediated device theory of operation documentation. Provide description on mdev design, usage, and why vfio mdev was chosen. Reviewed-by: Ashok Raj Reviewed-by: Kevin Tian Signed-off-by: Dave Jiang --- Documentation/driver-api/vfio/mdev-idxd.rst | 397 +++

Re: [PATCH v6 3/3] dt-bindings: input: Fix the keymap for LOCK key

2021-02-05 Thread Rob Herring
On Fri, 15 Jan 2021 14:36:17 -0800, Philip Chen wrote: > Decouple LOCK from F13 and directly map the LOCK key (KSI3/KSO9) to > KEY_SLEEP action key code. > > Signed-off-by: Philip Chen > --- > > Changes in v6: > - New patch in v6 > > include/dt-bindings/input/cros-ec-keyboard.h | 4 ++-- > 1

Re: [PATCH v4 4/5] ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()

2021-02-05 Thread Mark Brown
On Fri, Feb 05, 2021 at 08:34:16AM +, Lee Jones wrote: > On Thu, 04 Feb 2021, Mark Brown wrote: > > > On Thu, Feb 04, 2021 at 03:40:58PM +, Lee Jones wrote: > > > On Thu, 04 Feb 2021, Mark Brown wrote: > > > > On Thu, Feb 04, 2021 at 03:04:56PM +, Lee Jones wrote: > > > > > This set

Re: [PATCH v7 3/4] dt-bindings: arm: hisilicon: Add binding for Kunpeng L3 cache controller

2021-02-05 Thread Rob Herring
On Tue, 02 Feb 2021 15:16:47 +0800, Zhen Lei wrote: > Add devicetree binding for Hisilicon Kunpeng L3 cache controller. > > Signed-off-by: Zhen Lei > Reviewed-by: Arnd Bergmann > --- > .../arm/hisilicon/kunpeng-l3cache.yaml| 40 +++ > 1 file changed, 40 insertions(+) >

[PATCH v2] kernel: Expose SYS_kcmp by default

2021-02-05 Thread Chris Wilson
Userspace has discovered the functionality offered by SYS_kcmp and has started to depend upon it. In particular, Mesa uses SYS_kcmp for os_same_file_description() in order to identify when two fd (e.g. device or dmabuf) point to the same struct file. Since they depend on it for core functionality,

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Nick Desaulniers
> Hi, > > when building with pahole v1.20 and binutils v2.35.2 plus Clang > v12.0.0-rc1 and DWARF-v5 I see: > ... > + info BTF .btf.vmlinux.bin.o > + [ != silent_ ] > + printf %-7s %s\n BTF .btf.vmlinux.bin.o > BTF .btf.vmlinux.bin.o > + LLVM_OBJCOPY=/opt/binutils/bin/objcopy

Re: [PATCH v20 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2021-02-05 Thread kernel test robot
Hi Konstantin, Thank you for the patch! Yet something to improve: [auto build test ERROR on dd86e7fa07a3ec33c92c957ea7b642c4702516a0] url: https://github.com/0day-ci/linux/commits/Konstantin-Komarov/NTFS-read-write-driver-GPL-implementation-by-Paragon-Software/20210206-032915 base:

Re: [PATCH V7 4/6] kbuild: Add support to build overlays (%.dtbo)

2021-02-05 Thread Rob Herring
On Fri, Feb 05, 2021 at 11:17:10AM +0100, Geert Uytterhoeven wrote: > Hi Viresh, > > On Fri, Feb 5, 2021 at 10:55 AM Viresh Kumar wrote: > > On 05-02-21, 10:41, Geert Uytterhoeven wrote: > > > On Fri, Feb 5, 2021 at 10:25 AM Viresh Kumar > > > wrote: > > > > On 05-02-21, 10:02, Geert

[PATCH v5 06/14] vfio/mdev: idxd: add mdev type as a new wq type

2021-02-05 Thread Dave Jiang
Add "mdev" wq type and support helpers. The mdev wq type marks the wq to be utilized as a VFIO mediated device. Signed-off-by: Dave Jiang --- drivers/dma/idxd/idxd.h |2 ++ drivers/dma/idxd/sysfs.c | 13 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git

[PATCH v5 07/14] vfio/mdev: idxd: add 1dwq-v1 mdev type

2021-02-05 Thread Dave Jiang
Add mdev device type "1dwq-v1" support code. 1dwq-v1 is defined as a single DSA gen1 dedicated WQ. This WQ cannot be shared between guests. The guest also cannot change any WQ configuration. Signed-off-by: Dave Jiang --- drivers/dma/idxd/sysfs.c |1 drivers/vfio/mdev/idxd/mdev.c |

Re: [PATCH RESEND] perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]

2021-02-05 Thread Andi Kleen
On Fri, Feb 05, 2021 at 11:13:24AM -0800, Jim Mattson wrote: > Cascade Lake Xeon parts have the same model number as Skylake Xeon > parts, so they are tagged with the intel_pebs_isolation > quirk. However, as with Skylake Xeon H0 stepping parts, the PEBS > isolation issue is fixed in all microcode

[PATCH v5 08/14] vfio/mdev: idxd: add emulation rw routines

2021-02-05 Thread Dave Jiang
Add emulation routines for PCI config read/write, MMIO read/write, and interrupt handling routine for the emulated device. The rw routines are called when PCI config read/writes or BAR0 mmio read/writes and being issued by the guest kernel through KVM/qemu. Because we are supporting read-only

[PATCH v5 12/14] vfio/mdev: idxd: add irq bypass for IMS vectors

2021-02-05 Thread Dave Jiang
Add support to bypass host for IMS interrupts configured for the guest. Signed-off-by: Dave Jiang --- drivers/vfio/mdev/Kconfig |1 + drivers/vfio/mdev/idxd/mdev.c | 17 +++-- drivers/vfio/mdev/idxd/mdev.h |1 + 3 files changed, 17 insertions(+), 2 deletions(-) diff

[PATCH v5 09/14] vfio/mdev: idxd: prep for virtual device commands

2021-02-05 Thread Dave Jiang
Update some of the device commands in order to support usage by the virtual device commands emulated by the vdcm. Expose some of the commands' raw status so the virtual commands can utilize them accordingly. Signed-off-by: Dave Jiang --- drivers/dma/idxd/cdev.c |2 +

Re: [PATCH] kernel: Expose SYS_kcmp by default

2021-02-05 Thread Daniel Vetter
On Fri, Feb 5, 2021 at 7:37 PM Kees Cook wrote: > > On Fri, Feb 05, 2021 at 04:37:52PM +, Chris Wilson wrote: > > Userspace has discovered the functionality offered by SYS_kcmp and has > > started to depend upon it. In particular, Mesa uses SYS_kcmp for > > os_same_file_description() in order

BUG: KASAN: use-after-free in snd_complete_urb+0x109e/0x1740 [snd_usb_audio] (5.11-rc6)

2021-02-05 Thread Mikhail Gavrilov
Hi folks. On 5.11-rc6 (git 3aaf0a27ffc2) I caught a new issue. For unknown reason sound disappeared in my headset Hyperx orbit s. But after reconnecting to another USB port headset stopped being detected as USB device in dmesg and in log appears a record about bug KASAN: use-after-free.

Re: [PATCH] mm/mremap: fix BUILD_BUG_ON() error in get_extent

2021-02-05 Thread Andrew Morton
On Fri, 5 Feb 2021 12:00:05 -0700 Nathan Chancellor wrote: > > > > Reviewed-by: Nathan Chancellor > > > > > > Ping? It is pretty late into the 5.11 cycle and this is still broken. > > > > I think we should just do the __always_inline. Who can take this? > > This should probably go through

Re: [PATCH v9 0/3] Kbuild: DWARF v5 support

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 9:22 PM Nick Desaulniers wrote: > > DWARF v5 is the latest standard of the DWARF debug info format. > > DWARF5 wins significantly in terms of size and especially so when mixed > with compression (CONFIG_DEBUG_INFO_COMPRESSED). > > Link:

[PATCH v5 11/14] vfio/mdev: idxd: ims setup for the vdcm

2021-02-05 Thread Dave Jiang
Add setup for IMS enabling for the mediated device. On the actual hardware the MSIX vector 0 is misc interrupt and handles events such as administrative command completion, error reporting, performance monitor overflow, and etc. The MSIX vectors 1...N are used for descriptor completion

[PATCH v5 14/14] vfio/mdev: idxd: add error notification from host driver to mediated device

2021-02-05 Thread Dave Jiang
When a device error occurs, the mediated device need to be notified in order to notify the guest of device error. Add support to notify the specific mdev when an error is wq specific and broadcast errors to all mdev when it's a generic device error. Signed-off-by: Dave Jiang ---

[PATCH v5 10/14] vfio/mdev: idxd: virtual device commands emulation

2021-02-05 Thread Dave Jiang
Add all the helper functions that supports the emulation of the commands that are submitted to the device command register. Signed-off-by: Dave Jiang --- drivers/dma/idxd/device.c |5 drivers/dma/idxd/registers.h | 16 + drivers/vfio/mdev/idxd/mdev.c |2

Re: [PATCH 5.4 00/32] 5.4.96-rc1 review

2021-02-05 Thread Igor
On Fri, Feb 05, 2021 at 03:07:15PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.96 release. > There are 32 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [RFC][PATCH v6 0/7] Generic page pool & deferred freeing for system dmabuf heap

2021-02-05 Thread John Stultz
On Fri, Feb 5, 2021 at 2:36 AM Christian König wrote: > Am 05.02.21 um 09:06 schrieb John Stultz: > > Input would be greatly appreciated. Testing as well, as I don't > > have any development hardware that utilizes the ttm pool. > > We can easily do the testing and the general idea sounds solid to

Re: Linux 4.4.256

2021-02-05 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 03:26:36PM +0100, Greg Kroah-Hartman wrote: > I'm announcing the release of the 4.4.256 kernel. > > This, and the 4.9.256 release are a little bit "different" than normal. > > This contains only 1 patch, just the version bump from .255 to .256 which ends > up causing the

Re: [RFC][PATCH v6 1/7] drm: Add a sharable drm page-pool implementation

2021-02-05 Thread John Stultz
On Fri, Feb 5, 2021 at 12:47 AM Christian König wrote: > Am 05.02.21 um 09:06 schrieb John Stultz: > > diff --git a/drivers/gpu/drm/page_pool.c b/drivers/gpu/drm/page_pool.c > > new file mode 100644 > > index ..2139f86e6ca7 > > --- /dev/null > > +++ b/drivers/gpu/drm/page_pool.c > >

Re: [PATCH] tmpfs: Don't use 64-bit inodes by defulat with 32-bit ino_t

2021-02-05 Thread Seth Forshee
On Fri, Feb 05, 2021 at 12:41:57PM -0800, Andrew Morton wrote: > On Fri, 5 Feb 2021 14:21:59 -0600 Seth Forshee > wrote: > > > Currently there seems to be an assumption in tmpfs that 64-bit > > architectures also have a 64-bit ino_t. This is not true; s390 at > > least has a 32-bit ino_t. With

Re: [PATCH 4/0] perf intel-pt: Add PSB events

2021-02-05 Thread Andi Kleen
On Fri, Feb 05, 2021 at 07:53:46PM +0200, Adrian Hunter wrote: > Hi > > Here are 3 fixes and 1 minor new feature, for Intel PT. For the series: Reviewed-by: Andi Kleen -Andi

[PATCH v5 13/14] vfio/mdev: idxd: add new wq state for mdev

2021-02-05 Thread Dave Jiang
When a dedicated wq is enabled as mdev, we must disable the wq on the device in order to program the pasid to the wq. Introduce a wq state IDXD_WQ_LOCKED that is software state only in order to prevent the user from modifying the configuration while mdev wq is in this state. While in this state,

[PATCH v5 04/14] vfio/mdev: idxd: Add auxialary device plumbing for idxd mdev support

2021-02-05 Thread Dave Jiang
Add the VFIO mediated device driver as an auxiliary device to the main idxd driver. This allows the mdev code to be under VFIO mdev subsystem. Signed-off-by: Dave Jiang --- MAINTAINERS |8 drivers/dma/idxd/Makefile |2 + drivers/dma/idxd/idxd.h |

[PATCH v5 03/14] dmaengine: idxd: add device support functions in prep for mdev

2021-02-05 Thread Dave Jiang
Add device support helper functions in preparation of adding VFIO mdev support. Signed-off-by: Dave Jiang --- drivers/dma/idxd/device.c| 61 ++ drivers/dma/idxd/idxd.h |4 +++ drivers/dma/idxd/registers.h |3 +- 3 files changed, 67

[PATCH v5 05/14] vfio/mdev: idxd: add basic mdev registration and helper functions

2021-02-05 Thread Dave Jiang
Create a mediated device through the VFIO mediated device framework. The mdev framework allows creation of an mediated device by the driver with portion of the device's resources. The driver will emulate the slow path such as the PCI config space, MMIO bar, and the command registers. The

[PATCH v5 00/14] Add VFIO mediated device support and DEV-MSI support for the idxd driver

2021-02-05 Thread Dave Jiang
- Thomas, thank you for the previous reviews. I've made the appropriate changes based on your feedback. Please take a look again at patches 5 and 11 for IMS setup. I'd really appreciate an ack if they look good. - Dan and Vinod, I'd really appreciate it if you can review patches 1-3 for idxd

Re: [PATCH v2 1/4] arm64: kasan: don't populate vmalloc area for CONFIG_KASAN_VMALLOC

2021-02-05 Thread Andrey Konovalov
On Fri, Feb 5, 2021 at 6:43 PM Will Deacon wrote: > > On Fri, Feb 05, 2021 at 06:30:44PM +0100, Andrey Konovalov wrote: > > On Fri, Feb 5, 2021 at 6:19 PM Will Deacon wrote: > > > > > > On Fri, Feb 05, 2021 at 12:37:21AM +0800, Lecopzer Chen wrote: > > > > > > > > > On Thu, Feb 04, 2021 at

Re: [PATCH V8 01/12] dt-bindings: soc: Add dvfsrc driver bindings

2021-02-05 Thread Rob Herring
On Tue, Jan 26, 2021 at 04:03:43PM +0800, Henry Chen wrote: > Document the binding for enabling dvfsrc on MediaTek SoC. > > Signed-off-by: Henry Chen > --- > .../devicetree/bindings/soc/mediatek/dvfsrc.yaml | 67 > ++ > include/dt-bindings/interconnect/mtk,mt8183-emi.h |

Re: [PATCH v7 5/5] dt-bindings: usb: dwc3: Update dwc3 TX fifo properties

2021-02-05 Thread Rob Herring
On Thu, 28 Jan 2021 20:46:44 -0800, Wesley Cheng wrote: > Update the tx-fifo-resize property with a better description, while > adding the tx-fifo-max-num, which is a new parameter allowing > adjustments for the maximum number of packets the txfifo resizing logic > can account for while resizing

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

2021-02-05 Thread Hanabishi Recca
Can't even build v20 due to compilation errors. DKMS make.log for ntfs3-20.0.0 for kernel 5.10.13-arch1-1 (x86_64) Sat Feb 6 01:20:00 +05 2021 make -C /lib/modules/5.10.13-arch1-1/build M=/var/lib/dkms/ntfs3/20.0.0/build modules make[1]: Entering directory

[PATCH v3 4/4] RDMA/umem: batch page unpin in __ib_umem_release()

2021-02-05 Thread Joao Martins
Use the newly added unpin_user_page_range_dirty_lock() for more quickly unpinning a consecutive range of pages represented as compound pages. This will also calculate number of pages to unpin (for the tail pages which matching head page) and thus batch the refcount update. Running a test program

Re: [PATCH] tmpfs: Don't use 64-bit inodes by defulat with 32-bit ino_t

2021-02-05 Thread Andrew Morton
On Fri, 5 Feb 2021 14:21:59 -0600 Seth Forshee wrote: > Currently there seems to be an assumption in tmpfs that 64-bit > architectures also have a 64-bit ino_t. This is not true; s390 at > least has a 32-bit ino_t. With CONFIG_TMPFS_INODE64=y tmpfs > mounts will get 64-bit inode numbers and

[PATCH v3 3/4] mm/gup: add a range variant of unpin_user_pages_dirty_lock()

2021-02-05 Thread Joao Martins
Add a unpin_user_page_range_dirty_lock() API which takes a starting page and how many consecutive pages we want to unpin and optionally dirty. To that end, define another iterator for_each_compound_range() that operates in page ranges as opposed to page array. For users (like RDMA mr_dereg)

[PATCH v3 0/4] mm/gup: page unpining improvements

2021-02-05 Thread Joao Martins
Hey, This series improves page unpinning, with an eye on improving MR deregistration for big swaths of memory (which is bound by the page unpining), particularly: 1) Decrement the head page by @ntails and thus reducing a lot the number of atomic operations per compound page. This is done by

[PATCH 5.10 20/57] tools/power/x86/intel-speed-select: Set higher of cpuinfo_max_freq or base_frequency

2021-02-05 Thread Greg Kroah-Hartman
From: Srinivas Pandruvada [ Upstream commit bbaa2e95e23e74791dd75b90d5ad9aad535acc6e ] In some case when BIOS disabled turbo, cpufreq cpuinfo_max_freq can be lower than base_frequency at higher config level. So, in that case set scaling_min_freq to base_frequency. Signed-off-by: Srinivas

[PATCH 5.10 05/57] stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing

2021-02-05 Thread Greg Kroah-Hartman
From: Voon Weifeng commit 7cfc4486e7ea25bd405df162d9c131ee5d4c6c93 upstream. Fix an issue where dump stack is printed and Reset Adapter occurs when PSE0 GbE or/and PSE1 GbE is/are enabled. EHL PSE0 GbE and PSE1 GbE use 32 bits DMA addressing whereas EHL PCH GbE uses 64 bits DMA addressing. [

[PATCH 4.14 03/15] ACPI: thermal: Do not call acpi_thermal_check() directly

2021-02-05 Thread Greg Kroah-Hartman
From: Rafael J. Wysocki commit 81b704d3e4674e09781d331df73d76675d5ad8cb upstream. Calling acpi_thermal_check() from acpi_thermal_notify() directly is problematic if _TMP triggers Notify () on the thermal zone for which it has been evaluated (which happens on some systems), because it causes a

[PATCH 4.19 11/17] scsi: libfc: Avoid invoking response handler twice if ep is already completed

2021-02-05 Thread Greg Kroah-Hartman
From: Javed Hasan [ Upstream commit b2b0f16fa65e910a3ec8771206bb49ee87a54ac5 ] A race condition exists between the response handler getting called because of exchange_mgr_reset() (which clears out all the active XIDs) and the response we get via an interrupt. Sequence of events:

Re: [PATCH v8 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-02-05 Thread Rob Herring
On Mon, 25 Jan 2021 16:07:31 +0100, Mike Looijmans wrote: > This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, > the accelerometer part. > > Signed-off-by: Mike Looijmans > > --- > > Changes in v8: > Add spi-max-frequency: true > > Changes in v7: > Add additionalProperties

[PATCH 5.4 28/32] drm/amd/display: Update dram_clock_change_latency for DCN2.1

2021-02-05 Thread Greg Kroah-Hartman
From: Jake Wang [ Upstream commit 901c1ec05ef277ce9d43cb806a225b28b3efe89a ] [WHY] dram clock change latencies get updated using ddr4 latency table, but does that update does not happen before validation. This value should not be the default and should be number received from df for better mode

Re: [PATCH v9 8/8] dt-bindings: thermal: tsens: Document ipq8064 bindings

2021-02-05 Thread Rob Herring
On Fri, 22 Jan 2021 15:55:57 +0100, Ansuel Smith wrote: > Document the use of bindings used for msm8960 tsens based devices. > msm8960 use the same gcc regs and is set as a child of the qcom gcc. > > Signed-off-by: Ansuel Smith > --- > .../bindings/thermal/qcom-tsens.yaml | 56

Re: [v6 PATCH 08/11] mm: vmscan: use per memcg nr_deferred of shrinker

2021-02-05 Thread Yang Shi
On Fri, Feb 5, 2021 at 6:42 AM Kirill Tkhai wrote: > > On 04.02.2021 20:23, Yang Shi wrote: > > On Thu, Feb 4, 2021 at 12:42 AM Kirill Tkhai wrote: > >> > >> On 03.02.2021 20:20, Yang Shi wrote: > >>> Use per memcg's nr_deferred for memcg aware shrinkers. The shrinker's > >>> nr_deferred > >>>

Re: [PATCH] builddeb: Don't look for a missing Module.symvers

2021-02-05 Thread Sean Anderson
On 2/5/21 3:14 AM, Masahiro Yamada wrote: On Fri, Feb 5, 2021 at 5:21 AM Sean Anderson wrote: If deb-pkg is run with CONFIG_MODULES disabled, then make fails with find: ‘Module.symvers’: No such file or directory make[4]: *** [scripts/Makefile.package:87: intdeb-pkg] Error 1 make[3]: ***

Re: [PATCH 5/8] spi: stm32: defer probe for reset

2021-02-05 Thread Mark Brown
On Fri, Feb 05, 2021 at 12:08:59PM +0100, Alain Volmat wrote: > Defer the probe operation when a reset controller device is expected > but have not yet been probed. > > This change replaces use of devm_reset_control_get_exclusive() with > devm_reset_control_get_optional_exclusive() as reset

Re: [PATCH v2 1/1] powerpc/kvm: Save Timebase Offset to fix sched_clock() while running guest code.

2021-02-05 Thread Leonardo Bras
Hello Fabiano, Thanks for reviewing!  (answers inline) On Fri, 2021-02-05 at 10:09 -0300, Fabiano Rosas wrote: > Leonardo Bras writes: > > > Before guest entry, TBU40 register is changed to reflect guest timebase. > > After exitting guest, the register is reverted to it's original value. > >

Re: ANNOUNCE: pahole v1.20 (gcc11 DWARF5's default, lots of ELF sections, BTF)

2021-02-05 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 05, 2021 at 06:33:43AM -0300, Arnaldo Carvalho de Melo escreveu: > On February 5, 2021 4:39:47 AM GMT-03:00, Andrii Nakryiko > wrote: > >On Thu, Feb 4, 2021 at 8:34 PM Arnaldo Carvalho de Melo > >> wrote: > >> On February 4, 2021 9:01:51 PM GMT-03:00, Andrii Nakryiko > > wrote: > >>

Re: [PATCH v6 12/21] arm64: cpufeature: Add an early command-line cpufeature override facility

2021-02-05 Thread Marc Zyngier
On 2021-02-05 16:35, Will Deacon wrote: On Mon, Feb 01, 2021 at 11:56:28AM +, Marc Zyngier wrote: In order to be able to override CPU features at boot time, let's add a command line parser that matches options of the form "cpureg.feature=value", and store the corresponding value into the

Linux 4.9.256

2021-02-05 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.256 kernel. This, and the 4.4.256 release are a little bit "different" than normal. This contains only 1 patch, just the version bump from .255 to .256 which ends up causing the userspace-visable LINUX_VERSION_CODE to behave a bit differently than normal due

[PATCH 4.19 12/17] mac80211: fix fast-rx encryption check

2021-02-05 Thread Greg Kroah-Hartman
From: Felix Fietkau [ Upstream commit 622d3b4e39381262da7b18ca1ed1311df227de86 ] When using WEP, the default unicast key needs to be selected, instead of the STA PTK. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20201218184718.93650-5-...@nbd.name Signed-off-by: Johannes Berg

Re: [PATCH v6 12/21] arm64: cpufeature: Add an early command-line cpufeature override facility

2021-02-05 Thread Will Deacon
On Mon, Feb 01, 2021 at 11:56:28AM +, Marc Zyngier wrote: > In order to be able to override CPU features at boot time, > let's add a command line parser that matches options of the > form "cpureg.feature=value", and store the corresponding > value into the override val/mask pair. > > No

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > > > > On 2/5/21 11:24 AM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Feb 05, 2021 at 11:10:08AM -0800, Yonghong Song escreveu: > >> On 2/5/21 11:06 AM, Sedat Dilek wrote: > >>> On Fri, Feb 5, 2021 at 7:53 PM Sedat Dilek wrote: > >>> Grepping

Re: [PATCH v7 00/14] Tegra XHCI controller ELPG support

2021-02-05 Thread Greg KH
On Fri, Feb 05, 2021 at 05:15:21PM +0100, Thierry Reding wrote: > On Wed, Jan 20, 2021 at 03:34:00PM +0800, JC Kuo wrote: > > Tegra XHCI controler can be placed in ELPG (Engine Level PowerGated) > > state for power saving when all of the connected USB devices are in > > suspended state. This patch

[PATCH 0/1] tpm_tis: handle -EPROBE_DEFER in tpm_tis_plat_probe()

2021-02-05 Thread Dirk Gouders
Hello, I noticed that the tpm_tis driver behaves different depending on wether it was compiled builtin or as a module. At least on my hardware, if builtin it always falls back to polling mode without notification which I do not understand considering the current efforts to fix interrupt

Re: [PATCH] mm: cma: support sysfs

2021-02-05 Thread John Hubbard
On 2/5/21 8:15 AM, Minchan Kim wrote: ... Yes, approximately. I was wondering if this would suffice at least as a baseline: cma_alloc_success 125 cma_alloc_failure 25 IMO, regardless of the my patch, it would be good to have such statistics in that CMA was born to replace carved out

[PATCH 1/1] tpm_tis: handle -EPROBE_DEFER in tpm_tis_plat_probe()

2021-02-05 Thread Dirk Gouders
tpm_tis does not consider -EPROBE_DEFER in tpm_tis_plat_probe(). Instead, without notification it falls back to polling mode if platform_get_irq_optional() returns a negative value. This could lead to different behavior depending on wether tpm_tis was compiled builtin or as a module; in the

Re: [PATCH v3 1/3] dt-binding: gce: add gce header file for mt8192

2021-02-05 Thread Chun-Kuang Hu
Hi, Hsin-Yi: Hsin-Yi Wang 於 2021年2月5日 週五 下午3:19寫道: > > From: Yongqiang Niu > > Add documentation for the mt8192 gce. > > Add gce header file defined the gce hardware event, > subsys number and constant for mt8192. > > Signed-off-by: Yongqiang Niu > Reviewed-by: Rob Herring > Signed-off-by:

Re: [PATCH V9 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-02-05 Thread Rob Herring
On Thu, Jan 21, 2021 at 09:03:26AM +0800, peng@nxp.com wrote: > From: Peng Fan > > Convert the imx rproc binding to DT schema format using json-schema. > > Signed-off-by: Peng Fan > --- > .../bindings/remoteproc/fsl,imx-rproc.yaml| 59 +++ >

[PATCH v9 2/3] Kbuild: make DWARF version a choice

2021-02-05 Thread Nick Desaulniers
Adds a default CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT which allows the implicit default version of DWARF emitted by the toolchain to progress over time. Modifies CONFIG_DEBUG_INFO_DWARF4 to be a member of a choice, making it mutually exclusive with CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT.

[PATCH v9 3/3] Kconfig: allow explicit opt in to DWARF v5

2021-02-05 Thread Nick Desaulniers
DWARF v5 is the latest standard of the DWARF debug info format. GCC 11 will change the implicit default DWARF version, if left unspecified, to DWARF v5. Allow users of Clang and older versions of GCC that have not changed the implicit default DWARF version to DWARF v5 to opt in. This can help

[PATCH v9 1/3] vmlinux.lds.h: add DWARF v5 sections

2021-02-05 Thread Nick Desaulniers
We expect toolchains to produce these new debug info sections as part of DWARF v5. Add explicit placements to prevent the linker warnings from --orphan-section=warn. Compilers may produce such sections with explicit -gdwarf-5, or based on the implicit default version of DWARF when -g is used via

Re: [PATCH v11 2/5] kasan: Add KASAN mode kernel parameter

2021-02-05 Thread Will Deacon
On Fri, Feb 05, 2021 at 04:00:07PM +, Vincenzo Frascino wrote: > > > On 2/5/21 3:49 PM, Andrey Konovalov wrote: > > On Mon, Feb 1, 2021 at 9:04 PM Andrey Konovalov > > wrote: > >> > >> On Sat, Jan 30, 2021 at 5:52 PM Vincenzo Frascino > >> wrote: > >>> > >>> @@ -45,6 +52,9 @@ static enum

[PATCH v9 0/3] Kbuild: DWARF v5 support

2021-02-05 Thread Nick Desaulniers
DWARF v5 is the latest standard of the DWARF debug info format. DWARF5 wins significantly in terms of size and especially so when mixed with compression (CONFIG_DEBUG_INFO_COMPRESSED). Link: http://www.dwarfstd.org/doc/DWARF5.pdf Patch 1 places the DWARF v5 sections explicitly in the kernel

[PATCH] tmpfs: Don't use 64-bit inodes by defulat with 32-bit ino_t

2021-02-05 Thread Seth Forshee
Currently there seems to be an assumption in tmpfs that 64-bit architectures also have a 64-bit ino_t. This is not true; s390 at least has a 32-bit ino_t. With CONFIG_TMPFS_INODE64=y tmpfs mounts will get 64-bit inode numbers and display "inode64" in the mount options, but passing the "inode64"

Re: WARNING: held lock freed in uprobe_unregister

2021-02-05 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:aa2b8820 Add linux-next specific files for 20210205 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10d455bf50 kernel config: https://syzkaller.appspot.com/x/.config?x

RE: [PATCH v19 3/3] scsi: ufs: Prepare HPB read for cached sub-region

2021-02-05 Thread Avri Altman
> > > + put_unaligned_be64(ppn, [6]); > > > > You are assuming the HPB entries read out by "HPB Read Buffer" cmd > > are > > in Little > > Endian, which is why you are using put_unaligned_be64 here. However, > > this assumption > > is not right for all the other flash vendors - HPB entries

Re: [RESEND PATCH 0/2] ASoC: stm32: i2s: add master clock provider

2021-02-05 Thread Mark Brown
On Fri, 5 Feb 2021 11:44:02 +0100, Olivier Moysan wrote: > Add master clock generation support in STM32 I2S driver. > Resend of patch https://lkml.org/lkml/2020/9/11/264 > > Olivier Moysan (2): > ASoC: dt-bindings: add mclk provider support to stm32 i2s > ASoC: stm32: i2s: add master clock

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

2021-02-05 Thread Serge E. Hallyn
On Tue, Feb 02, 2021 at 05:27:03PM +0100, Mickaël Salaün wrote: > 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 >

Re: [v6 PATCH 08/11] mm: vmscan: use per memcg nr_deferred of shrinker

2021-02-05 Thread Kirill Tkhai
On 04.02.2021 20:23, Yang Shi wrote: > On Thu, Feb 4, 2021 at 12:42 AM Kirill Tkhai wrote: >> >> On 03.02.2021 20:20, Yang Shi wrote: >>> Use per memcg's nr_deferred for memcg aware shrinkers. The shrinker's >>> nr_deferred >>> will be used in the following cases: >>> 1. Non memcg aware

[RFC 3/9] x86: CPUID and CR3/CR4 flags for Linear Address Masking

2021-02-05 Thread Kirill A. Shutemov
Enumerate Linear Address Masking and provide defines for CR3 and CR4 flags. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/include/uapi/asm/processor-flags.h | 6 ++ 2 files changed, 7 insertions(+) diff --git

Re: [PATCH v2 0/8] spi: stm32: fix and enhancements for spi-stm32

2021-02-05 Thread Mark Brown
On Fri, 5 Feb 2021 19:59:24 +0100, Alain Volmat wrote: > The serie provides a fix for the spi-stm32 driver, allowing to properly > handle 0 byte transfer (and thus being able to run spi-loopback-test). > > In addition to that, important enhancements are implemented, among them, > supporting

Re: (subset) [PATCH 0/8] spi: stm32: fix and enhancements for spi-stm32

2021-02-05 Thread Mark Brown
On Fri, 5 Feb 2021 12:08:54 +0100, Alain Volmat wrote: > The serie provides a fix for the spi-stm32 driver, allowing to properly > handle 0 byte transfer (and thus being able to run spi-loopback-test). > > In addition to that, important enhancements are implemented, among them, > supporting

Re: [PATCH] ASoC: dt-bindings: renesas, rsnd: Group tuples in playback/capture properties

2021-02-05 Thread Mark Brown
On Thu, 4 Feb 2021 14:00:22 +0100, Geert Uytterhoeven wrote: > To improve human readability and enable automatic validation, the tuples > in "playback" and "capture" properties in sound device nodes should be > grouped using angle brackets. Applied to

Re: [PATCH for-next] ASoC: da7218: Drop CONFIG_OF ifdef

2021-02-05 Thread Mark Brown
On Tue, 2 Feb 2021 10:36:46 -0800, Stephen Boyd wrote: > This reverts commit a06cd8cf97a3 ("ASoC: da7218: skip of_device_id table > when !CONFIG_OF") because we want to make of_match_device() stop using > of_match_ptr() internally, confusing compilers and causing ifdef > pollution. Applied to

Re: [RESEND PATH] ASoC: dmaengine_pcm: add peripheral configuration

2021-02-05 Thread Mark Brown
On Fri, 5 Feb 2021 15:26:25 +0800, Shengjiu Wang wrote: > The commit e7bbb7acabf4 ("dmaengine: add peripheral configuration") > adds peripheral configuration for dma_slave_config. > > This configuration is useful for some audio peripherals, for > example, the peripheral supports multi fifos, we

Re: [PATCH v3 2/2] tpm: in tpm2_del_space check if ops pointer is still valid

2021-02-05 Thread James Bottomley
On Fri, 2021-02-05 at 04:18 +0200, Jarkko Sakkinen wrote: > On Thu, Feb 04, 2021 at 04:34:11PM -0800, James Bottomley wrote: > > On Fri, 2021-02-05 at 00:50 +0100, Lino Sanfilippo wrote: > > > From: Lino Sanfilippo > > > > > > In tpm2_del_space() chip->ops is used for flushing the sessions. > >

[RFC 5/9] x86/mm: Provide untagged_addr() helper

2021-02-05 Thread Kirill A. Shutemov
The helper used by the core-mm to strip tag bits and get the address to the canonical shape. In only handles userspace addresses. For LAM, the address gets sanitized according to the thread flags. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/page_32.h | 3 +++

Re: [v6 PATCH 07/11] mm: vmscan: add per memcg shrinker nr_deferred

2021-02-05 Thread Kirill Tkhai
On 04.02.2021 20:17, Yang Shi wrote: > On Thu, Feb 4, 2021 at 12:31 AM Kirill Tkhai wrote: >> >> On 03.02.2021 20:20, Yang Shi wrote: >>> Currently the number of deferred objects are per shrinker, but some slabs, >>> for example, >>> vfs inode/dentry cache are per memcg, this would result in

[RFC 9/9] x86/mm: Implement PR_SET/GET_TAGGED_ADDR_CTRL with LAM

2021-02-05 Thread Kirill A. Shutemov
Provide prctl() interface to enabled LAM for user addresses. Depending how many tag bits requested it may result in enabling LAM_U57 or LAM_U48. If LAM_U48 is enabled, the process is no longer able to use full address space on 5-level paging machine and gets limited to 47-bit VA. Signed-off-by:

Re: [v6 PATCH 07/11] mm: vmscan: add per memcg shrinker nr_deferred

2021-02-05 Thread Yang Shi
On Fri, Feb 5, 2021 at 6:38 AM Kirill Tkhai wrote: > > On 04.02.2021 20:17, Yang Shi wrote: > > On Thu, Feb 4, 2021 at 12:31 AM Kirill Tkhai wrote: > >> > >> On 03.02.2021 20:20, Yang Shi wrote: > >>> Currently the number of deferred objects are per shrinker, but some > >>> slabs, for example,

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

2021-02-05 Thread Serge E. Hallyn
On Tue, Feb 02, 2021 at 05:27:04PM +0100, Mickaël Salaün wrote: > 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

Re: [PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-05 Thread Marc Zyngier
On 2021-02-05 11:19, Will Deacon wrote: On Fri, Feb 05, 2021 at 09:11:00AM +, Steven Price wrote: On 02/02/2021 14:11, Marc Zyngier wrote: > diff --git a/drivers/firmware/smccc/kvm_guest.c b/drivers/firmware/smccc/kvm_guest.c > new file mode 100644 > index ..23ce1ded88b4 > ---

Re: drivers/infiniband/core/uverbs_std_types_device.c:299:29: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-02-05 Thread Jason Gunthorpe
On Tue, Feb 02, 2021 at 01:40:33AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 1048ba83fb1c00cd24172e23e8263972f6b5d9ac > commit: 9f85cbe50aa044a46f0a22fda323fa27b80c82da RDMA/uverbs: Expose the new > GID query

Re: [PATCH 2/4] hwmon: Use subdir-ccflags-* to inherit debug flag

2021-02-05 Thread Bjorn Helgaas
On Fri, Feb 05, 2021 at 10:28:32AM -0800, Guenter Roeck wrote: > On Fri, Feb 05, 2021 at 05:44:13PM +0800, Yicong Yang wrote: > > From: Junhao He > > > > Use subdir-ccflags-* instead of ccflags-* to inherit the debug > > settings from Kconfig when traversing subdirectories. > > > >

drivers/gpu/drm/nouveau/nouveau_dmem.c:404:25: sparse: sparse: cast removes address space '__iomem' of expression

2021-02-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 61556703b610a104de324e4f061dc6cf7b218b46 commit: 71e741ad124d07b15d7f1cd481f98d69867ca0a2 drm/nouveau/svm: convert migrate_copy to new push macros date: 7 months ago config:

Re: [PATCH 3/8] sched/fair: Tweak misfit-related capacity checks

2021-02-05 Thread Valentin Schneider
On 05/02/21 18:17, Vincent Guittot wrote: > On Fri, 5 Feb 2021 at 18:00, Valentin Schneider >> >> @@ -8253,7 +8260,7 @@ check_cpu_capacity(struct rq *rq, struct >> >> sched_domain *sd) >> >> static inline int check_misfit_status(struct rq *rq, struct sched_domain >> >> *sd) >> >> { >> >>

Re: [PATCH 1/2] platform/chrome: cros_ec_typec: Skip port partner check in configure_mux()

2021-02-05 Thread Prashant Malani
Hi Raj, On Fri, Feb 5, 2021 at 11:52 AM Rajmohan Mani wrote: > > For certain needs like updating the USB4 retimer firmware when no > device are connected, the Type-C ports require mux configuration, > to be able to communicate with the retimer. So removed the above > check to allow for mux

Re: [PATCH v2 00/12] kasan: optimizations and fixes for HW_TAGS

2021-02-05 Thread Andrey Konovalov
On Fri, Feb 5, 2021 at 4:39 PM Andrey Konovalov wrote: > > This patchset goes on top of: > > 1. Vincenzo's async support patches [1], and Nevermind this, Vincenzo is planning to do more work on the async patches, so I'll post v3 of this patchset based on the mm tree. > 2. "kasan: untag

Re: [PATCH 2/2] platform/chrome: cros_ec_types: Support disconnect events without partners

2021-02-05 Thread Prashant Malani
On Fri, Feb 5, 2021 at 12:05 PM Prashant Malani wrote: > > Hi Raj, > > On Fri, Feb 5, 2021 at 11:52 AM Rajmohan Mani wrote: > > > > There are certain scenarios, where a disconnect event might > > occur on a Type-C port with no port partners. This is required > > to enable communication to

Re: [PATCH] selftests/vm: rename file run_vmtests to run_vmtests.sh

2021-02-05 Thread John Hubbard
On 2/5/21 12:55 AM, Rong Chen wrote: Commit c2aa8afc36fa has renamed run_vmtests in Makefile, but the file still uses the old name. The kernel test robot reported the following issue: # selftests: vm: run_vmtests.sh # Warning: file run_vmtests.sh is missing! not ok 1 selftests: vm:

Re: [PATCH 2/2] platform/chrome: cros_ec_types: Support disconnect events without partners

2021-02-05 Thread Prashant Malani
Hi Raj, On Fri, Feb 5, 2021 at 11:52 AM Rajmohan Mani wrote: > > There are certain scenarios, where a disconnect event might > occur on a Type-C port with no port partners. This is required > to enable communication to Burnside Bridge USB4 retimers. > > Signed-off-by: Rajmohan Mani minor commit

KCSAN: data-race in blk_stat_add / blk_stat_timer_fn (5)

2021-02-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:2ab38c17 mailmap: remove the "repo-abbrev" comment git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=130e19b4d0 kernel config: https://syzkaller.appspot.com/x/.config?x=38728258f37833e3 dashboard

Re: [PATCH] RFC syscore: add suspend type to syscore

2021-02-05 Thread Ruifeng Zhang
Rafael J. Wysocki 于2021年2月5日周五 下午7:39写道: > > On Fri, Feb 5, 2021 at 11:28 AM Ruifeng Zhang > wrote: > > > > Rafael J. Wysocki 于2021年2月4日周四 下午9:38写道: > > > > > > On Thu, Feb 4, 2021 at 10:07 AM Ruifeng Zhang > > > wrote: > > > > > > > > Greg KH 于2021年1月29日周五 下午4:53写道: > > > > > > > > > > On

<    3   4   5   6   7   8   9   10   11   12   >