Re: One potential issue with concurrent execution of RCU callbacks...

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 10:14:49AM +0800, Boqun Feng wrote: > Hi Frederic, > > On Tue, Dec 08, 2020 at 11:04:38PM +0100, Frederic Weisbecker wrote: > > On Tue, Dec 08, 2020 at 10:24:09AM -0800, Paul E. McKenney wrote: > > > > It reduces the code scope running with BH disabled. > > > > Also

Re: [PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:41 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH v1 2/2] scsi: ufs: Clean up some lines from ufshcd_hba_exit()

2020-12-09 Thread Can Guo
On 2020-12-10 06:17, Bean Huo wrote: On Tue, 2020-12-08 at 22:58 -0800, Can Guo wrote: ufshcd_hba_exit() is always called after ufshcd_exit_clk_scaling() and ufshcd_exit_clk_gating(), so no need to suspend clock scaling again in ufshcd_hba_exit(). Signed-off-by: Can Guo Reviewed-by: Bean Huo

Re: [RESEND PATCH v4 2/6] clk: qcom: Add SDX55 GCC support

2020-12-09 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-25 23:28:40) > From: Naveen Yadav > > Add Global Clock Controller (GCC) support for SDX55 SoCs from Qualcomm. > > Signed-off-by: Naveen Yadav > [mani: converted to parent_data, commented critical clocks, cleanups] > Signed-off-by: Manivannan Sadhasivam >

Re: [RESEND PATCH v4 3/6] dt-bindings: clock: Introduce RPMHCC bindings for SDX55

2020-12-09 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-25 23:28:41) > From: Vinod Koul > > Add compatible for SDX55 RPMHCC and DT include. > > Signed-off-by: Vinod Koul > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Bjorn Andersson > Acked-by: Rob Herring > --- Applied to clk-next

[PATCH v2 6/8] mm: honor PF_MEMALLOC_PIN for all movable pages

2020-12-09 Thread Pavel Tatashin
PF_MEMALLOC_PIN is only honored for CMA pages, extend this flag to work for any allocations from ZONE_MOVABLE by removing __GFP_MOVABLE from gfp_mask when this flag is passed in the current context. Add is_pinnable_page() to return true if page is in a pinnable page. A pinnable page is not in

Re: [PATCH v2 net-next 1/1] net: stmmac: allow stmmac to probe for C45 PHY devices

2020-12-09 Thread Andrew Lunn
On Thu, Dec 10, 2020 at 06:47:00AM +0800, Wong Vee Khee wrote: > Assign stmmac's mdio_bus probe capabilities to MDIOBUS_C22_C45. > This extended the probing of C45 PHY devices on the MDIO bus. > > Signed-off-by: Wong Vee Khee Reviewed-by: Andrew Lunn Andrew

[PATCH v2 0/8] prohibit pinning pages in ZONE_MOVABLE

2020-12-09 Thread Pavel Tatashin
Changelog - v2 - Addressed all review comments - Added Reviewed-by's. - Renamed PF_MEMALLOC_NOMOVABLE to PF_MEMALLOC_PIN - Added is_pinnable_page() to check if page can be longterm pinned - Fixed gup fast path by checking is_in_pinnable_zone() - rename cma_page_list to movable_page_list -

[PATCH v2 1/8] mm/gup: perform check_dax_vmas only when FS_DAX is enabled

2020-12-09 Thread Pavel Tatashin
There is no need to check_dax_vmas() and run through the npage loop of pinned pages if FS_DAX is not enabled. Add a stub check_dax_vmas() function for no-FS_DAX case. Signed-off-by: Pavel Tatashin Reviewed-by: John Hubbard --- mm/gup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH v3 2/3] pinctrl: qcom: Allow SoCs to specify a GPIO function that's not 0

2020-12-09 Thread Douglas Anderson
There's currently a comment in the code saying function 0 is GPIO. Instead of hardcoding it, let's add a member where an SoC can specify it. No known SoCs use a number other than 0, but this just makes the code clearer. NOTE: no SoC code needs to be updated since we can rely on

Re: [PATCH v2 3/3] pinctrl: qcom: Clear possible pending irq when remuxing GPIOs

