Re: [PATCH] powerpc/uaccess: Perform barrier_nospec() in KUAP allowance helpers

2021-02-10 Thread Michael Ellerman
On Sun, 7 Feb 2021 10:08:11 + (UTC), Christophe Leroy wrote: > barrier_nospec() in uaccess helpers is there to protect against > speculative accesses around access_ok(). > > When using user_access_begin() sequences together with > unsafe_get_user() like macros, barrier_nospec() is called for >

Re: [PATCH 18/18] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree

2021-02-10 Thread Hector Martin
On 10/02/2021 21.24, Daniel Palmer wrote: This exact problem exists for MStar/SigmaStar too. As it stands there is no documentation to show what the actual clock tree looks like so everything is guess and I need to come up with numbers. I'm interested to see what the solution to this is as it wil

Re: [PATCH 1/9] mm/migrate.c: Always allow device private pages to migrate

2021-02-10 Thread Jason Gunthorpe
On Wed, Feb 10, 2021 at 02:40:10PM +1100, Alistair Popple wrote: > On Wednesday, 10 February 2021 12:39:32 AM AEDT Jason Gunthorpe wrote: > > On Tue, Feb 09, 2021 at 12:07:14PM +1100, Alistair Popple wrote: > > > Device private pages are used to represent device memory that is not > > > directly ac

Re: [PATCH V2 7/8] btrfs: use copy_highpage() instead of 2 kmaps()

2021-02-10 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH] powerpc/8xx: Fix software emulation interrupt

2021-02-10 Thread Michael Ellerman
On Fri, 5 Feb 2021 08:56:13 + (UTC), Christophe Leroy wrote: > For unimplemented instructions or unimplemented SPRs, the 8xx triggers > a "Software Emulation Exception" (0x1000). That interrupt doesn't set > reason bits in SRR1 as the "Program Check Exception" does. > > Go through emulation_as

Re: [PATCH] arch: powerpc: kernel: Fix the spelling mismach to mismatch in head.44x.S

2021-02-10 Thread Michael Ellerman
On Tue, 2 Feb 2021 15:07:46 +0530, Bhaskar Chowdhury wrote: > s/mismach/mismatch/ Applied to powerpc/next. [1/1] powerpc/44x: Fix a spelling mismach to mismatch in head_44x.S https://git.kernel.org/powerpc/c/ea7826583f5ed7abca97e6e56441caadcbbd957a cheers

Re: [PATCH V2 8/8] btrfs: convert to zero_user()

2021-02-10 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Hello my dear,

2021-02-10 Thread Kayla
I sent a message to you, did you get it?, Please confirm and write me back, thanks.

Re: [PATCH RFC 6/6] btrfs: Add roundrobin raid1 read policy

