Re: [PATCH] can: mcp251xfd: fix wrong check in mcp251xfd_handle_rxif_one

2021-01-12 Thread Marc Kleine-Budde
On 1/13/21 8:31 AM, Qinglang Miao wrote: > If alloc_canfd_skb returns NULL, 'cfg' is an uninitialized > variable, so we should check 'skb' rather than 'cfd' after > calling alloc_canfd_skb(priv->ndev, ). > > Fixes: 55e5b97f003e ("can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI > CAN") >

Re: Old platforms: bring out your dead

2021-01-12 Thread Rob Landley
On 1/12/21 4:46 PM, Linus Walleij wrote: > On Tue, Jan 12, 2021 at 3:45 PM John Paul Adrian Glaubitz > wrote: > >> Yeah, I have the same impression that's the strong commercial interest pushes >> hobbyist use of the Linux kernel a bit down. A lot of these changes feel like >> they're motivated

[git pull] habanalabs fixes for 5.11-rc4

2021-01-12 Thread Oded Gabbay
Hi Greg, This pull request contains three important bug fixes for 5.11-rc4. Basically the driver won't work without the dma address fix, and IMO the two other fixes are also improtant enough to be included at this stage. Thanks, Oded The following changes since commit

Re: "UBSAN: shift-out-of-bounds in mceusb_dev_recv" should share the same root cause with "UBSAN: shift-out-of-bounds in mceusb_dev_printdata"

2021-01-12 Thread Greg KH
On Wed, Jan 13, 2021 at 01:04:44PM +0800, 慕冬亮 wrote: > Hi developers, > > I found that "UBSAN: shift-out-of-bounds in mceusb_dev_recv" and > "UBSAN: shift-out-of-bounds in mceusb_dev_printdata" should share the > same root cause. > The reason is that the PoCs after minimization has a high

Re: [RFC 1/1] s390/pci: expose UID checking state in sysfs

2021-01-12 Thread Niklas Schnelle
On 1/12/21 10:50 PM, Bjorn Helgaas wrote: > On Mon, Jan 11, 2021 at 10:38:57AM +0100, Niklas Schnelle wrote: >> We use the UID of a zPCI adapter, or the UID of the function zero if >> there are multiple functions in an adapter, as PCI domain if and only if >> UID Checking is turned on. >>

Re: [PATCH v3 2/3] dt-bindings: arm: hisilicon: Add binding for L3 cache controller

2021-01-12 Thread Leizhen (ThunderTown)
On 2021/1/12 21:55, Arnd Bergmann wrote: > On Tue, Jan 12, 2021 at 1:35 PM Leizhen (ThunderTown) > wrote: >> On 2021/1/12 16:46, Arnd Bergmann wrote: >>> On Tue, Jan 12, 2021 at 2:56 AM Zhen Lei wrote: >>> +--- +$id: http://devicetree.org/schemas/arm/hisilicon/l3cache.yaml#

Re: [PATCH] module: invoke kobject uevent before sending LIVE notification

2021-01-12 Thread Greg Kroah-Hartman
On Wed, Jan 13, 2021 at 01:33:10AM +0100, Adam Zabrocki wrote: > The recent change "module: delay kobject uevent until after module init > call", while helping avoid a race between udev/systemd and the module > loader, made it unnecessarily more difficult to monitor kernel module > integrity by

Re: [patch 1/4] sparc/mm/highmem: Flush cache and TLB

2021-01-12 Thread Andreas Larsson
On 2021-01-12 18:01, Thomas Gleixner wrote: The recent conversion to the generic kmap_local infrastructure failed to assign the proper pre/post map/unmap flush operations for sparc. Sparc requires cache flush before map/unmap and tlb flush afterwards. Fixes: 3293efa97807 ("sparc/mm/highmem:

Re: [PATCH 3/6] KVM: selftests: Convert iterations to int in dirty_log_perf_test

2021-01-12 Thread Thomas Huth
On 12/01/2021 22.42, Ben Gardon wrote: In order to add an iteration -1 to indicate that the memory population phase has not yet completed, convert the interations counters to ints. No functional change intended. Reviewed-by: Jacob Xu Signed-off-by: Ben Gardon ---

Re: [PATCH v3] mhi: use irq_flags if controller driver configures it

2021-01-12 Thread Kalle Valo
Manivannan Sadhasivam writes: > On Mon, Jan 04, 2021 at 06:11:28PM +0800, Carl Huang wrote: >> If controller driver has specified the irq_flags, mhi uses this specified >> irq_flags. Otherwise, mhi uses default irq_flags. >> >> The purpose of this change is to support one MSI vector for

Re: [PATCH 2/6] KVM: selftests: Avoid flooding debug log while populating memory

2021-01-12 Thread Thomas Huth
On 12/01/2021 22.42, Ben Gardon wrote: Peter Xu pointed out that a log message printed while waiting for the memory population phase of the dirty_log_perf_test will flood the debug logs as there is no delay after printing the message. Since the message does not provide much value anyway, remove

Re: [PATCH v2 4/5] clk: qcom: Add A7 PLL support

2021-01-12 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2021-01-08 03:32:32) > Add support for PLL found in Qualcomm SDX55 platforms which is used to > provide clock to the Cortex A7 CPU via a mux. This PLL can provide high > frequency clock to the CPU above 1GHz as compared to the other sources > like GPLL0. > > In this