2020-12-09 Thread Doug Anderson
Hi, On Tue, Dec 8, 2020 at 9:54 PM Maulik Shah wrote: > > >> but as long as its IRQ is in disabled/masked state it > >> doesn't matter. > > ...but there's no requirement that someone would need to disable/mask > > an interrupt while switching the muxing, is there? So it does matter. > > > > >

[PATCH v2 4/8] mm cma: rename PF_MEMALLOC_NOCMA to PF_MEMALLOC_PIN

2020-12-09 Thread Pavel Tatashin
PF_MEMALLOC_NOCMA is used ot guarantee that the allocator will not return pages that might belong to CMA region. This is currently used for long term gup to make sure that such pins are not going to be done on any CMA pages. When PF_MEMALLOC_NOCMA has been introduced we haven't realized that it

[PATCH v2 7/8] mm/gup: migrate pinned pages out of movable zone

2020-12-09 Thread Pavel Tatashin
We should not pin pages in ZONE_MOVABLE. Currently, we do not pin only movable CMA pages. Generalize the function that migrates CMA pages to migrate all movable pages. Use is_pinnable_page() to check which pages need to be migrated Signed-off-by: Pavel Tatashin Reviewed-by: John Hubbard ---

[PATCH v2 8/8] memory-hotplug.rst: add a note about ZONE_MOVABLE and page pinning

2020-12-09 Thread Pavel Tatashin
Document the special handling of page pinning when ZONE_MOVABLE present. Signed-off-by: Pavel Tatashin Suggested-by: David Hildenbrand --- Documentation/admin-guide/mm/memory-hotplug.rst | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v2 2/8] mm/gup: don't pin migrated cma pages in movable zone

2020-12-09 Thread Pavel Tatashin
In order not to fragment CMA the pinned pages are migrated. However, they are migrated to ZONE_MOVABLE, which also should not have pinned pages. Remove __GFP_MOVABLE, so pages can be migrated to zones where pinning is allowed. Signed-off-by: Pavel Tatashin Reviewed-by: David Hildenbrand

[PATCH v2 5/8] mm: apply per-task gfp constraints in fast path

2020-12-09 Thread Pavel Tatashin
Function current_gfp_context() is called after fast path. However, soon we will add more constraints which will also limit zones based on context. Move this call into fast path, and apply the correct constraints for all allocations. Also update .reclaim_idx based on value returned by

[PATCH v3 3/3] pinctrl: qcom: Clear possible pending irq when remuxing GPIOs

2020-12-09 Thread Douglas Anderson
Conceptually, we can envision the input on Qualcomm SoCs to pass through a bunch of blocks between coming into the chip and becoming a GPIO interrupt. From guessing and running a handful of tests, I believe that we can represent the state of the world with a drawing that looks something like

[PATCH v2 3/8] mm/gup: make __gup_longterm_locked common

2020-12-09 Thread Pavel Tatashin
__gup_longterm_locked() has CMA || FS_DAX version and a common stub version. In the preparation of prohibiting longterm pinning of pages from movable zone make the CMA || FS_DAX version common, and delete the stub version. Signed-off-by: Pavel Tatashin Reviewed-by: John Hubbard --- mm/gup.c |

[PATCH v3 1/3] irqchip: qcom-pdc: Fix phantom irq when changing between rising/falling