2021-02-10 Thread Michał Mirosław
On Wed, Feb 10, 2021 at 12:29:25PM +, Michal Rostecki wrote: > On Wed, Feb 10, 2021 at 05:24:28AM +0100, Michał Mirosław wrote: > > On Tue, Feb 09, 2021 at 09:30:40PM +0100, Michal Rostecki wrote: > > [...] > > > For the array with 3 HDDs, not adding any penalty resulted in 409MiB/s > > > (429M

Re: [PATCH 0/9] Add support for SVM atomics in Nouveau

2021-02-10 Thread Daniel Vetter
On Tue, Feb 09, 2021 at 12:53:27PM -0800, John Hubbard wrote: > On 2/9/21 5:37 AM, Daniel Vetter wrote: > > On Tue, Feb 9, 2021 at 1:57 PM Alistair Popple wrote: > > > > > > On Tuesday, 9 February 2021 9:27:05 PM AEDT Daniel Vetter wrote: > > > > > > > > > > Recent changes to pin_user_pages() pr

Re: [PATCH v3 net-next 00/11] Cleanup in brport flags switchdev offload for DSA

2021-02-10 Thread Ido Schimmel
On Wed, Feb 10, 2021 at 02:55:01PM +0200, Vladimir Oltean wrote: > On Wed, Feb 10, 2021 at 02:38:23PM +0200, Ido Schimmel wrote: > > On Wed, Feb 10, 2021 at 02:29:36PM +0200, Vladimir Oltean wrote: > > > On Wed, Feb 10, 2021 at 02:21:05PM +0200, Ido Schimmel wrote: > > > > On Wed, Feb 10, 2021 at 0

Re: [PATCH] gpio: uapi: use the preferred SPDX license identifier

2021-02-10 Thread Bartosz Golaszewski
On Thu, Feb 4, 2021 at 4:29 PM Greg Kroah-Hartman wrote: > > On Thu, Feb 04, 2021 at 04:17:51PM +0100, Bartosz Golaszewski wrote: > > On Thu, Feb 4, 2021 at 3:35 PM Greg Kroah-Hartman > > wrote: > > > > > > On Thu, Feb 04, 2021 at 03:15:50PM +0100, Bartosz Golaszewski wrote: > > > > On Thu, Feb 4

Re: [PATCH v4 3/3] vsprintf: dump full information of page flags in pGp

2021-02-10 Thread Joe Perches
On Wed, 2021-02-10 at 13:51 +0100, Petr Mladek wrote: > On Wed 2021-02-10 00:21:37, Yafang Shao wrote: > > On Tue, Feb 9, 2021 at 9:53 PM Petr Mladek wrote: [] > >  for (p = pff; p < pff + ARRAY_SIZE(pff); p++) { > > This looks a bit non-standard. IMHO, Joe was not against using index. > He propo

Re: [PATCH] erofs: fix shift-out-of-bounds of blkszbits

2021-02-10 Thread Gao Xiang
Hi Chao, On Wed, Jan 20, 2021 at 09:30:16AM +0800, Gao Xiang wrote: > From: Gao Xiang > > syzbot generated a crafted bitszbits which can be shifted > out-of-bounds[1]. So directly print unsupported blkszbits > instead of blksize. > > [1] https://lore.kernel.org/r/c72ddd05b9444...@go

Re: [PATCH v2] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-10 Thread kernel test robot
, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Dave-Jiang/driver-core-auxiliary-bus-Fix-calling-stage-for-auxiliary-bus-init/20210210-090304 base: https://git.kernel.org/pub/scm/linux/kernel/

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

2021-02-10 Thread Daniel Vetter
On Tue, Feb 09, 2021 at 12:16:51PM -0800, Suren Baghdasaryan wrote: > On Tue, Feb 9, 2021 at 12:03 PM Daniel Vetter wrote: > > > > On Tue, Feb 9, 2021 at 6:46 PM Christian König > > wrote: > > > > > > > > > > > > Am 09.02.21 um 18:33 schrieb Suren Baghdasaryan: > > > > On Tue, Feb 9, 2021 at 4:5

[gustavoars-linux:testing/staging/rtl8188eu] BUILD REGRESSION 25e1a76c1c41a6d6f103b572f4f50ba30787f9ab

2021-02-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/staging/rtl8188eu branch HEAD: 25e1a76c1c41a6d6f103b572f4f50ba30787f9ab staging: rtl8188eu: Replace one-element array with flexible-array in struct ndis_802_11_var_ie Error/Warning reports: https://lore.

Re: [PATCH v3 11/11] fs/dax: Remove useless functions

2021-02-10 Thread Christoph Hellwig
On Mon, Feb 08, 2021 at 06:55:30PM +0800, Shiyang Ruan wrote: > Since owner tarcking is triggerred by pmem device, these functions are s/tarcking/tracking/ > useless. So remove them. Note that this patch does not apply for me when applying your two series on top of 5.11-rc5.

Re: [RFC PATCH 2/2] drivers/virt: introduce CLOCK_BOOTTIME adjustment sysfs interface driver

2021-02-10 Thread Thomas Gleixner
On Wed, Feb 10 2021 at 19:39, Hikaru Nishida wrote: > From: Hikaru Nishida > > This adds a sysfs interface /sys/kernel/boottime_adj to enable advancing > CLOCK_BOOTTIME from the userspace without actual susupend/resume cycles. > > This gives a way to mitigate CLOCK_BOOTTIME divergence between gues

Re: [PATCH] drm: use getter/setter functions

2021-02-10 Thread Daniel Vetter
On Tue, Feb 09, 2021 at 10:13:04PM +0100, Julia Lawall wrote: > Use getter and setter functions, for platform_device structures and a > mipi_dsi_device structure. > > Signed-off-by: Julia Lawall Applied to drm-misc-next, thanks for the patch. -Daniel > > --- > drivers/gpu/drm/aspeed/aspeed_gfx

Re: [PATCH] video: use getter/setter functions

2021-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2021 at 08:23:41AM +, Lee Jones wrote: > On Tue, 09 Feb 2021, Julia Lawall wrote: > > > Use getter and setter functions, for platform_device structures and a > > spi_device structure. > > > > Signed-off-by: Julia Lawall > > > > --- > > drivers/video/backlight/qcom-wled.c

Re: [PATCH] xhci-pci: Set AMD Renoir USB controller to D3 when shutdown

2021-02-10 Thread Mathias Nyman
On 9.2.2021 10.37, Greg Kroah-Hartman wrote: > On Fri, Feb 05, 2021 at 02:50:15PM +0800, Kai-Heng Feng wrote: >> On Fri, Feb 5, 2021 at 2:45 PM Aaron Ma wrote: >>> >>> >>> On 2/5/21 12:27 PM, Kai-Heng Feng wrote: Can you please test the following patch, which should address the root cau

Re: [RFC PATCH 1/2] timekeeping: Add timekeeping_adjust_boottime

2021-02-10 Thread Thomas Gleixner
On Wed, Feb 10 2021 at 19:39, Hikaru Nishida wrote: > From: Hikaru Nishida > > This introduces timekeeping_adjust_boottime() to give an interface to > modules that enables to advance CLOCK_BOOTTIME from userspace for > virtualized environments. Later patch introduces a sysfs interface > which call

Re: [PATCH 0/3] drm/ttm: constify static vm_operations_structs

2021-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2021 at 08:45:56AM +0100, Christian König wrote: > Reviewed-by: Christian König for the series. Smash it into -misc? -Daniel > > Am 10.02.21 um 00:48 schrieb Rikard Falkeborn: > > Constify a few static vm_operations_struct that are never modified. Their > > only usage is to assi

Re: [PATCH 1/3] lib/test_printf: use KSTM_MODULE_GLOBALS macro

2021-02-10 Thread Petr Mladek
On Tue 2021-02-09 23:18:12, Timur Tabi wrote: > Instead of defining the total/failed test counters manually, > test_printf should use the kselftest macro created for this > purpose. > > Signed-off-by: Timur Tabi Reviewed-by: Petr Mladek Best Regards, Petr

Re: [PATCH] kswapd: no need reclaim cma pages triggered by unmovable allocation

2021-02-10 Thread Michal Hocko
On Wed 10-02-21 12:07:57, zhou xianrong wrote: > > On 2021/2/9 下午5:23, Michal Hocko wrote: > > On Tue 09-02-21 16:23:13, zhou wrote: > > > From: zhou xianrong > > > > > > For purpose of better migration cma pages are allocated after > > > failure movalbe allocations and are used normally for fil

Re: [PATCH] video: use getter/setter functions

2021-02-10 Thread Julia Lawall
On Wed, 10 Feb 2021, Daniel Vetter wrote: > On Wed, Feb 10, 2021 at 08:23:41AM +, Lee Jones wrote: > > On Tue, 09 Feb 2021, Julia Lawall wrote: > > > > > Use getter and setter functions, for platform_device structures and a > > > spi_device structure. > > > > > > Signed-off-by: Julia Lawall

Re: [PATCH] net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX

2021-02-10 Thread Andrew Lunn
On Wed, Feb 10, 2021 at 09:11:10AM +0100, Geert Uytterhoeven wrote: > Making global2 support mandatory removed the Kconfig symbol > NET_DSA_MV88E6XXX_GLOBAL2. This symbol also served as an intermediate > symbol to make NET_DSA_MV88E6XXX_PTP depend on NET_DSA_MV88E6XXX. With > the symbol removed,

Re: bcm2711_thermal: Kernel panic - not syncing: Asynchronous SError Interrupt

2021-02-10 Thread Nicolas Saenz Julienne
[ Add Robin, Catalin and Florian in case they want to chime in ] Hi Juerg, thanks for the report! On Wed, 2021-02-10 at 11:48 +0100, Juerg Haefliger wrote: > Trying to dump the BCM2711 registers kills the kernel: > > # cat /sys/kernel/debug/regmap/dummy-avs-monitor\@fd5d2000/range > 0-efc > # ca

Re: [v3 net-next 08/10] skbuff: reuse NAPI skb cache on allocation path (__build_skb())

2021-02-10 Thread Florian Westphal
Alexander Lobakin wrote: > we're in such context. This includes: build_skb() (called only > from NIC drivers in NAPI Rx context) and {,__}napi_alloc_skb() > (called from the same place or from kernel network softirq > functions). build_skb is called from sleepable context in drivers/net/tun.c . P

[PATCH v5 1/5] Documentation/bindings: phy: update references to cp11x

2021-02-10 Thread kostap
From: Grzegorz Jaszczyk The cp11x references in dts has changed, reflect it in comphy documentation. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 delet

[PATCH v5 0/5] DTS updates for Marvell Armada CN913x platforms

2021-02-10 Thread kostap
From: Konstantin Porotchkin This patch series contains the following changes/fixes: 1. Add support for Armada CN913x Development Board topology "B" 2. Add support for Armada CN913x Reference Design boards (CRB) 3. Fixes the CP11X references in PHY binding document 4. Fixes the NAND paritioninig s

[PATCH v5 2/5] arch/arm64/boot/dts/marvell: fix NAND partitioning scheme

2021-02-10 Thread kostap
From: Konstantin Porotchkin Eliminate 1MB gap between Linux and filesystem partitions. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/cn9130-db.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/cn9130-db.dts b/arch/arm64/

[PATCH v5 4/5] dts: marvell: Enable 10G interfaces on 9130-DB and 9131-DB boards

2021-02-10 Thread kostap
From: Stefan Chulski This patch enables eth0 10G interface on CN9130-DB paltforms and eth0 10G and eth3 10G interfaces on CN9131-DB. Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/cn9130-db.dtsi | 2 +- arch/arm64/boot/dts/marvell/cn9131-db.

[PATCH v5 3/5] arm64: dts: cn913x: add device trees for topology B boards

2021-02-10 Thread kostap
From: Konstantin Porotchkin The CN913x DB with topology B is similar to a regular setup (A) boards, but uses NAND flash as a boot device, while topology A boards are booting from SPI flash. Since NAND and SPI on CN913x DB boards share some wires, they cannot be activated simultaneously. The DTS f

[PATCH v5 5/5] arm64: dts: add support for Marvell cn9130-crb platform

2021-02-10 Thread kostap
From: Konstantin Porotchkin The Marvell reference platform CN9130-CRB is a small form factor board in a metal case. The platform is based on CN9130 SoC with addition of 8 Gigabit ports SOHO Ethernet switch. The reference platform features the following: * Up to 4 CPU cores ARMv8 Cortex-A72 CPU *

Re: [PATCH 5/7] fsdax: Dedup file range to use a compare function

2021-02-10 Thread Christoph Hellwig
On Tue, Feb 09, 2021 at 05:46:13PM +0800, Ruan Shiyang wrote: > > > On 2021/2/9 下午5:34, Christoph Hellwig wrote: >> On Tue, Feb 09, 2021 at 05:15:13PM +0800, Ruan Shiyang wrote: >>> The dax dedupe comparison need the iomap_ops pointer as argument, so my >>> understanding is that we don't modify the

Re: [PATCH 18/18] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree

2021-02-10 Thread Tony Lindgren
* Krzysztof Kozlowski [210210 12:56]: > On Wed, Feb 10, 2021 at 01:34:50PM +0200, Tony Lindgren wrote: > > * Hector Martin [210210 11:14]: > > > On 10/02/2021 19.19, Tony Lindgren wrote: > > > > * Hector Martin 'marcan' [210208 12:05]: > > > > > On 08/02/2021 20.04, Krzysztof Kozlowski wrote: >

Re: [PATCH v3 01/11] pagemap: Introduce ->memory_failure()

2021-02-10 Thread Christoph Hellwig
On Mon, Feb 08, 2021 at 06:55:20PM +0800, Shiyang Ruan wrote: > When memory-failure occurs, we call this function which is implemented > by each kind of devices. For the fsdax case, pmem device driver > implements it. Pmem device driver will find out the block device where > the error page locate

[gustavoars-linux:testing/media/venus/hfi_msgs] BUILD SUCCESS b6fb2ff3a07206a03b2b5908561b7212e1ac6e43

2021-02-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/media/venus/hfi_msgs branch HEAD: b6fb2ff3a07206a03b2b5908561b7212e1ac6e43 media: venus: hfi_msgs.h: Replace one-element arrays with flexible-array members elapsed time: 1004m configs tested: 93 configs

Re: [PATCH v3 02/11] blk: Introduce ->corrupted_range() for block device

2021-02-10 Thread Christoph Hellwig
On Mon, Feb 08, 2021 at 06:55:21PM +0800, Shiyang Ruan wrote: > In fsdax mode, the memory failure happens on block device. So, it is > needed to introduce an interface for block devices. Each kind of block > device can handle the memory failure in ther own ways. As told before: DAX operations pl

Re: [page-reclaim] Augmented Page Reclaim

2021-02-10 Thread Michal Hocko
On Wed 10-02-21 00:12:38, Yu Zhao wrote: > On Tue, Feb 09, 2021 at 01:32:58PM -0800, Jesse Barnes wrote: > > > == > > > Augmented Page Reclaim > > > == > > > We would like to share a work with you and see if there is enough > > > interest to warrant a run for

[PATCH v2 1/4] perf tools: record aarch64 registers automatically

2021-02-10 Thread Alexandre Truong
On arm64, automatically record all the registers if the frame pointer mode is on. They will be used to do a dwarf unwind to find the caller of the leaf frame if the frame pointer was omitted. Signed-off-by: Alexandre Truong --- tools/perf/arch/arm64/util/machine.c | 7 +++ tools/perf/builtin

[PATCH v2 2/4] perf tools: add a mechanism to inject stack frames

2021-02-10 Thread Alexandre Truong
Add a mechanism for platforms to inject stack frames for the leaf frame caller if there is enough information to determine a frame is missing from dwarf or other post processing mechanisms. Signed-off-by: Alexandre Truong --- tools/perf/util/machine.c | 23 +++ 1 file changed

[PATCH v2 3/4] perf tools: enable dwarf_callchain_users on aarch64

2021-02-10 Thread Alexandre Truong
On arm64, enable dwarf_callchain_users which will be needed to do a dwarf unwind in order to get the caller of the leaf frame. Signed-off-by: Alexandre Truong --- tools/perf/builtin-report.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-

[PATCH v2 4/4] perf tools: determine if LR is the return address

2021-02-10 Thread Alexandre Truong
On arm64 and frame pointer mode (e.g: perf record --callgraph fp), use dwarf unwind info to check if the link register is the return address in order to inject it to the frame pointer stack. Write the following application: int a = 10; void f2(void) { for

Re: [PATCH 18/18] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree

2021-02-10 Thread Krzysztof Kozlowski
On Wed, Feb 10, 2021 at 03:19:46PM +0200, Tony Lindgren wrote: > * Krzysztof Kozlowski [210210 12:56]: > > On Wed, Feb 10, 2021 at 01:34:50PM +0200, Tony Lindgren wrote: > > > * Hector Martin [210210 11:14]: > > > > On 10/02/2021 19.19, Tony Lindgren wrote: > > > > > * Hector Martin 'marcan' [21

Re: [PATCH] gpio: GPIO_MXS should not default to y, unconditionally

2021-02-10 Thread Bartosz Golaszewski
On Mon, Feb 8, 2021 at 3:51 PM Geert Uytterhoeven wrote: > > Merely enabling CONFIG_COMPILE_TEST should not enable additional code. > To fix this, restrict the automatic enabling of GPIO_MXS to ARCH_MXS, > and ask the user in case of compile-testing. > > Fixes: 6876ca311bfca5d7 ("gpio: mxs: add CO

Re: drm/nouneau: 5.11 cycle regression bisected to 461619f5c324 "drm/nouveau: switch to new allocator"

2021-02-10 Thread Christian König
Am 10.02.21 um 13:22 schrieb Mike Galbraith: On Wed, 2021-02-10 at 12:44 +0100, Christian König wrote: Please try to add a "return NULL" at the beginning of ttm_pool_type_take(). That should effectively disable using the pool. That did away with the yield looping, but it doesn't take long fo

Re: [PATCH V5 1/2] mfd: qcom-spmi-pmic: Convert bindings to .yaml format

2021-02-10 Thread kgunda
On 2021-01-12 03:12, Rob Herring wrote: On Wed, Dec 30, 2020 at 05:26:22PM +0530, Kiran Gunda wrote: Convert the bindings from .txt to .yaml format. Signed-off-by: Kiran Gunda --- .../devicetree/bindings/mfd/qcom,spmi-pmic.txt | 80 -- .../devicetree/bindings/mfd/qcom,spmi-p

Re: [PATCH v2 08/14] x86/fault: Skip erratum #93 workaround on new CPUs

2021-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2021 at 10:06:02PM -0800, Andy Lutomirski wrote: > On Tue, Feb 9, 2021 at 6:33 PM Andy Lutomirski wrote: > > > > Erratum #93 applies to the first generation of AMD K8 CPUs. Skip the > > workaround on newer CPUs. > > Whoops, this breaks the !CPU_SUP_AMD build. It needs a fixup li

[PATCH] pinctrl: PINCTRL_MICROCHIP_SGPIO should depend on ARCH_SPARX5 || SOC_VCOREIII

2021-02-10 Thread Geert Uytterhoeven
the Microsemi/Microchip Serial GPIO device is present only Microsemi VCore III and Microchip Sparx5 SoCs. Hence add a dependency on ARCH_SPARX5 || SOC_VCOREIII, to prevent asking the user about this driver when configuring a kernel without support for these SoCs. Fixes: 7e5ea974e61c8dd0 ("pinctrl

Re: [PATCH 15/24] perf daemon: Add ping command

2021-02-10 Thread Jiri Olsa
On Wed, Feb 10, 2021 at 09:51:46AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Feb 08, 2021 at 09:08:59PM +0100, Jiri Olsa escreveu: > > + > > + if (!pollfd.revents & POLLIN) { > > + pr_err("failed: did not received an ack\n"); > > + goto out; > > + } > > + > > Fixed u

Re: [PATCH v1 7/7] ACPI: property: Allow counting a single value as an array of 1 element

2021-02-10 Thread Rafael J. Wysocki
On Wednesday, February 10, 2021 1:36:00 PM CET Rafael J. Wysocki wrote: > On Wed, Feb 10, 2021 at 12:51 PM Andy Shevchenko > wrote: > > > > We allow to read the single value as a first element in the array. > > Unfortunately the counting doesn't work in this case and we can't > > call fwnode_prope

Re: [PATCH v3 05/11] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-02-10 Thread Christoph Hellwig
> +extern int mf_dax_mapping_kill_procs(struct address_space *mapping, pgoff_t > index, int flags); No nee for the extern, please avoid the overly long line. > @@ -120,6 +121,13 @@ static int hwpoison_filter_dev(struct page *p) > if (PageSlab(p)) > return -EINVAL; > > +

Re: [RFC PATCH 0/2] Introduce a way to adjust CLOCK_BOOTTIME from userspace for VM guests

2021-02-10 Thread Arnd Bergmann
On Wed, Feb 10, 2021 at 11:39 AM Hikaru Nishida wrote: > From: Hikaru Nishida > > We'd like to add a sysfs interface that enable us to advance > CLOCK_BOOTTIME from userspace. The use case of this change is that > adjusting guest's CLOCK_BOOTTIME as host suspends to ensure that the > guest can no

Re: [PATCH v2 2/8] cxl/mem: Find device capabilities

2021-02-10 Thread Jonathan Cameron
On Tue, 9 Feb 2021 16:02:53 -0800 Ben Widawsky wrote: > Provide enough functionality to utilize the mailbox of a memory device. > The mailbox is used to interact with the firmware running on the memory > device. The flow is proven with one implemented command, "identify". > Because the class code

Re: [PATCH v2 0/9] Introduce vfio-pci-core subsystem

2021-02-10 Thread Jason Gunthorpe
On Wed, Feb 10, 2021 at 07:52:08AM +, Tian, Kevin wrote: > > This subsystem framework will also ease on adding vendor specific > > functionality to VFIO devices in the future by allowing another module > > to provide the pci_driver that can setup number of details before > > registering to VFIO

possible deadlock in start_this_handle (2)

2021-02-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:1e0d27fc Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15cbce90d0 kernel config: https://syzkaller.appspot.com/x/.config?x=bd1f72220b2e57eb dashboard lin

Re: [PATCH 13/18] arm64: ioremap: use nGnRnE mappings on platforms that require it

2021-02-10 Thread Mark Kettenis
> From: Hector Martin > Date: Wed, 10 Feb 2021 21:24:15 +0900 Hi Hector, Since device tree bindings are widely used outside the Linux tree, here are some thoughts from a U-Boot and OpenBSD perspective. > Hi Will, I'm pulling you in at Marc's suggestion. Do you have an opinion > on what the bet

Re: [PATCH 3/3] lib/vsprintf: make-printk-non-secret printks all addresses as unhashed

2021-02-10 Thread Petr Mladek
On Tue 2021-02-09 23:18:14, Timur Tabi wrote: > If the make-printk-non-secret command line parameter is set, then > printk("%p") will print pointers as unhashed. This is useful for > debugging purposes. > > A large warning message is displayed if this option is enabled. > Unhashed pointers, while

Re: [PATCH v3 06/11] mm, pmem: Implement ->memory_failure() in pmem driver

2021-02-10 Thread Christoph Hellwig
> +static int pmem_pagemap_memory_failure(struct dev_pagemap *pgmap, > + unsigned long pfn, int flags) > +{ > + struct pmem_device *pdev; > + struct gendisk *disk; > + loff_t disk_offset; > + int rc = 0; > + unsigned long size = page_size(pfn_to_page(pfn)); > + > +

Re: [PATCH v3 10/11] xfs: Implement ->corrupted_range() for XFS

2021-02-10 Thread Christoph Hellwig
> + if (XFS_RMAP_NON_INODE_OWNER(rec->rm_owner) || > + (rec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK))) { > + // TODO check and try to fix metadata > + rc = -EFSCORRUPTED; > + xfs_force_shutdown(cur->bc_mp, SHUTDOWN_CORRUPT_META); Just

Re: [PATCH] pinctrl: PINCTRL_MICROCHIP_SGPIO should depend on ARCH_SPARX5 || SOC_VCOREIII

2021-02-10 Thread Lars Povlsen
Geert Uytterhoeven writes: > the Microsemi/Microchip Serial GPIO device is present only Microsemi > VCore III and Microchip Sparx5 SoCs. Hence add a dependency on > ARCH_SPARX5 || SOC_VCOREIII, to prevent asking the user about this > driver when configuring a kernel without support for these So

Re: [PATCH v1] x86/vdso: fix CE on non-compatible cflags

2021-02-10 Thread Tong Zhang
Hi Borislav, I am using ubuntu gcc, the x86-urgent branch works Thanks, - Tong On Wed, Feb 10, 2021 at 4:36 AM Borislav Petkov wrote: > > On Tue, Feb 09, 2021 at 07:07:49PM -0500, Tong Zhang wrote: > > I am getting some compilation error on when using CONFIG_X86_32 kernel > > configuration > > Wi

Re: [PATCH] mm: page-writeback: simplify memcg handling in test_clear_page_writeback()

2021-02-10 Thread Shakeel Butt
On Tue, Feb 9, 2021 at 1:45 PM Johannes Weiner wrote: > > Page writeback doesn't hold a page reference, which allows truncate to > free a page the second PageWriteback is cleared. This used to require > special attention in test_clear_page_writeback(), where we had to be > careful not to rely on t

Re: [PATCH v1 7/7] ACPI: property: Allow counting a single value as an array of 1 element

2021-02-10 Thread Rafael J. Wysocki
On Wednesday, February 10, 2021 2:31:48 PM CET Rafael J. Wysocki wrote: > On Wednesday, February 10, 2021 1:36:00 PM CET Rafael J. Wysocki wrote: > > On Wed, Feb 10, 2021 at 12:51 PM Andy Shevchenko > > wrote: > > > > > > We allow to read the single value as a first element in the array. > > > Unf

[PATCH linux-next] vpda: correctly size vdpa_nl_policy

2021-02-10 Thread Eric Dumazet
From: Eric Dumazet We need to ensure last entry of vdpa_nl_policy[] is zero, otherwise out-of-bounds access is hurting us. BUG: KASAN: global-out-of-bounds in netlink_policy_dump_add_policy+0x3b6/0x440 net/netlink/policy.c:160 Read of size 1 at addr 89cc61d0 by task syz-executor181/84

Re: linux-next: build warning after merge of the rdma tree

2021-02-10 Thread Jason Gunthorpe
On Wed, Feb 10, 2021 at 09:11:49PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the rdma tree, today's linux-next build (htmldocs) produced > this warning: > > drivers/infiniband/core/device.c:859: warning: Function parameter or member > 'dev' not described in 'ib_port_immutable_re

[PATCH] mailbox: tegra-hsp: Set lockdep class dynamically

2021-02-10 Thread Mikko Perttunen
On Tegra194, due to both BPMP and TCU using mailboxes, we get a lockdep spew at boot. Both are using different instances of HSP, so this is harmless. As such give each HSP instance a different lockdep class. Signed-off-by: Mikko Perttunen --- drivers/mailbox/tegra-hsp.c | 15 +++ 1 f

Re: [PATCH v6 0/7] gpio: ep93xx: fixes series patch

2021-02-10 Thread Bartosz Golaszewski
On Tue, Feb 9, 2021 at 2:31 PM Nikita Shubin wrote: > > v2: > https://lore.kernel.org/linux-gpio/20210127104617.1173-1-nikita.shu...@maquefel.me/ > > v3: > https://lore.kernel.org/linux-gpio/20210128122123.25341-1-nikita.shu...@maquefel.me/ > > v4: > https://lore.kernel.org/linux-gpio/202102050805

Re: [PATCH] pinctrl: PINCTRL_MICROCHIP_SGPIO should depend on ARCH_SPARX5 || SOC_VCOREIII

2021-02-10 Thread Geert Uytterhoeven
Hi Lars, On Wed, Feb 10, 2021 at 2:45 PM Lars Povlsen wrote: > Geert Uytterhoeven writes: > > the Microsemi/Microchip Serial GPIO device is present only Microsemi > > VCore III and Microchip Sparx5 SoCs. Hence add a dependency on > > ARCH_SPARX5 || SOC_VCOREIII, to prevent asking the user about

Re: [PATCH 2/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rv1108 boards

2021-02-10 Thread Arnd Bergmann
On Wed, Feb 10, 2021 at 11:49 AM Heiko Stübner wrote: > Am Mittwoch, 10. Februar 2021, 11:34:41 CET schrieb Arnd Bergmann: > > On Wed, Feb 10, 2021 at 12:50 AM Heiko Stübner wrote: > > > Am Dienstag, 9. Februar 2021, 23:25:40 CET schrieb Arnd Bergmann: > > Each board should have its own aliases n

[tip: sched/core] rcu/nocb: Perform deferred wake up before last idle's need_resched() check

2021-02-10 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the sched/core branch of tip: Commit-ID: 3a7b5c87a0b29c8554a9bdbbbd75eeb4176fb5d4 Gitweb: https://git.kernel.org/tip/3a7b5c87a0b29c8554a9bdbbbd75eeb4176fb5d4 Author:Frederic Weisbecker AuthorDate:Mon, 01 Feb 2021 00:05:45 +01:00 Co

[tip: sched/core] rcu/nocb: Trigger self-IPI on late deferred wake up before user resume

2021-02-10 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the sched/core branch of tip: Commit-ID: 0940cbceefbaa40d85efeb968ce9f2707a145e58 Gitweb: https://git.kernel.org/tip/0940cbceefbaa40d85efeb968ce9f2707a145e58 Author:Frederic Weisbecker AuthorDate:Mon, 01 Feb 2021 00:05:46 +01:00 Co

[tip: sched/core] sched/features: Fix hrtick reprogramming

2021-02-10 Thread tip-bot2 for Juri Lelli
The following commit has been merged into the sched/core branch of tip: Commit-ID: 0abadfdf696f648ed32fa1bd16d4e0358de19bab Gitweb: https://git.kernel.org/tip/0abadfdf696f648ed32fa1bd16d4e0358de19bab Author:Juri Lelli AuthorDate:Mon, 08 Feb 2021 08:35:53 +01:00 Committer:

[tip: sched/core] sched/features: Distinguish between NORMAL and DEADLINE hrtick

2021-02-10 Thread tip-bot2 for Juri Lelli
The following commit has been merged into the sched/core branch of tip: Commit-ID: f2ebf3f45f7a68b67d456296e5efbb58577fb771 Gitweb: https://git.kernel.org/tip/f2ebf3f45f7a68b67d456296e5efbb58577fb771 Author:Juri Lelli AuthorDate:Mon, 08 Feb 2021 08:35:54 +01:00 Committer:

[tip: sched/core] sched,x86: Allow !PREEMPT_DYNAMIC

2021-02-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/core branch of tip: Commit-ID: 82891be90f3c42dc964fd61b8b2a89de12940c9f Gitweb: https://git.kernel.org/tip/82891be90f3c42dc964fd61b8b2a89de12940c9f Author:Peter Zijlstra AuthorDate:Tue, 09 Feb 2021 22:02:33 +01:00 Committ

[tip: sched/core] sched/deadline: Reduce rq lock contention in dl_add_task_root_domain()

2021-02-10 Thread tip-bot2 for Dietmar Eggemann
The following commit has been merged into the sched/core branch of tip: Commit-ID: 3096b6fe494b7b4e45d20cb77aa6b715a3efe344 Gitweb: https://git.kernel.org/tip/3096b6fe494b7b4e45d20cb77aa6b715a3efe344 Author:Dietmar Eggemann AuthorDate:Tue, 19 Jan 2021 09:35:42 +01:00 Commi

[tip: sched/core] rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers

2021-02-10 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the sched/core branch of tip: Commit-ID: e4234f21d2ea7674bcc1aeaca9d382b50ca1efec Gitweb: https://git.kernel.org/tip/e4234f21d2ea7674bcc1aeaca9d382b50ca1efec Author:Frederic Weisbecker AuthorDate:Mon, 01 Feb 2021 00:05:44 +01:00 Co

[tip: sched/core] entry/kvm: Explicitly flush pending rcuog wakeup before last rescheduling point

2021-02-10 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the sched/core branch of tip: Commit-ID: 14bbd41d5109a8049f3f1b77e994e0213f94f4c0 Gitweb: https://git.kernel.org/tip/14bbd41d5109a8049f3f1b77e994e0213f94f4c0 Author:Frederic Weisbecker AuthorDate:Mon, 01 Feb 2021 00:05:48 +01:00 Co

[tip: sched/core] entry: Explicitly flush pending rcuog wakeup before last rescheduling point

2021-02-10 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the sched/core branch of tip: Commit-ID: 2c910e0753dc424dfdeb1f8e230ad8f187a744a7 Gitweb: https://git.kernel.org/tip/2c910e0753dc424dfdeb1f8e230ad8f187a744a7 Author:Frederic Weisbecker AuthorDate:Mon, 01 Feb 2021 00:05:47 +01:00 Co

[tip: sched/core] uprobes: (Re)add missing get_uprobe() in __find_uprobe()

2021-02-10 Thread tip-bot2 for Sven Schnelle
The following commit has been merged into the sched/core branch of tip: Commit-ID: 2c3496a02cb06ffe957854d8488a5799d7bfb252 Gitweb: https://git.kernel.org/tip/2c3496a02cb06ffe957854d8488a5799d7bfb252 Author:Sven Schnelle AuthorDate:Tue, 09 Feb 2021 16:07:11 +01:00 Committe

[tip: sched/core] smp: Process pending softirqs in flush_smp_call_function_from_idle()

2021-02-10 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the sched/core branch of tip: Commit-ID: 66040b2d5d41f85cb1a752a75260595344c5ec3b Gitweb: https://git.kernel.org/tip/66040b2d5d41f85cb1a752a75260595344c5ec3b Author:Sebastian Andrzej Siewior AuthorDate:Sat, 23 Jan 2021 21:10:25 +01

[RFC][PATCH] kprobes: Remove kprobe::fault_handler

2021-02-10 Thread Peter Zijlstra
Somewhat related.. I had this pending. --- Subject: kprobes: Remove kprobe::fault_handler From: Peter Zijlstra Date: Tue Feb 2 10:43:41 CET 2021 The reason for kprobe::fault_handler(), as given by their comment: * We come here because instructions in the pre/post * handler caused the page_f

[PATCH] spi: atmel-quadspi: Disable the QSPI IP at suspend()

2021-02-10 Thread Tudor Ambarus
It is safer to disable the QSPI IP at suspend, in order to avoid possible impact of glitches on the internal FSMs. This is a theoretical fix, there were no problems seen as of now. Tested on sama5d2 and sam9x60 versions of the IP. Signed-off-by: Tudor Ambarus --- drivers/spi/atmel-quadspi.c | 1

[tip: locking/core] checkpatch: Don't check for mutex_trylock_recursive()

2021-02-10 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the locking/core branch of tip: Commit-ID: 6c80408a8a0360fa9223b8c21c0ab8ef42e88bfe Gitweb: https://git.kernel.org/tip/6c80408a8a0360fa9223b8c21c0ab8ef42e88bfe Author:Sebastian Andrzej Siewior AuthorDate:Wed, 10 Feb 2021 09:52:48 +

[tip: locking/core] s390: Use arch_local_irq_{save,restore}() in early boot code

2021-02-10 Thread tip-bot2 for Sven Schnelle
The following commit has been merged into the locking/core branch of tip: Commit-ID: b38085ba60246fccc2f49d2ac162528dedbc4e71 Gitweb: https://git.kernel.org/tip/b38085ba60246fccc2f49d2ac162528dedbc4e71 Author:Sven Schnelle AuthorDate:Wed, 10 Feb 2021 14:24:16 +01:00 Commit

[tip: locking/core] locking/mutex: Kill mutex_trylock_recursive()

2021-02-10 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the locking/core branch of tip: Commit-ID: 0f319d49a4167e402b01b2b56639386f0b6846ba Gitweb: https://git.kernel.org/tip/0f319d49a4167e402b01b2b56639386f0b6846ba Author:Sebastian Andrzej Siewior AuthorDate:Wed, 10 Feb 2021 09:52:47 +

[tip: perf/core] perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]

2021-02-10 Thread tip-bot2 for Jim Mattson
The following commit has been merged into the perf/core branch of tip: Commit-ID: b3c3361fe325074d4144c29d46daae4fc5a268d5 Gitweb: https://git.kernel.org/tip/b3c3361fe325074d4144c29d46daae4fc5a268d5 Author:Jim Mattson AuthorDate:Fri, 05 Feb 2021 11:13:24 -08:00 Committer:

[tip: perf/core] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-02-10 Thread tip-bot2 for Zhang Rui
The following commit has been merged into the perf/core branch of tip: Commit-ID: 838342a6d6b7ecc475dc052d4a405c4ffb3ad1b5 Gitweb: https://git.kernel.org/tip/838342a6d6b7ecc475dc052d4a405c4ffb3ad1b5 Author:Zhang Rui AuthorDate:Fri, 05 Feb 2021 00:18:16 +08:00 Committer:

[tip: locking/core] lockdep: Noinstr annotate warn_bogus_irq_restore()

2021-02-10 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the locking/core branch of tip: Commit-ID: c8cc7e853192d520ab6a5957f5081034103587ae Gitweb: https://git.kernel.org/tip/c8cc7e853192d520ab6a5957f5081034103587ae Author:Peter Zijlstra AuthorDate:Tue, 09 Feb 2021 09:30:03 +01:00 Commi

Re: [PATCH RFC 0/6] Add roundrobin raid1 read policy

2021-02-10 Thread Michal Rostecki
On Wed, Feb 10, 2021 at 12:18:53PM +, Michal Rostecki wrote: > > These patches look good. But as only round-robin policy requires > > to monitor the inflight and last-offset. Could you bring them under > > if policy=roundrobin? Otherwise, it is just a waste of CPU cycles > > if the policy != ro

[tip: perf/core] perf/x86/rapl: Only check lower 32bits for RAPL energy counters

2021-02-10 Thread tip-bot2 for Zhang Rui
The following commit has been merged into the perf/core branch of tip: Commit-ID: b6f78d3fba7f605f673185d7292d84af7576fdc1 Gitweb: https://git.kernel.org/tip/b6f78d3fba7f605f673185d7292d84af7576fdc1 Author:Zhang Rui AuthorDate:Fri, 05 Feb 2021 00:18:15 +08:00 Committer:

Re: [PATCH v2 net-next 3/4] net: phy: Add Qualcomm QCA807x driver

2021-02-10 Thread Heiner Kallweit
On 10.02.2021 13:55, Robert Marko wrote: > This adds driver for the Qualcomm QCA8072 and QCA8075 PHY-s. > > They are 2 or 5 port IEEE 802.3 clause 22 compliant > 10BASE-Te, 100BASE-TX and 1000BASE-T PHY-s. > > They feature 2 SerDes, one for PSGMII or QSGMII connection with MAC, > while second one

Re: [PATCH v5 4/5] dts: marvell: Enable 10G interfaces on 9130-DB and 9131-DB boards

2021-02-10 Thread Marcin Wojtas
śr., 10 lut 2021 o 14:16 napisał(a): > > From: Stefan Chulski > > This patch enables eth0 10G interface on CN9130-DB paltforms and > eth0 10G and eth3 10G interfaces on CN9131-DB. Thank you. Reviewed-by: Marcin Wojtas > > Signed-off-by: Stefan Chulski > Signed-off-by: Konstantin Porotchkin >

[tip: perf/core] perf/x86/rapl: Add msr mask support

2021-02-10 Thread tip-bot2 for Zhang Rui
The following commit has been merged into the perf/core branch of tip: Commit-ID: ffb20c2e52e8709b5fc9951e8863e31efb1f2cba Gitweb: https://git.kernel.org/tip/ffb20c2e52e8709b5fc9951e8863e31efb1f2cba Author:Zhang Rui AuthorDate:Fri, 05 Feb 2021 00:18:14 +08:00 Committer:

Re: [PATCH v4 13/17] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2021-02-10 Thread kernel test robot
use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/iio-core-buffer-add-support-for-multiple-IIO-buffers-per-IIO-device/20210210-182500 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic

Re: [PATCH stable 4.9] mm: memcontrol: fix NULL pointer crash in test_clear_page_writeback()

2021-02-10 Thread Greg KH
On Tue, Feb 09, 2021 at 04:19:46PM -0500, Johannes Weiner wrote: > On Tue, Feb 09, 2021 at 12:26:15PM -0800, Florian Fainelli wrote: > > From: Johannes Weiner > > > > commit 739f79fc9db1b38f96b5a5109b247a650fbebf6d upstream > > ... > > > This patch is present in a downstream Android tree: > >

Re: [PATCH] mm, slub: better heuristic for number of cpus when calculating slab order

2021-02-10 Thread Mel Gorman
On Mon, Feb 08, 2021 at 02:41:08PM +0100, Vlastimil Babka wrote: > When creating a new kmem cache, SLUB determines how large the slab pages will > based on number of inputs, including the number of CPUs in the system. Larger > slab pages mean that more objects can be allocated/free from per-cpu sla

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