Re: [PATCH 2/2] dmaengine: ti: k3-udma: Add support for burst_size configuration for mem2mem

2021-01-12 Thread Péter Ujfalusi
Hi Vinod, On 1/12/21 12:16 PM, Vinod Koul wrote: > On 14-12-20, 10:13, Peter Ujfalusi wrote: >> The UDMA and BCDMA can provide higher throughput if the burst_size of the >> channel is changed from it's default (which is 64 bytes) for Ultra-high >> and high capacity channels. >> >> This

Re: [PATCH v2 5/5] clk: qcom: Add SDX55 APCS clock controller support

2021-01-12 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2021-01-08 03:32:33) > Add a driver for the SDX55 APCS clock controller. It is part of the APCS > hardware block, which among other things implements also a combined mux > and half integer divider functionality. The APCS clock controller has 3 > parent clocks: > >

[PATCH v3 1/6] mm: Move pfn_to_online_page() out of line

2021-01-12 Thread Dan Williams
pfn_to_online_page() is already too large to be a macro or an inline function. In anticipation of further logic changes / growth, move it out of line. No functional change, just code movement. Reported-by: Michal Hocko Reviewed-by: David Hildenbrand Reviewed-by: Oscar Salvador Signed-off-by:

[PATCH v3 5/6] mm: Fix memory_failure() handling of dax-namespace metadata

2021-01-12 Thread Dan Williams
Given 'struct dev_pagemap' spans both data pages and metadata pages be careful to consult the altmap if present to delineate metadata. In fact the pfn_first() helper already identifies the first valid data pfn, so export that helper for other code paths via pgmap_pfn_valid(). Other usage of

[PATCH v3 6/6] libnvdimm/namespace: Fix visibility of namespace resource attribute

2021-01-12 Thread Dan Williams
Legacy pmem namespaces lost support for the "resource" attribute when the code was cleaned up to put the permission visibility in the declaration. Restore this by listing 'resource' in the default attributes. A new ndctl regression test for pfn_to_online_page() corner cases builds on this fix.

[PATCH v3 3/6] mm: Teach pfn_to_online_page() about ZONE_DEVICE section collisions

2021-01-12 Thread Dan Williams
While pfn_to_online_page() is able to determine pfn_valid() at subsection granularity it is not able to reliably determine if a given pfn is also online if the section is mixes ZONE_{NORMAL,MOVABLE} with ZONE_DEVICE. This means that pfn_to_online_page() may return invalid @page objects. For

[PATCH v3 4/6] mm: Fix page reference leak in soft_offline_page()

2021-01-12 Thread Dan Williams
The conversion to move pfn_to_online_page() internal to soft_offline_page() missed that the get_user_pages() reference taken by the madvise() path needs to be dropped when pfn_to_online_page() fails. Note the direct sysfs-path to soft_offline_page() does not perform a get_user_pages() lookup.

[PATCH v3 2/6] mm: Teach pfn_to_online_page() to consider subsection validity

2021-01-12 Thread Dan Williams
pfn_section_valid() determines pfn validity on subsection granularity where pfn_valid() may be limited to coarse section granularity. Explicitly validate subsections after pfn_valid() succeeds. Fixes: b13bc35193d9 ("mm/hotplug: invalid PFNs from pfn_to_online_page()") Cc: Qian Cai Cc: Michal

[PATCH v3 0/6] mm: Fix pfn_to_online_page() with respect to ZONE_DEVICE

2021-01-12 Thread Dan Williams
Changes since v2 [1]: - Collect some reviewed-by's from David and Oscar - Rework subsection validity to include pfn_valid() gated by CONFIG_HAVE_ARCH_PFN_VALID (David, Oscar) - Introduce pgmap_pfn_valid() to validate metadata vs data in a pgmap (David) ! Kill put_ref_page(): the extra "if

Re: [PATCH for doc-next] doc/zh_CN: adjust table markup in mips/ingenic-tcu.rst

2021-01-12 Thread Alex Shi
Reviewed-by: Alex Shi 在 2021/1/13 下午3:00, Lukas Bulwahn 写道: > Commit 419b1d4ed1cb ("doc/zh_CN: add mips ingenic-tcu.rst translation") > introduces a warning with make htmldocs: > > ./Documentation/translations/zh_CN/mips/ingenic-tcu.rst: > 61: WARNING: Malformed table. Text in column

drivers/spi/spi-lp8841-rtc.c:63:28: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-01-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e609571b5ffa3528bf85292de1ceaddac342bc1c commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 5 months ago config:

[PATCH] can: mcp251xfd: fix wrong check in mcp251xfd_handle_rxif_one

2021-01-12 Thread Qinglang Miao
If alloc_canfd_skb returns NULL, 'cfg' is an uninitialized variable, so we should check 'skb' rather than 'cfd' after calling alloc_canfd_skb(priv->ndev, ). Fixes: 55e5b97f003e ("can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI CAN") Signed-off-by: Qinglang Miao ---

[PATCH] ACPI: configfs: add missing check after configfs_register_default_group