2020-12-09 Thread Douglas Anderson
We have a problem if we use gpio-keys and configure wakeups such that we only want one edge to wake us up. AKA: wakeup-event-action = ; wakeup-source; Specifically we end up with a phantom interrupt that blocks suspend if the line was already high and we want wakeups on rising edges (AKA we

Re: [RFC PATCH 14/14] WIP/cxl/mem: Add get firmware for testing

2020-12-09 Thread Dan Williams
On Tue, Dec 8, 2020 at 4:25 PM Ben Widawsky wrote: > > This also serves as an example how to add a new command > > Signed-off-by: Ben Widawsky > --- > drivers/cxl/mem.c| 22 ++ > include/uapi/linux/cxl_mem.h | 3 ++- > 2 files changed, 24 insertions(+), 1

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Linus Torvalds
On Wed, Dec 9, 2020 at 4:39 PM Paul E. McKenney wrote: > > Like this, then? Ack. Linus

Re: [PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:36:30 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [RESEND PATCH v4 4/6] clk: qcom: Add support for SDX55 RPMh clocks

2020-12-09 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-25 23:28:42) > Add support for following clocks maintained by RPMh in SDX55 SoCs. > > * BI TCXO > * RF_CLK1 > * RF_CLK1_AO > * RF_CLK2 > * RF_CLK2_AO > * QPIC (Qualcomm Technologies, Inc. Parallel Interface Controller) > > Signed-off-by: Manivannan

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 03:29:09PM -0800, Linus Torvalds wrote: > On Wed, Dec 9, 2020 at 3:07 PM Matthew Wilcox wrote: > > > > #. It is not necessary to use rcu_assign_pointer() when creating > > linked structures that are to be published via a single external > > - pointer. The

[PATCH] Staging: ralink-gdma: ralink-gdma: Fix a blank line coding style issue

2020-12-09 Thread Triplehx3
Fix a coding style issue as identified by checkpatch.pl Signed-off-by: Triplehx3 --- drivers/staging/ralink-gdma/ralink-gdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index

Re: [PATCH v5 00/10] Introduced new Cadence USBSSP DRD Driver.

2020-12-09 Thread Peter Chen
On 20-12-07 11:32:17, Pawel Laszczak wrote: > This patch introduce new Cadence USBSS DRD driver to linux kernel. > > The Cadence USBSS DRD Controller is a highly configurable IP Core which > can be instantiated as Dual-Role Device (DRD), Peripheral Only and > Host Only (XHCI)configurations. > >

Re: [PATCH net-next] net: ipa: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:40:03 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: thunderbolt: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:38:52 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mv88e6xxx: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:39:38 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: usb: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:38:11 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:16 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:16 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: freescale: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:39 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [RESEND PATCH v4 6/6] clk: qcom: Add GDSC support for SDX55 GCC

2020-12-09 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-25 23:28:44) > Add GDSC support to control the power supply of power domains in SDX55 > GCC. > > Signed-off-by: Manivannan Sadhasivam > --- Applied to clk-next

Re: [PATCH v3 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-12-09 Thread Pali Rohár
On Wednesday 09 December 2020 16:19:39 Trent Piepho wrote: > On Tuesday, December 8, 2020 5:13:36 PM PST Pali Rohár wrote: > > On Tuesday 08 December 2020 15:04:29 Trent Piepho wrote: > > > Does this also give userspace a clear point at which to determine MTU > setting, > > > _before_ data is

Re: [PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:36:30 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [RESEND PATCH v4 5/6] dt-bindings: clock: Add GDSC in SDX55 GCC

2020-12-09 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-25 23:28:43) > Add GDSC instances in SDX55 GCC block. > > Signed-off-by: Manivannan Sadhasivam > --- Applied to clk-next

Re: [PATCH net-next] hisilicon/hns: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:35:31 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:41 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [RESEND PATCH v4 1/6] dt-bindings: clock: Add SDX55 GCC clock bindings

2020-12-09 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-25 23:28:39) > From: Vinod Koul > > Add device tree bindings for global clock controller on SDX55 SoCs. > > Signed-off-by: Vinod Koul > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Rob Herring > --- Applied to clk-next

Re: [PATCH net-next] net: rxrpc: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:32:28 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: micrel: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:02 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH v3 0/2] Introduce perf-stat -b for BPF programs

2020-12-09 Thread Song Liu
> On Dec 9, 2020, at 3:30 PM, Song Liu wrote: > > > >> On Dec 9, 2020, at 9:36 AM, Arnaldo Carvalho de Melo wrote: >> >> Em Tue, Dec 08, 2020 at 10:16:44AM -0800, Song Liu escreveu: >>> This set introduces perf-stat -b option to count events for BPF programs. >>> This is similar to