2021-01-12 Thread Qinglang Miao
A list_add corruption is reported by Hulk Robot like this: == list_add corruption. Call Trace: link_obj+0xc0/0x1c0 link_group+0x21/0x140 configfs_register_subsystem+0xdb/0x380 acpi_configfs_init+0x25/0x1000 [acpi_configfs] do_one_initcall+0x149/0x820 do_init_module+0x1ef/0x720

Re: [RFC 2/2] clk: vc5: Add support for optional load capacitance

2021-01-12 Thread Stephen Boyd
Quoting Adam Ford (2021-01-06 09:39:00) > There are two registers which can set the load capacitance for > XTAL1 and XTAL2. These are optional registers when using an > external crystal. Parse the device tree and set the > corresponding registers accordingly. > > Signed-off-by: Adam Ford > ---

Re: [PATCH v4] PCI: endpoint: Fix NULL pointer dereference for ->get_features()

2021-01-12 Thread Leon Romanovsky
On Tue, Jan 12, 2021 at 07:32:25PM +0530, Shradha Todi wrote: > get_features ops of pci_epc_ops may return NULL, causing NULL pointer > dereference in pci_epf_test_bind function. Let us add a check for > pci_epc_feature pointer in pci_epf_test_bind before we access it to avoid > any such NULL

[PATCH 2/2] CREDITS: update email address and home address

2021-01-12 Thread Oded Gabbay
Update my email address to kernel.org account and my home address to my new house. Signed-off-by: Oded Gabbay --- CREDITS | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CREDITS b/CREDITS index 090ed4b004a5..ebd00ca9515b 100644 --- a/CREDITS +++ b/CREDITS @@ -1240,10

Re: [PATCH v6 00/22] Mediatek MT8192 clock support

2021-01-12 Thread James Liao
On Tue, 2020-12-22 at 21:09 +0800, Weiyi Lu wrote: > This series is based on v5.10-rc1. > > change since v5: > - remove unused clocks by rolling Tinghan's patches[1][2] into series > [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=398781 > [2]

[PATCH 1/2] habanalabs: update email address in sysfs/debugfs docs

2021-01-12 Thread Oded Gabbay
Use my kernel.org address for contact point instead of my private email address. Signed-off-by: Oded Gabbay --- .../ABI/testing/debugfs-driver-habanalabs | 44 +++--- .../ABI/testing/sysfs-driver-habanalabs | 58 +-- 2 files changed, 51 insertions(+), 51

Re: [PATCH v10 0/4] drm/panfrost: Add support for mt8183 GPU

2021-01-12 Thread Tomeu Vizoso
On 1/13/21 7:06 AM, Nicolas Boichat wrote: Hi! Follow-up on the v5 [1], things have gotten significantly better in the last 9 months, thanks to the efforts on Bifrost support by the Collabora team (and probably others I'm not aware of). I've been testing this series on a MT8183/kukui device,

Re: [btrfs] e86bb85b1f: stress-ng.utime.ops_per_sec -70.1% regression

2021-01-12 Thread Qu Wenruo
On 2021/1/12 下午11:24, kernel test robot wrote: Greeting, FYI, we noticed a -70.1% regression of stress-ng.utime.ops_per_sec due to commit: commit: e86bb85b1fec48bcb8dfb79ec9f104d1a38fda78 ("[PATCH] btrfs: make btrfs_dirty_inode() to always reserve metadata space") url:

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/13 15:54, Changheun Lee wrote: >> On 2021/01/13 13:01, Changheun Lee wrote: On 2021/01/12 21:14, Changheun Lee wrote: >> On 2021/01/12 17:52, Changheun Lee wrote: >>> From: "Changheun Lee" >>> >>> bio size can grow up to 4GB when muli-page bvec is enabled. >>>

[PATCH for 4.9/4.14] powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at

2021-01-12 Thread Christophe Leroy
From: Mathieu Desnoyers Backport for 4.9 and 4.14 (cherry picked from commit d85be8a49e733dcd23674aa6202870d54bf5600d) The placeholder for instruction selection should use the second argument's operand, which is %1, not %0. This could generate incorrect assembly code if the memory addressing

[PATCH for 4.4] powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at

2021-01-12 Thread Christophe Leroy
From: Mathieu Desnoyers Backport for 4.4 (cherry picked from commit d85be8a49e733dcd23674aa6202870d54bf5600d) The placeholder for instruction selection should use the second argument's operand, which is %1, not %0. This could generate incorrect assembly code if the memory addressing of operand

[PATCH v2 2/4] hwmon: Add Aspeed AST2600 support

2021-01-12 Thread Troy Lee
Updating index.rst and adding aspeed2600-pwm-tachometer.rst to address the driver. Changes since v1: - rename to aspeed2600-pwm-tachometer.rst - add license identifier Signed-off-by: Troy Lee --- .../hwmon/aspeed2600-pwm-tachometer.rst | 27 +++

[PATCH v2 1/4] dt-bindings: hwmon: Add Aspeed AST2600 PWM/Fan

2021-01-12 Thread Troy Lee
We add binding for supporting a new AST2600 PWM/Fan hwmon driver. Changes since v1: - dt binding with DT schema format Signed-off-by: Troy Lee --- .../hwmon/aspeed,ast2600-pwm-tachometer.yaml | 137 ++ 1 file changed, 137 insertions(+) create mode 100644

[PATCH v2 3/4] ARM: dts: aspeed: Add Aspeed AST2600 PWM/Fan node in devicetree

2021-01-12 Thread Troy Lee
Create a common node in aspeed-g6.dtsi and add fan nodes for aspeed-ast2600-evb.dts file. Changes since v1: - rename properties name in child node Signed-off-by: Troy Lee --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 152 +++ arch/arm/boot/dts/aspeed-g6.dtsi | 10

[PATCH v2 4/4] hwmon: Support Aspeed AST2600 PWM/Fan tachometer

2021-01-12 Thread Troy Lee
Add Aspeed AST2600 PWM/Fan tacho driver. AST2600 has 16 PWM channel and 16 FAN tacho channel. Changes since v1: - fixed review comments - fixed double-looped calculation of div_h and div_l - moving configuration to device tree - register hwmon driver with devm_hwmon_device_register_with_info()

[PATCH v2 0/4] hwmon: aspeed2600-pwm-tacho: Add driver support

2021-01-12 Thread Troy Lee
Aspeed AST2600 is a server management SoC which has 16 PWM channels and 16 fan tacho channel. This series of patch provides AST2600 PWM/Fan tacho support in hwmon class. The driver provides a sysfs interface, and user can configure PWM duty cycle and read current FAN speed in RPM. Change since

[PATCH for doc-next] doc/zh_CN: mips: use doc references instead

2021-01-12 Thread Lukas Bulwahn
The Chinese mips translations refer to non-existing labels in the original documentation. Hence, make htmldocs warns about those undefined labels on all files in ./Documentation/translations/zh_CN/mips/. Replace the references to non-existing labels with suitable doc references. Signed-off-by:

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-01-12 Thread Marek Szyprowski
Hi Saravana, On 12.01.2021 21:51, Saravana Kannan wrote: > On Mon, Jan 11, 2021 at 11:11 PM Marek Szyprowski > wrote: >> On 11.01.2021 22:47, Saravana Kannan wrote: >>> On Mon, Jan 11, 2021 at 6:18 AM Marek Szyprowski >>> wrote: On 11.01.2021 12:12, Marek Szyprowski wrote: > On

Re: [PATCH V2 3/3] s390/mm: Define arch_get_mappable_range()

2021-01-12 Thread Anshuman Khandual
On 1/11/21 4:10 PM, David Hildenbrand wrote: > On 17.12.20 16:28, Anshuman Khandual wrote: >> This overrides arch_get_mappabble_range() on s390 platform which will be >> used with recently added generic framework. It modifies the existing range >> check in vmem_add_mapping() using

[PATCH for doc-next] doc/zh_CN: adjust table markup in mips/ingenic-tcu.rst

2021-01-12 Thread Lukas Bulwahn
Commit 419b1d4ed1cb ("doc/zh_CN: add mips ingenic-tcu.rst translation") introduces a warning with make htmldocs: ./Documentation/translations/zh_CN/mips/ingenic-tcu.rst: 61: WARNING: Malformed table. Text in column margin in table line 6. Adjust the table markup to address this warning.

Re: [PATCH 2/2] ASoC: cros_ec_codec: Reset I2S RX when probing

2021-01-12 Thread Yu-Hsuan Hsu
Enric Balletbo i Serra 於 2021年1月13日 週三 上午12:34寫道: > > Hi Yu-Hsuan, > > Thank you for the patch. > > On 7/1/21 9:59, Yu-Hsuan Hsu wrote: > > It is not guaranteed that I2S RX is disabled when the kernel booting. > > For example, if the kernel crashes while it is enabled, it will keep > > enabled

Re: regression in iwlwifi: page fault in iwl_dbg_tlv_alloc_region() (commit ba8f6f4ae254)

2021-01-12 Thread Kalle Valo
Takashi Iwai writes: > On Tue, 12 Jan 2021 16:46:21 +0100, > Kalle Valo wrote: >> >> Takashi Iwai writes: >> >> > On Tue, 12 Jan 2021 13:45:33 +0100, >> > Kalle Valo wrote: >> >> >> >> Takashi Iwai writes: >> >> >> >> > On Tue, 12 Jan 2021 12:33:14 +0100, >> >> > Kalle Valo wrote: >> >> >>

Re: Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
>On 2021/01/13 13:01, Changheun Lee wrote: >>> On 2021/01/12 21:14, Changheun Lee wrote: > On 2021/01/12 17:52, Changheun Lee wrote: >> From: "Changheun Lee" >> >> bio size can grow up to 4GB when muli-page bvec is enabled. >> but sometimes it would lead to inefficient

Re: [PATCH V8 1/1] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2021-01-12 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2021-01-08 07:05:45) > diff --git a/drivers/i2c/busses/i2c-qcom-geni.c > b/drivers/i2c/busses/i2c-qcom-geni.c > index 214b4c913a13..c3f584795911 100644 > --- a/drivers/i2c/busses/i2c-qcom-geni.c > +++ b/drivers/i2c/busses/i2c-qcom-geni.c > @@ -375,6 +375,32 @@ static

[rcu:dev.2021.01.11b] BUILD SUCCESS 3f91ff7fd4f76e7eb48bad79666c466bc3530324

2021-01-12 Thread kernel test robot
mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a002-20210112 i386 randconfig-a005-20210112 i386

[PATCH] of: property: add port base loop