[PATCH v16 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-12-09 Thread Yifeng Zhao
This driver supports Rockchip NFC (NAND Flash Controller) found on RK3308, RK2928, RKPX30, RV1108 and other SOCs. The driver has been tested using 8-bit NAND interface on the ARM based RK3308 platform. Support Rockchip SoCs and NFC versions: - PX30 and RK3326(NFCv900). ECC: 16/40/60/70

Re: [PATCH 1/2] dt-bindings: reset: document Broadcom's BCM4908 USB reset binding

2020-12-09 Thread Florian Fainelli
On 12/9/20 3:35 PM, Rob Herring wrote: > On Fri, Dec 04, 2020 at 05:39:14PM +0100, Rafał Miłecki wrote: >> On 04.12.2020 17:32, Florian Fainelli wrote: >>> On 12/4/2020 1:37 AM, Rafał Miłecki wrote: From: Rafał Miłecki Document binding of block responsible for initializing USB

[PATCH v16 5/8] arm64: dts: rockchip: Add NFC node for PX30 SoC

2020-12-09 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for PX30 SoC. Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes

[PATCH v16 6/8] arm: dts: rockchip: Add NFC node for RV1108 SoC

2020-12-09 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RV1108 SoC. Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None

Re: [PATCH v2] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-09 Thread Michael Ellerman
On Mon, 7 Dec 2020 16:58:01 + (UTC), Christophe Leroy wrote: > Since commit c33165253492 ("powerpc: use non-set_fs based maccess > routines"), userspace access is not granted anymore when using > copy_from_kernel_nofault() > > However, kthread_probe_data() uses copy_from_kernel_nofault() > to

Re: [PATCH] docs: reporting-issues: move 'outdated, need help' note to proper place

2020-12-09 Thread Jonathan Corbet
On Wed, 9 Dec 2020 06:19:14 +0100 Thorsten Leemhuis wrote: > Move the 'this section is a placeholder for now and needs help by > someone with domain knowledge' note one section upwards to the place > where it belongs: the 'Decode failure messages' section. > > Signed-off-by: Thorsten Leemhuis

[PATCH v16 0/8] Add Rockchip NFC drivers for RK3308 and others

2020-12-09 Thread Yifeng Zhao
Rockchp's NFC(Nand Flash Controller) has four versions: V600, V622, V800 and V900.This series patch can support all four versions. Changes in v16: - Fix some comments about 'ret' variable. Changes in v15: - Use a buffer pointer nfc->page_buf instead of the original two pointers. - Fix coding

Re: [PATCH v2] close_range.2: new page documenting close_range(2)

2020-12-09 Thread Alejandro Colomar (man-pages)
Hi Stephen, A few more comments below. Michael, please have a look at them too. Christian, do you have any program that you used to test the syscall that could be added as an example program to the page? Thanks, Alex On 12/9/20 11:00 PM, Stephen Kitt wrote: > This documents close_range(2)

[PATCH v16 7/8] arm: dts: rockchip: Add NFC node for RK2928 and other SoCs

2020-12-09 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RK2928, RK3066, RK3168 and RK3188 SoCs. Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8:

Re: [External] linux-next: build failure after merge of the pm tree

2020-12-09 Thread Jonathan Corbet
On Wed, 9 Dec 2020 10:04:22 -0500 Mark Pearson wrote: > On 09/12/2020 09:33, Jonathan Corbet wrote: > > On Wed, 9 Dec 2020 08:56:31 -0500 Mark Pearson > > wrote: > > > >> I do see: WARNING: document isn't included in any toctree but I > >> think this is benign - I believe I'm getting it just

[PATCH v16 8/8] arm: dts: rockchip: Add NFC node for RK3036 SoC

2020-12-09 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RK3036 SoC. Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None

[PATCH v16 4/8] arm64: dts: rockchip: Add NFC node for RK3308 SoC

2020-12-09 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RK3308 SoC. Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None

[PATCH v16 1/8] dt-bindings: mtd: Describe Rockchip RK3xxx NAND flash controller

2020-12-09 Thread Yifeng Zhao
Documentation support for Rockchip RK3xxx NAND flash controllers Reviewed-by: Rob Herring Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: - Fix some warnings while make dt_binding_check - Drop a allOf defined

[PATCH v16 3/8] MAINTAINERS: add maintainers to ROCKCHIP NFC

2020-12-09 Thread Yifeng Zhao
Add maintainers to ROCKCHIP NFC. Signed-off-by: Yifeng Zhao --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None

Re: [PATCH 2/3] x86/resctrl: Update PQR_ASSOC MSR synchronously when moving task to resource group

2020-12-09 Thread Reinette Chatre
Hi James, On 12/9/2020 8:51 AM, James Morse wrote: Hi Reinette, Fenghua, Subject nit: I think 'use IPI instead of task_work() to update PQR_ASSOC_MSR' conveys the guts of this change more quickly! Sure. Thank you. A small change is that I plan to write "PQR_ASSOC MSR" instead to closer

Re: [PATCH bpf-next v4 09/11] bpf: Add bitwise atomic instructions

2020-12-09 Thread kernel test robot
-randconfig-r022-20201209 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-09 Thread Reinette Chatre
Hi James, Thank you very much for your review. On 12/9/2020 8:47 AM, James Morse wrote: Hi Reinette, Fenghua, On 03/12/2020 23:25, Reinette Chatre wrote: From: Fenghua Yu The code of setting the CPU on which a task is running in a CPU mask is moved into a couple of helpers. The new helper

Re: [PATCH v1 2/6] powerpc/8xx: Always pin kernel text TLB

2020-12-09 Thread Michael Ellerman
Christophe Leroy writes: > Le 09/12/2020 à 11:43, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> There is no big poing in not pinning kernel text anymore, as now >>> we can keep pinned TLB even with things like DEBUG_PAGEALLOC. >>> >>> Remove CONFIG_PIN_TLB_TEXT, making it always

Re: [PATCH 3/4] thermal: int340x: processor_thermal: Add RFIM driver

2020-12-09 Thread Srinivas Pandruvada
On Wed, 2020-12-09 at 21:48 +0100, Daniel Lezcano wrote: > On 26/11/2020 18:18, Srinivas Pandruvada wrote: > > Add support for RFIM (Radio Frequency Interference Mitigation) > > support > > via processor thermal PCI device. This drivers allows adjustment of > > FIVR (Fully Integrated Voltage

Re: [PATCH v3 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-12-09 Thread Trent Piepho
On Tuesday, December 8, 2020 5:13:36 PM PST Pali Rohár wrote: > On Tuesday 08 December 2020 15:04:29 Trent Piepho wrote: > > Does this also give userspace a clear point at which to determine MTU setting, > > _before_ data is sent over SCO connection? It will not work if sco_mtu is not > >

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

2020-12-09 Thread Michael Ellerman
Stephen Rothwell writes: > Hi Michael, > > On Wed, 09 Dec 2020 15:44:35 +1100 Michael Ellerman > wrote: >> >> They should really be in DATA_DATA or similar shouldn't they? > > No other architecture appears t need them ... Any arch with orphan-handling=warn should see them I thought? cheers

Re: [PATCH 1/1] net/ipv4/inet_fragment: Batch fqdir destroy works

2020-12-09 Thread Eric Dumazet
On 12/8/20 10:45 AM, SeongJae Park wrote: > From: SeongJae Park > > In 'fqdir_exit()', a work for destruction of the 'fqdir' is enqueued. > The work function, 'fqdir_work_fn()', calls 'rcu_barrier()'. In case of > intensive 'fqdir_exit()' (e.g., frequent 'unshare(CLONE_NEWNET)' >

Re: BPF selftests build failure in 5.10-rc

2020-12-09 Thread Andrii Nakryiko
On Wed, Dec 9, 2020 at 2:24 PM Seth Forshee wrote: > > Building the BPF selftests with clang 11, I'm getting the following > error: > >CLNG-LLC [test_maps] profiler1.o > In file included from progs/profiler1.c:6: > progs/profiler.inc.h:260:17: error: use of unknown builtin >

Re: [PATCH v3 2/2] perf-stat: enable counting events for BPF programs

2020-12-09 Thread Song Liu
> On Dec 9, 2020, at 9:03 AM, Jiri Olsa wrote: > > On Tue, Dec 08, 2020 at 10:16:46AM -0800, Song Liu wrote: >> Introduce perf-stat -b option, which counts events for BPF programs, like: >> >> [root@localhost ~]# ~/perf stat -e ref-cycles,cycles -b 254 -I 1000 >> 1.487903822

Re: [PATCH v1 bpf-next 05/11] tcp: Migrate TCP_NEW_SYN_RECV requests.

2020-12-09 Thread Martin KaFai Lau
On Tue, Dec 01, 2020 at 11:44:12PM +0900, Kuniyuki Iwashima wrote: > This patch renames reuseport_select_sock() to __reuseport_select_sock() and > adds two wrapper function of it to pass the migration type defined in the > previous commit. > > reuseport_select_sock :

linux-next: manual merge of the microblaze tree with the asm-generic tree

2020-12-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the microblaze tree got a conflict in: arch/microblaze/include/asm/mmu_context.h between commit: 94f89922e1e0 ("asm-generic: add generic MMU versions of mmu context functions") from the asm-generic tree and commit: 05cdf457477d ("microblaze: Remove

Re: [PATCH net] ethtool: fix stack overflow in ethnl_parse_bitset()

2020-12-09 Thread Jakub Kicinski
On Tue, 8 Dec 2020 23:13:51 +0100 (CET) Michal Kubecek wrote: > Syzbot reported a stack overflow in bitmap_from_arr32() called from > ethnl_parse_bitset() when bitset from netlink message is longer than > target bitmap length. While ethnl_compact_sanity_checks() makes sure that > trailing part is

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-12-09 Thread Minchan Kim
On Wed, Nov 18, 2020 at 07:19:07PM -0800, John Stultz wrote: > On Wed, Nov 18, 2020 at 5:22 PM Hyesoo Yu wrote: > > > > On Tue, Nov 17, 2020 at 07:00:54PM -0800, John Stultz wrote: > > > So I suspect Rob will push back on this as he has for other dt > > > bindings related to ion/dmabuf heaps (I

[PATCH 4/6] iio:common:ms_sensors:ms_sensors_i2c: rework CRC calculation helper

2020-12-09 Thread Alexandre Belloni
The CRC calculation always happens on 8 words which is why there is an extra element in the prom array of struct ms_tp_dev. However, on ms5637 and similar, only 7 words are readable. Then, set MS_SENSORS_TP_PROM_WORDS_NB to 8 and stop passing a len parameter to ms_sensors_tp_crc_valid as this

[PATCH 3/6] iio:pressure:ms5637: limit available sample frequencies

2020-12-09 Thread Alexandre Belloni
Avoid exposing all the sampling frequencies for chip that only support a subset. Signed-off-by: Alexandre Belloni --- drivers/iio/pressure/ms5637.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/iio/pressure/ms5637.c

[PATCH 5/6] iio:common:ms_sensors:ms_sensors_i2c: add support for alternative PROM layout

2020-12-09 Thread Alexandre Belloni
Currently, only the 112bit PROM on 7 words is supported. However the ms58xx family also have devices with a 128bit PROM on 8 words. See AN520: C-CODE EXAMPLE FOR MS56XX, MS57XX (EXCEPT ANALOG SENSOR), AND MS58XX SERIES PRESSURE SENSORS and the various device datasheets. The difference is that the

[PATCH 1/6] iio:pressure:ms5637: switch to probe_new

2020-12-09 Thread Alexandre Belloni
Switch to the modern i2c probe_new callback and drop the i2c_device_id array. Signed-off-by: Alexandre Belloni --- drivers/iio/pressure/ms5637.c | 25 +++-- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/drivers/iio/pressure/ms5637.c

[PATCH 6/6] iio:pressure:ms5637: add ms5803 support

2020-12-09 Thread Alexandre Belloni
The ms5803 is very similar to the ms5805 but has less resolution options and has the 128bit PROM layout. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ drivers/iio/pressure/ms5637.c | 8 2

[PATCH 0/6] iio:pressure:ms5637: add ms5803 support

2020-12-09 Thread Alexandre Belloni
Hello, This series adds support for the Measurement Specialities ms5803. It is very similar to the ms5805 but has a different PROM layout (which I suspect predates the ms5805 PROM layout). Also it supports less frequency sampling options. After a bit of preparatory work in the ms5637 driver and

[PATCH 2/6] iio:pressure:ms5637: introduce hardware differentiation

2020-12-09 Thread Alexandre Belloni
Some sensors in the ms58xx family have a different PROM length and a different number of available resolution. introduce struct ms_tp_hw_data to handle those differences. Signed-off-by: Alexandre Belloni --- .../iio/common/ms_sensors/ms_sensors_i2c.h| 11 ++

Re: [PATCH] usb: typec: Add bus type for plug alt modes

2020-12-09 Thread Prashant Malani
On Wed, Dec 9, 2020 at 2:59 PM Prashant Malani wrote: > > Hi Heikki, > > On Wed, Dec 9, 2020 at 9:15 AM Heikki Krogerus > wrote: > > > > Hi Prashant, > > > > On Wed, Dec 09, 2020 at 08:22:52AM -0800, Prashant Malani wrote: > > > Hi Heikki, > > > > > > On Wed, Dec 9, 2020 at 8:14 AM Heikki

[PATCH v8 3/7] fpga: sec-mgr: expose sec-mgr update status

2020-12-09 Thread Russ Weight
Extend the FPGA Security Manager class driver to include an update/status sysfs node that can be polled and read to monitor the progress of an ongoing secure update. Sysfs_notify() is used to signal transitions between different phases of the update process. Signed-off-by: Russ Weight

[PATCH v8 0/7] FPGA Security Manager Class Driver

2020-12-09 Thread Russ Weight
The FPGA Security Manager class driver provides a common API for user-space tools to manage updates for secure FPGA devices. Device drivers that instantiate the FPGA Security Manager class driver will interact with a HW secure update engine in order to transfer new FPGA and BMC images to FLASH so

[PATCH v8 2/7] fpga: sec-mgr: enable secure updates

2020-12-09 Thread Russ Weight
Extend the FPGA Security Manager class driver to include an update/filename sysfs node that can be used to initiate a secure update. The filename of a secure update file (BMC image, FPGA image, Root Entry Hash image, or Code Signing Key cancellation image) can be written to this sysfs entry to

[PATCH v8 5/7] fpga: sec-mgr: expose sec-mgr update size

2020-12-09 Thread Russ Weight
Extend the FPGA Security Manager class driver to include an update/remaining_size sysfs node that can be read to determine how much data remains to be transferred to the secure update engine. This file can be used to monitor progress during the "writing" phase of an update. Signed-off-by: Russ

[PATCH v8 4/7] fpga: sec-mgr: expose sec-mgr update errors

2020-12-09 Thread Russ Weight
Extend the FPGA Security Manager class driver to include an update/error sysfs node that can be read for error information when a secure update fails. Signed-off-by: Russ Weight Reviewed-by: Tom Rix --- v8: - No change v7: - Changed Date in documentation file to December 2020 v6: - No

[PATCH v8 1/7] fpga: sec-mgr: fpga security manager class driver

2020-12-09 Thread Russ Weight
Create the FPGA Security Manager class driver. The security manager provides interfaces to manage secure updates for the FPGA and BMC images that are stored in FLASH. The driver can also be used to update root entry hashes and to cancel code signing keys. The image type is encoded in the image

[PATCH v8 6/7] fpga: sec-mgr: enable cancel of secure update

2020-12-09 Thread Russ Weight
Extend the FPGA Security Manager class driver to include an update/cancel sysfs file that can be written to request that an update be canceled. The write may return EBUSY if the update has progressed to the point that it cannot be canceled by software or ENODEV if there is no update in progress.

[PATCH v8 7/7] fpga: sec-mgr: expose hardware error info

2020-12-09 Thread Russ Weight
Extend the FPGA Security Manager class driver to include an optional update/hw_errinfo sysfs node that can be used to retrieve 64 bits of device specific error information following a secure update failure. The underlying driver must provide a get_hw_errinfo() callback function to enable this

Re: [PATCH RESEND] e1000e: fix S0ix flow to allow S0i3.2 subset entry

2020-12-09 Thread Jakub Kicinski
On Tue, 8 Dec 2020 12:56:32 -0600 Mario Limonciello wrote: > From: Vitaly Lifshits > > Changed a configuration in the flows to align with > architecture requirements to achieve S0i3.2 substate. > > This helps both i219V and i219LM configurations. > > Also fixed a typo in the previous commit

Re: [PATCH v11 4/4] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-12-09 Thread Andrew Lunn
> +/* Support 10, 100, 200, 1000, 2500, 5000, 1 Mbps (e.g. 88E6393X) > + * This function adds new speed 5000 supported by Amethyst family. > + * Function mv88e6xxx_port_set_speed_duplex() can't be used as the register > + * values for speeds 2500 & 5000 conflict. > + */ Thanks, that should

Re: [PATCH] mfd: db8500-prcmu: Add devicetree bindings

2020-12-09 Thread Rob Herring
On Fri, Dec 04, 2020 at 02:06:55PM +0100, Linus Walleij wrote: > This driver was merged in the early days of device tree > on Arm in 2012 and somehow we failed to provide bindings > for it. Fix it up with some YAML bindings. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Linus Walleij > ---

Re: [PATCH 1/2] dt-bindings: reset: document Broadcom's BCM4908 USB reset binding

2020-12-09 Thread Rob Herring
On Fri, Dec 04, 2020 at 05:39:14PM +0100, Rafał Miłecki wrote: > On 04.12.2020 17:32, Florian Fainelli wrote: > > On 12/4/2020 1:37 AM, Rafał Miłecki wrote: > > > From: Rafał Miłecki > > > > > > Document binding of block responsible for initializing USB controllers > > > (OHCI, EHCI, XHCI). > >

Re: [PATCH v3 1/2] perf: support build BPF skeletons with perf

2020-12-09 Thread Song Liu
> On Dec 9, 2020, at 9:03 AM, Jiri Olsa wrote: > > On Tue, Dec 08, 2020 at 10:16:45AM -0800, Song Liu wrote: >> BPF programs are useful in perf to profile BPF programs. BPF skeleton is >> by far the easiest way to write BPF tools. Enable building BPF skeletons >> in util/bpf_skel. A dummy bpf

Re: [PATCH v3 0/2] Introduce perf-stat -b for BPF programs

2020-12-09 Thread Song Liu
> On Dec 9, 2020, at 9:36 AM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 08, 2020 at 10:16:44AM -0800, Song Liu escreveu: >> This set introduces perf-stat -b option to count events for BPF programs. >> This is similar to bpftool-prog-profile. But perf-stat makes it much more >> flexible.

Re: [PATCH v3 2/5] dt-bindings: riscv: microchip: Add YAML documentation for the PolarFire SoC

2020-12-09 Thread Rob Herring
On Fri, Dec 04, 2020 at 12:58:32AM -0800, Atish Patra wrote: > Add YAML DT binding documentation for the Microchip PolarFire SoC. > It is documented at: > > https://www.microsemi.com/products/fpga-soc/polarfire-soc-icicle-quick-start-guide > > Signed-off-by: Atish Patra > --- >

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Linus Torvalds
On Wed, Dec 9, 2020 at 3:07 PM Matthew Wilcox wrote: > > #. It is not necessary to use rcu_assign_pointer() when creating > linked structures that are to be published via a single external > - pointer. The RCU_INIT_POINTER() macro is provided for this task > - and also for assigning

Re: [PATCH v4 2/3] media: rockchip: Introduce driver for Rockhip's camera interface

2020-12-09 Thread kernel test robot
Hi Maxime, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on rockchip/for-next] [also build test WARNING on robh/for-next v5.10-rc7 next-20201209] [cannot apply to linuxtv-media/master] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH 2/4] soc: qcom: aoss: Add SM8350 compatible

2020-12-09 Thread Rob Herring
On Fri, 04 Dec 2020 11:13:45 +0530, Vinod Koul wrote: > Add SM8350 compatible to the qcom_aoss binding and driver. > > Signed-off-by: Vinod Koul > --- > Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 1 + > drivers/soc/qcom/qcom_aoss.c | 1 + > 2

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 11:07:55PM +, Matthew Wilcox wrote: > On Wed, Dec 09, 2020 at 03:01:36PM -0800, Linus Torvalds wrote: > > On Wed, Dec 9, 2020 at 2:58 PM Al Viro wrote: > > > > > > On Wed, Dec 09, 2020 at 07:49:38PM +, Matthew Wilcox wrote: > > > > > > > > Assuming this is safe,

Re: [PATCH 3/4] arm64: dts: qcom: Add basic devicetree support for SM8350 SoC

2020-12-09 Thread Rob Herring
On Fri, Dec 04, 2020 at 11:13:46AM +0530, Vinod Koul wrote: > Add basic devicetree support for Qualcomm Technologies, Inc SM8350 SoC. > This adds gcc, pinctrl, reserved memory, uart, cpu nodes for this SoC. > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8350.dtsi | 496

Re: [PATCH] ext4: Don't leak old mountpoint samples

2020-12-09 Thread harshad shirwadkar
Thanks for the patch Richard, it looks good to me. Reviewed-by: Harshad Shirwadkar On Tue, Dec 1, 2020 at 7:29 AM Richard Weinberger wrote: > > As soon the first file is opened, ext4 samples the mountpoint > of the filesystem in 64 bytes of the super block. > It does so using strlcpy(), this

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