2021-01-12 Thread Kuninori Morimoto
From: Kuninori Morimoto We have endpoint base functions - of_graph_get_next_endpoint() - of_graph_get_endpoint_count() - for_each_endpoint_of_node() Here, for_each_endpoint_of_node() loop finds endpoint ports { port@0 { (1)

Re: [PATCH v4 1/2] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-12 Thread Stephen Boyd
Quoting Philip Chen (2021-01-12 15:29:11) > On Mon, Jan 11, 2021 at 6:10 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-01-07 15:42:08) > > > --- > > > diff --git > > > a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > > >

Re: [PATCH v4 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace

2021-01-12 Thread Stephen Boyd
Quoting Philip Chen (2021-01-12 15:55:28) > On Mon, Jan 11, 2021 at 6:24 PM Stephen Boyd wrote: > > > > Quoting Philip Chen (2021-01-07 15:42:09) > > > The top-row keys in a keyboard usually have dual functionalities. > > > E.g. A function key "F1" is also an action key "Browser back". > > > > >

Re: [PATCH v5 06/27] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2021-01-12 Thread Yong Wu
On Wed, 2021-01-13 at 14:30 +0900, Tomasz Figa wrote: > On Thu, Dec 24, 2020 at 8:35 PM Yong Wu wrote: > > > > On Wed, 2020-12-23 at 17:18 +0900, Tomasz Figa wrote: > > > On Wed, Dec 09, 2020 at 04:00:41PM +0800, Yong Wu wrote: > > > > This patch adds decriptions for mt8192 IOMMU and SMI. > > > >

[PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-12 Thread Manjong Lee
SCSI device has max_xfer_size and opt_xfer_size, but current kernel uses only opt_xfer_size. It causes the limitation on setting IO chunk size, although it can support larger one. So, I propose this patch to use max_xfer_size in case it has valid value. It can support to use the larger chunk IO

[PATCH] drivers: add new VID/PID for supporting Teraoka AD2000

2021-01-12 Thread Jin Chen Xin
Best Regards, Jin Chen-Xin Software Development Dept. Shanghai Teraoka Electronic Co., Ltd. * The information contained in this message is intended for the use of the individuals to whom it is addressed and may contain information that is privileged and confidential. If you have received

[PATCH for 5.10] powerpc/32s: Fix RTAS machine check with VMAP stack

2021-01-12 Thread Christophe Leroy
This is backport for 5.10 (cherry picked from commit 98bf2d3f4970179c702ef64db658e0553bc6ef3a) When we have VMAP stack, exception prolog 1 sets r1, not r11. When it is not an RTAS machine check, don't trash r1 because it is needed by prolog 1. Fixes: da7bb43ab9da ("powerpc/32: Fix vmap stack -

[PATCH] cgroup: Remove stale comments

2021-01-12 Thread Li Feng
The function "cgroup_mount" had beed removed, remove related comments to prevent confusion. Related commit:90129625d9203a917f(cgroup: start switching to fs_context) Signed-off-by: Li Feng --- kernel/cgroup/cgroup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Yuan, Perry
> -Original Message- > From: Pierre-Louis Bossart > Sent: 2021年1月13日 10:42 > To: Yuan, Perry; Limonciello, Mario; oder_ch...@realtek.com; > pe...@perex.cz; ti...@suse.com > Cc: alsa-de...@alsa-project.org; broo...@kernel.org; lgirdw...@gmail.com; > linux-kernel@vger.kernel.org > Subject:

[PATCH v3 2/2] arm64: dts: mt8183: Add krane-sku0 board.

2021-01-12 Thread Hsin-Yi Wang
Similar to krane-sku176 but using a different panel source. Signed-off-by: Hsin-Yi Wang --- change: v3: fix yaml --- .../devicetree/bindings/arm/mediatek.yaml | 4 +++- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../dts/mediatek/mt8183-kukui-krane-sku0.dts | 23

[PATCH v3 1/2] arm64: dts: mt8183: config dsi node

2021-01-12 Thread Hsin-Yi Wang
Config dsi node for mt8183 kukui. Set panel and ports. Several kukui boards share the same panel property and only compatible is different. So compatible will be set in board dts for comparison convenience. Signed-off-by: Hsin-Yi Wang Reviewed-by: Nicolas Boichat ---

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

2021-01-12 Thread kernel test robot
Hi Minchan, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20210112] [cannot apply to s390/features robh/for-next linux/master linus/master hnaz-linux-mm/master v5.11-rc3 v5.11-rc2 v5.11-rc1 v5.11-rc3] [If your patch is applied to the wrong git tree, kindly

[PATH v2] scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach

2021-01-12 Thread Ye Bin
We get follow BUG_ON when rdac scan: [595952.944297] kernel BUG at drivers/scsi/device_handler/scsi_dh_rdac.c:427! [595952.951143] Internal error: Oops - BUG: 0 [#1] SMP .. [595953.251065] Call trace: [595953.259054] check_ownership+0xb0/0x118 [595953.269794] rdac_bus_attach+0x1f0/0x4b0

Re: [PATCH v2 2/2] arm64: dts: mt8183: Add krane-sku0 board.

2021-01-12 Thread Hsin-Yi Wang
On Wed, Jan 13, 2021 at 11:20 AM Rob Herring wrote: > > On Thu, Jan 07, 2021 at 01:22:06PM +0800, Hsin-Yi Wang wrote: > > Similar to krane-sku176 but using a different panel source. > > > > Signed-off-by: Hsin-Yi Wang > > --- > > Change: > > v2: move compatible to board dts > > --- > >

[PATCH v4] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-12 Thread Bill Wendling
From: Sami Tolvanen Enable the use of clang's Profile-Guided Optimization[1]. To generate a profile, the kernel is instrumented with PGO counters, a representative workload is run, and the raw profile data is collected from /sys/kernel/debug/pgo/profraw. The raw profile data must be processed

Re: [PATCH v5 1/3] usb: typec: tcpm: AMS and Collision Avoidance

2021-01-12 Thread Badhri Jagan Sridharan
Hi Kyle, Do you want to handle the FAST_ROLE_SWAP case as well ? You would have to fix up in two places: #1 - if (port->state == SNK_READY) - tcpm_set_state(port, FR_SWAP_SEND, 0); - else + if

[PATCH v10 3/4] drm/panfrost: devfreq: Disable devfreq when num_supplies > 1

2021-01-12 Thread Nicolas Boichat
GPUs with more than a single regulator (e.g. G72 on MT8183) will require platform-specific handling for devfreq, for 2 reasons: 1. The opp core (drivers/opp/core.c:_generic_set_opp_regulator) does not support multiple regulators, so we'll need custom handlers. 2. Generally, platforms

[PATCH v10 1/4] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183

2021-01-12 Thread Nicolas Boichat
Define a compatible string for the Mali Bifrost GPU found in Mediatek's MT8183 SoCs. Signed-off-by: Nicolas Boichat --- Changes in v10: - Fix the binding to make sure sram-supply property can be provided. Changes in v6: - Rebased, actually tested with recent mesa driver. - No change

[PATCH v10 4/4] drm/panfrost: Add mt8183-mali compatible string

2021-01-12 Thread Nicolas Boichat
Add support for MT8183's G72 Bifrost. Signed-off-by: Nicolas Boichat Reviewed-by: Tomeu Vizoso --- (no changes since v7) Changes in v7: - Fix GPU ID in commit message Changes in v6: - Context conflicts, reflow the code. - Use ARRAY_SIZE for power domains too. Changes in v5: - Change

[PATCH v10 0/4] drm/panfrost: Add support for mt8183 GPU

2021-01-12 Thread Nicolas Boichat
Hi! Follow-up on the v5 [1], things have gotten significantly better in the last 9 months, thanks to the efforts on Bifrost support by the Collabora team (and probably others I'm not aware of). I've been testing this series on a MT8183/kukui device, with a chromeos-5.10 kernel [2], and got basic

[PATCH v10 2/4] arm64: dts: mt8183: Add node for the Mali GPU

2021-01-12 Thread Nicolas Boichat
Add a basic GPU node for mt8183. Signed-off-by: Nicolas Boichat --- The binding we use with out-of-tree Mali drivers includes more clocks, this is used for devfreq: the out-of-tree driver switches clk_mux to clk_sub_parent (26Mhz), adjusts clk_main_parent, then switches clk_mux back to

[PATCH v2 7/7] arm64: dts: allwinner: pinephone: Set audio card name

2021-01-12 Thread Samuel Holland
From: Arnaud Ferraris Add the "PinePhone" name to the sound card: this will make upstreaming an ALSA UCM config easier as we can use a unique name. It also avoids an issue where the default card name is truncated. Signed-off-by: Arnaud Ferraris [Samuel: Split out change, updated commit

[PATCH v2 6/7] arm64: dts: allwinner: pinephone: Add support for Bluetooth audio

2021-01-12 Thread Samuel Holland
The PinePhone has a Bluetooth chip with its PCM interface connected to AIF3. Add the DAI link so headeset audio can be routed in hardware. Even though the link is 16 bit PCM, configuring the link a 32-bit slot is required for compatibility with AIF2, which also uses a 32-bit slot, and which

[PATCH v2 5/7] arm64: dts: allwinner: a64: Allow multiple DAI links

2021-01-12 Thread Samuel Holland
simple-audio-card supports either a single DAI link at the top level, or subnodes with one or more DAI links. To use the secondary AIFs on the codec, we need to add additional DAI links to the same sound card, so we need to use the other binding. Signed-off-by: Samuel Holland ---

[PATCH v2 2/7] ARM: dts: sun8i-a33: Allow using multiple codec DAIs

2021-01-12 Thread Samuel Holland
Increase #sound-dai-cells on the digital codec to allow using the other DAIs provided by the codec for AIF2 and AIF3. Signed-off-by: Samuel Holland --- arch/arm/boot/dts/sun8i-a33.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi

[PATCH v2 0/7] PinePhone BT audio bringup

2021-01-12 Thread Samuel Holland
This series makes use of the additional DAIs recently added to the sun8i-codec driver to add hardware routing for BT SCO (headset) audio on the PinePhone. The BT audio connection is represented by the "dummy" bt-sco codec. The connection to the Quectel EG-25G modem via AIF2 works as well, but I

[PATCH v2 1/7] ASoC: dt-bindings: sun8i-codec: Increase #sound-dai-cells

2021-01-12 Thread Samuel Holland
Increase sound-dai-cells to 1 to allow using the DAIs in the codec corresponding to AIF2 and AIF3. The generic ASoC OF code supports a #sound-dai-cells value of 0 or 1 with no impact to the driver, so this is a backward-compatible change. Signed-off-by: Samuel Holland ---

[PATCH v2 3/7] arm64: dts: allwinner: a64: Allow using multiple codec DAIs

2021-01-12 Thread Samuel Holland
Increase #sound-dai-cells on the digital codec to allow using the other DAIs provided by the codec for AIF2 and AIF3. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 4/7] arm64: dts: allwinner: a64: Add pinmux nodes for AIF2/AIF3

2021-01-12 Thread Samuel Holland
Now that the sun8i-codec driver supports AIF2 and AIF3, boards can use them in DAI links. Add the necessary pinmux nodes. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH] arm64: dts: imx8mn-beacon-som: Configure RTC aliases

2021-01-12 Thread Krzysztof Kozlowski
On Sun, Jan 10, 2021 at 05:53:53AM -0600, Adam Ford wrote: > On the i.MX8MN Beacon SOM, there is an RTC chip which is fed power > from the baseboard during power off. The SNVS RTC integrated into > the SoC is not fed power. Depending on the order the modules are > loaded, this can be a problem

Re: [PATCH] arm64: dts: imx8mm-beacon: add more pinctrl states for usdhc1

2021-01-12 Thread Krzysztof Kozlowski
On Sun, Jan 10, 2021 at 05:38:26AM -0600, Adam Ford wrote: > The WiFi chip is capable of communication at SDR104 speeds. > Enable 100Mhz and 200MHz pinmux to support this. > > Signed-off-by: Adam Ford > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [kbuild-all] Re: fs/f2fs/gc.c:622:12: warning: stack frame size of 3056 bytes in function 'get_victim_by_default'

2021-01-12 Thread Rong Chen
On 1/11/21 4:23 PM, Chao Yu wrote: Hello, Thanks for the report. I replied for your previous report [1], could you please check that? [1] https://lore.kernel.org/lkml/8a8ef6b8-84c2-abfe-e758-2fa52a989...@huawei.com/ That says, in my environment, get_victim_by_default()'s frame size is

linux-next: Signed-off-by missing for commit in the devicetree-fixes tree

2021-01-12 Thread Stephen Rothwell
Hi all, Commit 79aae8a66926 ("WIP dt-bindings: cleanups") is missing a Signed-off-by from its author and comitter. -- Cheers, Stephen Rothwell pgp53xghhIS6i.pgp Description: OpenPGP digital signature

Re: [PATCH v9 1/4] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183

2021-01-12 Thread Nicolas Boichat
On Tue, Jan 12, 2021 at 11:07 PM Rob Herring wrote: > > On Fri, Jan 08, 2021 at 09:10:08AM +0800, Nicolas Boichat wrote: > > Define a compatible string for the Mali Bifrost GPU found in > > Mediatek's MT8183 SoCs. > > > > Signed-off-by: Nicolas Boichat > > Reviewed-by: Alyssa Rosenzweig > > ---

Re: [LKP] Re: [btrfs] e076ab2a2c: fio.write_iops -18.3% regression

2021-01-12 Thread Xing Zhengjun
On 1/12/2021 11:45 PM, David Sterba wrote: On Tue, Jan 12, 2021 at 11:36:14PM +0800, kernel test robot wrote: Greeting, FYI, we noticed a -18.3% regression of fio.write_iops due to commit: commit: e076ab2a2ca70a0270232067cd49f76cd92efe64 ("btrfs: shrink delalloc pages instead of full

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/13 13:01, Changheun Lee wrote: >> On 2021/01/12 21:14, Changheun Lee wrote: On 2021/01/12 17:52, Changheun Lee wrote: > From: "Changheun Lee" > > bio size can grow up to 4GB when muli-page bvec is enabled. > but sometimes it would lead to inefficient behaviors.

Re: [PATCH v3] scsi: ufs: Replace sprintf and snprintf with sysfs_emit

2021-01-12 Thread Martin K. Petersen
On Wed, 6 Jan 2021 22:15:41 +0100, Bean Huo wrote: > sprintf and snprintf may cause output defect in sysfs content, it is > better to use new added sysfs_emit function which knows the size of the > temporary buffer. Applied to 5.12/scsi-queue, thanks! [1/1] scsi: ufs: Replace sprintf and

Re: [PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

2021-01-12 Thread Martin K. Petersen
On Fri, 25 Dec 2020 16:35:20 +0800, Dinghao Liu wrote: > When ioread32() returns 0x, we should execute > cleanup functions like other error handling paths before > returning. Applied to 5.11/scsi-fixes, thanks! [1/1] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

Re: [PATCH v2 0/5] ibmvfc: MQ preparatory locking work

2021-01-12 Thread Martin K. Petersen
On Wed, 6 Jan 2021 14:18:30 -0600, Tyrel Datwyler wrote: > The ibmvfc driver in its current form relies heavily on the host_lock. This > patchset introduces a genric queue with its own queue lock and sent/free event > list locks. This generic queue allows the driver to decouple the primary queue

Re: [PATCH v4 0/6] Several changes for the UPIU trace

2021-01-12 Thread Martin K. Petersen
On Tue, 5 Jan 2021 12:34:40 +0100, Bean Huo wrote: > Changelog: > > V3--v4: > 1. Rebase patch onto 5.12/scsi-queue > 2. Incorporate Avri's suggestion in patch 2/6 > > V2--V3: > 1. Fix a typo in patch 1/6 (Reported-by: Joe Perches ) > > [...] Applied to 5.12/scsi-queue, thanks! [1/6]

Re: [PATCH -next] scsi: docs: ABI: sysfs-driver-ufs: rectify table formatting

2021-01-12 Thread Martin K. Petersen
On Mon, 11 Jan 2021 11:22:12 +0100, Lukas Bulwahn wrote: > Commit 0b2894cd0fdf ("scsi: docs: ABI: sysfs-driver-ufs: Add DeepSleep > power mode") adds new entries in tables of sysfs-driver-ufs ABI > documentation, but formatted the table incorrectly. > > Hence, make htmldocs warns: > >

Re: [PATCH 0/2] hisi_sas: Expose hw queues for v2 hw and remove unused code

2021-01-12 Thread Martin K. Petersen
On Mon, 4 Jan 2021 20:33:40 +0800, John Garry wrote: > Patch "scsi: hisi_sas: Expose HW queues for v2 hw" was not merged for > v5.11, so resending for v5.12. > > Unused module param auto_affine_msi_experimental for v3 hw is also > removed in the other patch. > > John Garry (2): > scsi:

Re: [PATCH 0/3] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback() -- Take 2

2021-01-12 Thread Martin K. Petersen
On Thu, 17 Dec 2020 21:33:18 +0100, Andrea Parri (Microsoft) wrote: > This series is to address the problems mentioned in: > > 4da3a54f5a0258 ("Revert "scsi: storvsc: Validate length of incoming packet > in storvsc_on_channel_callback()"") > > (cf., in particular, patch 2/3) and to

Re: [PATCH -next] scsi: ufs: fix all Kconfig help text indentation

2021-01-12 Thread Martin K. Petersen
On Wed, 6 Jan 2021 12:55:54 -0800, Randy Dunlap wrote: > Use consistent and expected indentation for all Kconfig text. Applied to 5.12/scsi-queue, thanks! [1/1] scsi: ufs: fix all Kconfig help text indentation https://git.kernel.org/mkp/scsi/c/aaac0ea98390 -- Martin K. Petersen

Re: [PATCH] mm: slub: Convert sys slab alloc_calls, free_calls to bin attribute

2021-01-12 Thread Faiyaz Mohammed
On 1/12/2021 5:52 PM, Matthew Wilcox wrote: > On Tue, Jan 12, 2021 at 02:51:27PM +0530, Faiyaz Mohammed wrote: >> @@ -5180,6 +5187,7 @@ static int any_slab_objects(struct kmem_cache *s) >> >> struct slab_attribute { >> struct attribute attr; >> +struct bin_attribute bin_attr; >>

linux-next: Tree for Jan 13

2021-01-12 Thread Stephen Rothwell
Hi all, Changes since 20210112: New tree: iomem-mmap-vs-gup The drm tree still had its build failure so I used the version from next-20210107. The drm-intel tree gained a build failure from merging the drm tree, so I have used the version from next-20210108. The drm-misc tree still had its

Re: [PATCH] usb: dwc3: qcom: Add shutdown callback for dwc3

2021-01-12 Thread sanm
On 2020-11-12 12:00, Sandeep Maheswaram wrote: This patch adds a shutdown callback to USB DWC QCOM driver to ensure that it is properly shutdown in reboot/shutdown path. This is required where SMMU address translation is enabled like on SC7180 SoC and few others. If the hardware is still

Re: [PATCH v4 3/3] scsi: 3w-9xxx: Fix endianness issues in command packets

2021-01-12 Thread Samuel Holland
On 9/2/20 10:44 PM, Samuel Holland wrote: > The controller expects all data it sends/receives to be little-endian. > Therefore, the packet struct definitions should use the __le16/32/64 > types. Once those are correct, sparse reports several issues with the > driver code, which are fixed here as

[PATCH bpf v2 2/2] selftests/bpf: add verifier test for PTR_TO_MEM spill

2021-01-12 Thread Gilad Reti
Add a test to check that the verifier is able to recognize spilling of PTR_TO_MEM registers, by reserving a ringbuf buffer, forcing the spill of a pointer holding the buffer address to the stack, filling it back in from the stack and writing to the memory area pointed by it. The patch was

[PATCH bpf v2 1/2] bpf: support PTR_TO_MEM{,_OR_NULL} register spilling

2021-01-12 Thread Gilad Reti
Add support for pointer to mem register spilling, to allow the verifier to track pointers to valid memory addresses. Such pointers are returned for example by a successful call of the bpf_ringbuf_reserve helper. The patch was partially contributed by CyberArk Software, Inc. Fixes: 457f44363a88

Re: [PATCH] scsi: qedf: style: Simplify bool comparison

2021-01-12 Thread Martin K. Petersen
Yang, > Fix the following coccicheck warning: > ./drivers/scsi/qedf/qedf_main.c:3716:5-31: WARNING: Comparison to bool Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

  1   2   3   4   5   6   7   8   9   10   >