[PATCH v10 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-05-28 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add YAML file for dt-bindings to support NAND Flash Controller on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- .../devicetree/bindings/mtd/intel,lgm-nand.yaml| 93 ++ 1 file changed, 93 insertions(+)

[PATCH v10 0/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-28 Thread Ramuthevar,Vadivel MuruganX
This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning Mountain(LGM) SoC. DMA is used for burst data transfer operation, also DMA HW supports aligned 32bit memory address and aligned data access by default. DMA burst of 8 supported. Data register used to support the

[PATCH v10 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-28 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning Mountain(LGM) SoC. DMA is used for burst data transfer operation, also DMA HW supports aligned 32bit memory address and aligned data access by default. DMA burst of 8

Re: [PATCH] KVM: X86: Call kvm_x86_ops.cpuid_update() after CPUIDs fully updated

2020-05-28 Thread Xiaoyao Li
On 5/28/2020 11:22 PM, Paolo Bonzini wrote: On 28/05/20 17:19, Xiaoyao Li wrote: kvm_x86_ops.cpuid_update() is used to update vmx/svm settings based on updated CPUID settings. So it's supposed to be called after CPUIDs are fully updated, not in the middle stage. Signed-off-by: Xiaoyao Li

Re: [PATCH v3 09/10] dmaengine: dw: Introduce max burst length hw config

2020-05-28 Thread Serge Semin
On Thu, May 28, 2020 at 05:52:24PM +0300, Andy Shevchenko wrote: > On Wed, May 27, 2020 at 01:50:20AM +0300, Serge Semin wrote: > > IP core of the DW DMA controller may be synthesized with different > > max burst length of the transfers per each channel. According to Synopsis > > having the fixed

Re: [PATCH] clk: qcom: Add missing msm8998 ufs_unipro_core_clk_src

2020-05-28 Thread Jami Kettunen
Tested-by: Jami Kettunen On 28.5.2020 17.22, Jeffrey Hugo wrote: ufs_unipro_core_clk_src is required to allow UFS to clock scale for power savings. Fixes: b5f5f525c547 ("clk: qcom: Add MSM8998 Global Clock Control (GCC) driver") Signed-off-by: Jeffrey Hugo ---

Re: [PATCH] hwrng: ks-sa - fix runtime pm imbalance on error

2020-05-28 Thread st...@rowland.harvard.edu
On Thu, May 28, 2020 at 04:55:19PM +1000, Herbert Xu wrote: > On Wed, May 20, 2020 at 12:45:56PM -0400, st...@rowland.harvard.edu wrote: > > On Wed, May 20, 2020 at 03:42:17PM +, Sverdlin, Alexander (Nokia - > > DE/Ulm) wrote: > > > Hello Dinghao, > > > > > > On Wed, 2020-05-20 at 21:29

Re: [PATCH] hwmon (pmbus/max20730): add max20710 and debugfs access support

2020-05-28 Thread Guenter Roeck
On Tue, May 26, 2020 at 09:42:19AM +, Ugur Usug wrote: > This change has 2 parts: > 1. Add support for max20710 into the existing max20730 driver. > > 2. Add debugfs interface support for accessing device specific registers > (MFR_VOUT_MIN, MFR_DEVSET1 and MFR_DEVSET2) and others >

[PATCH v9 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-05-28 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add YAML file for dt-bindings to support NAND Flash Controller on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- .../devicetree/bindings/mtd/intel,lgm-nand.yaml| 93 ++ 1 file changed, 93 insertions(+)

[PATCH v9 0/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-28 Thread Ramuthevar,Vadivel MuruganX
This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning Mountain(LGM) SoC. DMA is used for burst data transfer operation, also DMA HW supports aligned 32bit memory address and aligned data access by default. DMA burst of 8 supported. Data register used to support the

[PATCH v9 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-28 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning Mountain(LGM) SoC. DMA is used for burst data transfer operation, also DMA HW supports aligned 32bit memory address and aligned data access by default. DMA burst of 8

Oops at boot with linux-next kernel with IMA boot options

2020-05-28 Thread Takashi Iwai
Hi Roberto, it seems that the recent changes in IMA in linux-next caused a regression: namely it triggers an Oops when booting with the options ima_policy=tcb ima_template_fmt='d-ng|n-ng|d|ng' It hits a NULL dereference at ima_match_policy() like: [ 10.766220]

Re: [PATCH v2 01/12] mm/page_isolation: prefer the node of the source page

2020-05-28 Thread Vlastimil Babka
On 5/27/20 8:44 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > For locality, it's better to migrate the page to the same node > rather than the node of the current caller's cpu. Should be, yeah. > Acked-by: Roman Gushchin > Signed-off-by: Joonsoo Kim Reviewed-by: Vlastimil Babka >

Re: [rcu:dev.2020.05.26a 56/72] refperf.c:undefined reference to `__umoddi3'

2020-05-28 Thread Randy Dunlap
On 5/28/20 8:31 AM, Geert Uytterhoeven wrote: > Hi Paul, > > On Thu, May 28, 2020 at 3:51 PM Paul E. McKenney wrote: >> On Thu, May 28, 2020 at 09:04:38AM +0200, Geert Uytterhoeven wrote: >>> On Thu, May 28, 2020 at 5:26 AM kbuild test robot wrote: tree:

Re: [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0

2020-05-28 Thread Geert Uytterhoeven
Hi Lorenzo, On Thu, May 28, 2020 at 4:21 PM Lorenzo Pieralisi wrote: > On Sun, May 24, 2020 at 10:37:49PM +0100, Lad Prabhakar wrote: > > This patch series adds support for HSUSB, USB2.0 and USB3.0 to > > R8A7742 SoC DT. > > > > This patch series applies on-top of [1]. > > > > [1] > >

Re: [rcu:dev.2020.05.26a 56/72] refperf.c:undefined reference to `__umoddi3'

2020-05-28 Thread Geert Uytterhoeven
Hi Paul, On Thu, May 28, 2020 at 3:51 PM Paul E. McKenney wrote: > On Thu, May 28, 2020 at 09:04:38AM +0200, Geert Uytterhoeven wrote: > > On Thu, May 28, 2020 at 5:26 AM kbuild test robot wrote: > > > tree: > > > https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > > >

Re: [tip:locking/kcsan 12/12] /bin/bash: line 1: 61526 Segmentation fault sparse ...

2020-05-28 Thread Marco Elver
On Thu, 28 May 2020 at 17:22, Luc Van Oostenryck wrote: > > On Thu, May 28, 2020 at 09:59:00AM +0200, Marco Elver wrote: > > > > Ouch. The below should be all we need, assuming it's the best we can do > > for sparse right now. > > Upstream sparse should be OK with it now. Very good, thank you!

[PATCH v5 4/6] dt-bindings: interrupt-controller: Add Loongson PCH PIC

2020-05-28 Thread Jiaxun Yang
Add binding for Loongson PCH PIC Controller. Signed-off-by: Jiaxun Yang -- v2: - Fix naming - Mark loongson,pic-base-vec as required v5: - Add range check for loongson,pic-base-vec --- .../loongson,pch-pic.yaml | 56 +++ 1 file

[PATCH v5 6/6] dt-bindings: interrupt-controller: Add Loongson PCH MSI

2020-05-28 Thread Jiaxun Yang
Add binding for Loongson PCH MSI controller. Signed-off-by: Jiaxun Yang Reviewed-by: Rob Herring -- v5: Add range check for msi-base-vec & msi-num-vecs --- .../loongson,pch-msi.yaml | 62 +++ 1 file changed, 62 insertions(+) create mode 100644

[PATCH v5 5/6] irqchip: Add Loongson PCH MSI controller

2020-05-28 Thread Jiaxun Yang
This controller appears on Loongson LS7A family of PCH to transform interrupts from PCI MSI into HyperTransport vectorized interrrupts and send them to procrssor's HT vector controller. Signed-off-by: Jiaxun Yang -- v2: - Style clean-ups - Add ack callback - Use

[PATCH v5 1/6] irqchip: Add Loongson HyperTransport Vector support

2020-05-28 Thread Jiaxun Yang
This controller appears on Loongson-3 chips for receiving interrupt vectors from PCH's PIC and PCH's PCIe MSI interrupts. Signed-off-by: Jiaxun Yang --- v2: - Style cleanup - Set ack callback and set correct edge_irq handler v3: - Correct bitops in ACK callback v4:

[PATCH v5 2/6] dt-bindings: interrupt-controller: Add Loongson HTVEC

2020-05-28 Thread Jiaxun Yang
Add binding for Loongson-3 HyperTransport Interrupt Vector Controller. Signed-off-by: Jiaxun Yang -- v4: Drop ref, '|', add additionalProperties, fix example --- .../interrupt-controller/loongson,htvec.yaml | 57 +++ 1 file changed, 57 insertions(+) create mode 100644

[PATCH v5 3/6] irqchip: Add Loongson PCH PIC controller

2020-05-28 Thread Jiaxun Yang
This controller appears on Loongson LS7A family of PCH to transform interrupts from devices into HyperTransport vectorized interrrupts and send them to procrssor's HT vector controller. Signed-off-by: Jiaxun Yang --- v2: - Style clean-ups - Use IRQ_FASTEOI_HIERARCHY_HANDLERS

[PATCH] can: mcp251x: add support for half duplex controllers

2020-05-28 Thread Tim Harvey
Some SPI host controllers do not support full-duplex SPI and are marked as such via the SPI_CONTROLLER_HALF_DUPLEX controller flag. For such controllers use half duplex transactions but retain full duplex transactions for the controllers that can handle those. Signed-off-by: Tim Harvey ---

[PATCH v5 0/6] Three Loongson irqchip support

2020-05-28 Thread Jiaxun Yang
v5: - Add some range checks in dt-schema Jiaxun Yang (6): irqchip: Add Loongson HyperTransport Vector support dt-bindings: interrupt-controller: Add Loongson HTVEC irqchip: Add Loongson PCH PIC controller dt-bindings: interrupt-controller: Add Loongson PCH PIC irqchip: Add Loongson

Re: [PATCH v3 08/10] dmaengine: dw: Add dummy device_caps callback

2020-05-28 Thread Serge Semin
On Thu, May 28, 2020 at 05:53:03PM +0300, Andy Shevchenko wrote: > On Wed, May 27, 2020 at 01:50:19AM +0300, Serge Semin wrote: > > Since some DW DMA controllers (like one installed on Baikal-T1 SoC) may > > have non-uniform DMA capabilities per device channels, let's add > > the DW DMA specific

Re: [v5] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

2020-05-28 Thread Markus Elfring
>> Still, the kfree(NULL) is harmless. But it is cleaner >> to have the patch. But the changelog is wrong, even after >> the lengthened debating, and English is not my mother tongue, >> so I just looked on. > > We have tried to tell Markus not to advise people about commit messages A few concerns

Re: [PATCH 2/3] kasan: move kasan_report() into report.c

2020-05-28 Thread Andrey Konovalov
On Thu, May 28, 2020 at 5:15 PM Qian Cai wrote: > > On Thu, May 28, 2020 at 05:00:54PM +0200, 'Andrey Konovalov' via kasan-dev > wrote: > > On Thu, May 28, 2020 at 3:49 PM Qian Cai wrote: > > > > > > On Tue, May 12, 2020 at 05:33:20PM +0200, 'Andrey Konovalov' via > > > kasan-dev wrote: > > >

Re: [PATCH net-next 6/8] net: phy: mscc: timestamping and PHC support

2020-05-28 Thread Antoine Tenart
Hello Richard, Quoting Richard Cochran (2020-05-28 16:34:40) > On Wed, May 27, 2020 at 06:41:56PM +0200, Antoine Tenart wrote: > > > +static struct vsc85xx_ptphdr *get_ptp_header(struct sk_buff *skb) > > +{ > > + struct ethhdr *ethhdr = eth_hdr(skb); > > + struct iphdr *iphdr =

Re: [PATCH] KVM: X86: Call kvm_x86_ops.cpuid_update() after CPUIDs fully updated

2020-05-28 Thread Paolo Bonzini
On 28/05/20 17:19, Xiaoyao Li wrote: > kvm_x86_ops.cpuid_update() is used to update vmx/svm settings based on > updated CPUID settings. So it's supposed to be called after CPUIDs are > fully updated, not in the middle stage. > > Signed-off-by: Xiaoyao Li Are you seeing anything bad happening

Re: [tip:locking/kcsan 12/12] /bin/bash: line 1: 61526 Segmentation fault sparse ...

2020-05-28 Thread Luc Van Oostenryck
On Thu, May 28, 2020 at 09:59:00AM +0200, Marco Elver wrote: > > Ouch. The below should be all we need, assuming it's the best we can do > for sparse right now. Upstream sparse should be OK with it now. -- Luc

RE: [PATCH 0/3] make vm_committed_as_batch aware of vm overcommit policy

2020-05-28 Thread Kleen, Andi
>If it's true, then there could be 2 solutions, one is to skip the WARN_ONCE as >it has no practical value, as the real >check is the following code, the other >is to rectify the percpu counter when the policy is changing to >>OVERCOMMIT_NEVER. I think it's better to fix it up when the

[PATCH V3 1/3] perf/x86/intel/uncore: Fix oops when counting IMC uncore events on some TGL

2020-05-28 Thread kan . liang
From: Kan Liang When counting IMC uncore events on some TGL machines, an oops will be triggered. [ 393.101262] BUG: unable to handle page fault for address: b45200e15858 [ 393.101269] #PF: supervisor read access in kernel mode [ 393.101271] #PF: error_code(0x) - not-present page

[PATCH V3 3/3] perf/x86/intel/uncore: Validate MMIO address before accessing

2020-05-28 Thread kan . liang
From: Kan Liang An oops will be triggered, if perf tries to access an invalid address which exceeds the mapped area. Check the address before the actual access to MMIO sapce of an uncore unit. Suggested-by: David Laight Signed-off-by: Kan Liang --- Changes since V2: - Rename

[PATCH V3 2/3] perf/x86/intel/uncore: Record the size of mapped area

2020-05-28 Thread kan . liang
From: Kan Liang Perf cannot validate an address before the actual access to MMIO space of some uncore units, e.g. IMC on TGL. Accessing an invalid address, which exceeds mapped area, can trigger oops. Perf never records the size of mapped area. Generic functions, e.g.

Re: [PATCH v3 05/10] dmaengine: Introduce DMA-device device_caps callback

2020-05-28 Thread Serge Semin
On Thu, May 28, 2020 at 05:42:57PM +0300, Andy Shevchenko wrote: > On Wed, May 27, 2020 at 01:50:16AM +0300, Serge Semin wrote: > > There are DMA devices (like ours version of Synopsys DW DMAC) which have > > DMA capabilities non-uniformly redistributed amongst the device channels. > > In order to

Re: [PATCH v4 1/2] dt-bindings: PCI: Add UniPhier PCIe endpoint controller description

2020-05-28 Thread Rob Herring
On Thu, 14 May 2020 21:03:20 +0900, Kunihiko Hayashi wrote: > Add DT bindings for PCIe controller implemented in UniPhier SoCs > when configured in endpoint mode. This controller is based on > the DesignWare PCIe core. > > Signed-off-by: Kunihiko Hayashi > --- >

[PATCH] KVM: X86: Call kvm_x86_ops.cpuid_update() after CPUIDs fully updated

2020-05-28 Thread Xiaoyao Li
kvm_x86_ops.cpuid_update() is used to update vmx/svm settings based on updated CPUID settings. So it's supposed to be called after CPUIDs are fully updated, not in the middle stage. Signed-off-by: Xiaoyao Li --- arch/x86/kvm/cpuid.c | 10 -- 1 file changed, 8 insertions(+), 2

Re: [PATCH] dt-bindings: pwm: Convert mxs pwm to json-schema

2020-05-28 Thread Rob Herring
On Thu, 14 May 2020 19:41:10 +0800, Anson Huang wrote: > Convert the mxs pwm binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- > Documentation/devicetree/bindings/pwm/mxs-pwm.txt | 17 - > Documentation/devicetree/bindings/pwm/mxs-pwm.yaml | 43 >

Re: [PATCH v3] Bluetooth: hci_qca: Improve controller ID info log level

2020-05-28 Thread Matthias Kaehlcke
On Thu, May 28, 2020 at 07:03:17PM +0800, Zijun Hu wrote: > Controller ID info got by VSC EDL_PATCH_GETVER is very > important, so improve its log level from DEBUG to INFO. > > Signed-off-by: Zijun Hu Please add the tags from earlier version unless the new patch has substantial changes.

Re: [PATCH] sbp-target: add the missed kfree() in an error path

2020-05-28 Thread Chris Boot
On 28/05/2020 15:53, Bart Van Assche wrote: > On 2020-05-28 03:20, Chuhong Yuan wrote: >> sbp_fetch_command() forgets to call kfree() in an error path. >> Add the missed call to fix it. > > Hi Chris, > > The changelog of the code under drivers/target/sbp makes we wonder > whether this driver has

Re: [PATCH -tip] compiler_types.h: Optimize __unqual_scalar_typeof compilation time

2020-05-28 Thread Marco Elver
On Thu, 28 May 2020 at 04:12, Sedat Dilek wrote: > [...] > > > > > > > > In general, CONFIG_KCSAN=y and the defaults for the other KCSAN > > > > options should be good. Depending on the size of your system, you > > > > could also tweak KCSAN runtime performance: > > > >

Re: [PATCH 2/3] kasan: move kasan_report() into report.c

2020-05-28 Thread Qian Cai
On Thu, May 28, 2020 at 05:00:54PM +0200, 'Andrey Konovalov' via kasan-dev wrote: > On Thu, May 28, 2020 at 3:49 PM Qian Cai wrote: > > > > On Tue, May 12, 2020 at 05:33:20PM +0200, 'Andrey Konovalov' via kasan-dev > > wrote: > > > The kasan_report() functions belongs to report.c, as it's a

[PATCH v2 1/2] seccomp: notify user trap about unused filter

2020-05-28 Thread Christian Brauner
We've been making heavy use of the seccomp notifier to intercept and handle certain syscalls for containers. This patch allows a syscall supervisor listening on a given notifier to be notified when a seccomp filter has become unused. A container is often managed by a singleton supervisor process

Re: [PATCH] dt-bindings: auxdisplay: hd44780: Convert to json-schema

2020-05-28 Thread Rob Herring
On Thu, 14 May 2020 13:30:02 +0200, Geert Uytterhoeven wrote: > Convert the Hitachi HD44780 Character LCD Controller Device Tree binding > documentation to json-schema. > > Signed-off-by: Geert Uytterhoeven > --- > .../bindings/auxdisplay/hit,hd44780.txt | 45 - >

[PATCH v2 2/2] tests: test seccomp filter notifications

2020-05-28 Thread Christian Brauner
This verifies we're correctly notified when a seccomp filter becomes unused when a notifier is in use. Signed-off-by: Christian Brauner --- /* v2 */ unchanged --- tools/testing/selftests/seccomp/seccomp_bpf.c | 136 ++ 1 file changed, 136 insertions(+) diff --git

Re: [PATCH v2] twist: allow converting pr_devel()/pr_debug() into snprintf()

2020-05-28 Thread Tetsuo Handa
On 2020/05/28 20:06, Petr Mladek wrote: > Now, it requires lib/Kconfig.twist that is added by a patch in > Andrew's tree. One approach is to push this into linux-next > via Andrew's -mm tree. > > Another possibility would be to remove lib/Kconfig.twist > changes from this patch and replace >

Re: [PATCH] mm/compaction: Fix the incorrect hole in fast_isolate_freepages()

2020-05-28 Thread Steve Wahl
On Thu, May 28, 2020 at 05:07:31PM +0800, Baoquan He wrote: > On 05/26/20 at 01:49pm, David Hildenbrand wrote: > > On 26.05.20 13:32, Mike Rapoport wrote: > > > Hello Baoquan, > > > > > > On Tue, May 26, 2020 at 04:45:43PM +0800, Baoquan He wrote: > > >> On 05/22/20 at 05:20pm, Mike Rapoport

Re: [PATCH 6/6] dt-bindings: drm/msm/gpu: Document gpu opp table

2020-05-28 Thread Rob Herring
On Thu, 14 May 2020 16:24:19 +0530, Sharat Masetty wrote: > Update documentation to list the gpu opp table bindings including the > newly added "opp-peak-kBps" needed for GPU-DDR bandwidth scaling. > > Signed-off-by: Sharat Masetty > --- > .../devicetree/bindings/display/msm/gpu.txt| 28

[net-next 6/6] dt-bindings: marvell,prestera: Add description for device-tree bindings

2020-05-28 Thread Vadym Kochan
Add brief description how to configure base mac address binding in device-tree. Describe requirement for the PCI port which is connected to the ASIC, to allow access to the firmware related registers. Signed-off-by: Vadym Kochan --- .../bindings/net/marvell,prestera.txt | 34

[net-next 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-05-28 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. The current implementation supports only boards designed for the Marvell Switchdev solution and requires special firmware. The core

[net-next 5/6] net: marvell: prestera: Add Switchdev driver implementation

2020-05-28 Thread Vadym Kochan
The following features are supported: - VLAN-aware bridge offloading - VLAN-unaware bridge offloading - FDB offloading (learning, ageing) - Switchport configuration Currently there are some limitations like: - Only 1 VLAN-aware bridge instance supported - FDB ageing

[PATCH V1] mmc: sdhci-msm: Clear tuning done flag while hs400 tuning

2020-05-28 Thread Veerabhadrarao Badiganti
Clear tuning_done flag while executing tuning to ensure vendor specific HS400 settings are applied properly when the controller is re-initialized in HS400 mode. Without this, re-initialization of the qcom SDHC in HS400 mode fails while resuming the driver from runtime-suspend or system-suspend.

[net-next 4/6] net: marvell: prestera: Add ethtool interface support

2020-05-28 Thread Vadym Kochan
The ethtool API provides support for the configuration of the following features: speed and duplex, auto-negotiation, MDI-x, forward error correction, port media type. The API also provides information about the port status, hardware and software statistic. The following limitation exists: -

[net-next 3/6] net: marvell: prestera: Add basic devlink support

2020-05-28 Thread Vadym Kochan
Add very basic support for devlink interface: - driver name - fw version - devlink ports Signed-off-by: Vadym Kochan --- drivers/net/ethernet/marvell/prestera/Kconfig | 1 + .../net/ethernet/marvell/prestera/Makefile| 2 +- .../net/ethernet/marvell/prestera/prestera.h |

[net-next 2/6] net: marvell: prestera: Add PCI interface support

2020-05-28 Thread Vadym Kochan
Add PCI interface driver for Prestera Switch ASICs family devices, which provides: - Firmware loading mechanism - Requests & events handling to/from the firmware - Access to the firmware on the bus level The firmware has to be loaded each time device is reset. The driver is loading

[net-next 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x)

2020-05-28 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. Prestera Switchdev is a firmware based driver that operates via PCI bus. The current implementation supports only boards designed for the

Re: [PATCH v6 0/3] gpio: generic regmap implementation

2020-05-28 Thread Andy Shevchenko
On Thu, May 28, 2020 at 5:59 PM Michael Walle wrote: > > This series is a split off of the sl28cpld series: > https://lore.kernel.org/linux-gpio/20200423174543.17161-1-mich...@walle.cc/ > > I wasn't sure if I should also include the gpiochip_irqchip_add_domain() > patch here. So feel free to skip

Re: [PATCH 0/3] make vm_committed_as_batch aware of vm overcommit policy

2020-05-28 Thread Feng Tang
06365] memory commitment underflow > [ 3160.307216][T106365] WARNING: CPU: 103 PID: 106365 at mm/util.c:858 > __vm_enough_memory+0x204/0x250 > [ 3160.307275][T106365] Modules linked in: brd ext4 crc16 mbcache jbd2 loop > kvm_hv kvm ip_tables x_tables xfs sd_mod bnx2x ahci libahci md

Re: [PATCH v4 0/3] hwmon: Add Baikal-T1 SoC Process, Voltage and Temp sensor support

2020-05-28 Thread Guenter Roeck
On Thu, May 28, 2020 at 05:28:02PM +0300, Serge Semin wrote: > In order to keep track of Baikal-T1 SoC power consumption and make sure > the chip heating is within the normal temperature limits, there is > a dedicated hardware monitor sensor embedded into the SoC. It is based > on the Analog Bits

[net-next 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x)

2020-05-28 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. Prestera Switchdev is a firmware based driver that operates via PCI bus. The current implementation supports only boards designed for the

Re: [PATCH] powerpc/bpf: Enable bpf_probe_read{, str}() on powerpc again

2020-05-28 Thread Daniel Borkmann
On 5/28/20 2:23 PM, Michael Ellerman wrote: Petr Mladek writes: On Thu 2020-05-28 11:03:43, Michael Ellerman wrote: Petr Mladek writes: The commit 0ebeea8ca8a4d1d453a ("bpf: Restrict bpf_probe_read{, str}() only to archs where they work") caused that bpf_probe_read{, str}() functions were

Re: [PATCH v2 1/2] regmap: provide helpers for simple bit operations

2020-05-28 Thread Mark Brown
On Thu, May 28, 2020 at 04:49:06PM +0200, Bartosz Golaszewski wrote: > czw., 28 maj 2020 o 16:45 Mark Brown napisaƂ(a): > > The tenery here is redundant, it's converting a boolean value into a > > boolean value. Otherwise this looks good. > Do you mind if I respin it right away? I don't want

Re: [PATCH v3 0/8] kernel: taint when the driver firmware crashes

2020-05-28 Thread Ben Greear
On 05/28/2020 07:27 AM, Luis Chamberlain wrote: On Wed, May 27, 2020 at 02:36:42PM -0700, Jakub Kicinski wrote: On Wed, 27 May 2020 03:19:18 + Luis Chamberlain wrote: I read your patch, and granted, I will accept I was under the incorrect assumption that this can only be used by

pull: mrvl: add firmware for Prestera ASIC devices

2020-05-28 Thread Vadym Kochan
The following changes since commit 8ba6fa665c52093ddc0d81137fc3c82cee2c5ef8: Merge tag 'iwlwifi-fw-2020-05-19' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware (2020-05-19 07:28:12 -0400) are available in the Git repository at:

[PATCH][next] RDMA/hns: remove duplicate assignment to pointer raq

2020-05-28 Thread Colin King
From: Colin Ian King The pointer raq is being assigned twice. Fix this by removing one of the redundant assignments. Fixes: 14ba87304bf9 ("RDMA/hns: Remove redundant type cast for general pointers") Addressses-Coverity: ("Evaluation order violation") Signed-off-by: Colin Ian King ---

Re: [PATCH v2 3/3] scsi: ufs: cleanup ufs initialization path

2020-05-28 Thread Bart Van Assche
On 2020-05-28 04:56, Bean Huo wrote: > At UFS initialization stage, to get the length of the descriptor, > ufshcd_read_desc_length() being called 6 times. This patch is to > delete unnecessary reduntant code, remove ufshcd_read_desc_length() > and boost UFS initialization. As explained in

Re: [PATCH v2 1/3] scsi: ufs: remove max_t in ufs_get_device_desc

2020-05-28 Thread Bean Huo
On Thu, 2020-05-28 at 07:56 -0700, Bart Van Assche wrote: > > - buff_len = max_t(size_t, hba->desc_size.dev_desc, > > - QUERY_DESC_MAX_SIZE + 1); > > + buff_len = QUERY_DESC_MAX_SIZE + 1; > >desc_buf = kmalloc(buff_len, GFP_KERNEL); > >if (!desc_buf) {

Re: [PATCH v9 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-05-28 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, On 28/5/2020 10:06 pm, Rob Herring wrote: On Thu, 28 May 2020 13:12:10 +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add YAML file for dt-bindings to support NAND Flash Controller on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel

Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page

2020-05-28 Thread Michal Hocko
On Fri 22-05-20 02:23:09, Naresh Kamboju wrote: > My apology ! > As per the test results history this problem started happening from > Bad : next-20200430 (still reproducible on next-20200519) > Good : next-20200429 > > The git tree / tag used for testing is from linux next-20200430 tag and >

Re: [v5] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

2020-05-28 Thread Markus Elfring
> I'm also confused why they have been debating about the changelog > after the patch was queued. I suggest to take another look at the provided patch review comments. > My statement was about "the patch is a correct cleanup, > but the changelog is totally misleading". The commit message was

Re: [PATCH v3] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-28 Thread Rob Herring
On Wed, 13 May 2020 15:48:11 -0300, Rodrigo Alencar wrote: > From: Rodrigo Rolim Mendes de Alencar > > This patch provides support for displays like VGM128064B0W10, > which requires a column offset of 2, i.e., its segments starts > in SEG2 and ends in SEG129. > > Signed-off-by: Rodrigo Alencar

Re: [v5] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

2020-05-28 Thread Markus Elfring
> I'm also confused why they have been debating about the changelog > after the patch was queued. I suggest to take another look at the provided patch review comments. > My statement was about "the patch is a correct cleanup, > but the changelog is totally misleading". The commit message was

[PATCH V5 3/9] fs/ext4: Change EXT4_MOUNT_DAX to EXT4_MOUNT_DAX_ALWAYS

2020-05-28 Thread ira . weiny
From: Ira Weiny In prep for the new tri-state mount option which then introduces EXT4_MOUNT_DAX_NEVER. Reviewed-by: Jan Kara Signed-off-by: Ira Weiny --- Changes: New patch --- fs/ext4/ext4.h | 4 ++-- fs/ext4/inode.c | 2 +- fs/ext4/super.c | 12 ++-- 3 files changed, 9

[PATCH v7 5/5] iio: magnetometer: ak8975: Add gpio reset support

2020-05-28 Thread Jonathan Albrieux
According to AK09911 datasheet, if reset gpio is provided then deassert reset on ak8975_power_on() and assert reset on ak8975_power_off(). Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911

[PATCH V5 7/9] fs/ext4: Remove jflag variable

2020-05-28 Thread ira . weiny
From: Ira Weiny The jflag variable serves almost no purpose. Remove it. Signed-off-by: Ira Weiny --- Changes from V4: New for this series. --- fs/ext4/ioctl.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index

[PATCH V5 4/9] fs/ext4: Update ext4_should_use_dax()

2020-05-28 Thread ira . weiny
From: Ira Weiny S_DAX should only be enabled when the underlying block device supports dax. Cache the underlying support for DAX in the super block and modify ext4_should_use_dax() to check for device support prior to the over riding mount option. While we are at it change the function to

Re: [PATCH 2/3] kasan: move kasan_report() into report.c

2020-05-28 Thread Andrey Konovalov
On Thu, May 28, 2020 at 3:49 PM Qian Cai wrote: > > On Tue, May 12, 2020 at 05:33:20PM +0200, 'Andrey Konovalov' via kasan-dev > wrote: > > The kasan_report() functions belongs to report.c, as it's a common > > functions that does error reporting. > > > > Reported-by: Leon Romanovsky > >

[PATCH V5 0/9] Enable ext4 support for per-file/directory DAX operations

2020-05-28 Thread ira . weiny
From: Ira Weiny Changes from V4: Fix up DAX mutual exclusion with other flags. Add clean up patch (remove jflags) Changes from V3: Change EXT4_DAX_FL to bit24 Cache device DAX support in the super block and use that is ext4_should_use_dax()

[PATCH v7 4/5] iio: magnetometer: ak8975: Fix typo, uniform measurement unit style

2020-05-28 Thread Jonathan Albrieux
Minor comment style edits. Signed-off-by: Jonathan Albrieux Reviewed-by: Andy Shevchenko --- drivers/iio/magnetometer/ak8975.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c index

[PATCH V5 1/9] fs/ext4: Narrow scope of DAX check in setflags

2020-05-28 Thread ira . weiny
From: Ira Weiny When preventing DAX and journaling on an inode. Use the effective DAX check rather than the mount option. This will be required to support per inode DAX flags. Reviewed-by: Jan Kara Signed-off-by: Ira Weiny --- fs/ext4/ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH V5 2/9] fs/ext4: Disallow verity if inode is DAX

2020-05-28 Thread ira . weiny
From: Ira Weiny Verity and DAX are incompatible. Changing the DAX mode due to a verity flag change is wrong without a corresponding address_space_operations update. Make the 2 options mutually exclusive by returning an error if DAX was set first. (Setting DAX is already disabled if Verity is

[PATCH V5 6/9] fs/ext4: Make DAX mount option a tri-state

2020-05-28 Thread ira . weiny
From: Ira Weiny We add 'always', 'never', and 'inode' (default). '-o dax' continues to operate the same which is equivalent to 'always'. This new functionality is limited to ext4 only. Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set it and EXT4_MOUNT_DAX_ALWAYS

[PATCH V5 5/9] fs/ext4: Only change S_DAX on inode load

2020-05-28 Thread ira . weiny
From: Ira Weiny To prevent complications with in memory inodes we only set S_DAX on inode load. FS_XFLAG_DAX can be changed at any time and S_DAX will change after inode eviction and reload. Add init bool to ext4_set_inode_flags() to indicate if the inode is being newly initialized. Assert

[PATCH V5 9/9] Documentation/dax: Update DAX enablement for ext4

2020-05-28 Thread ira . weiny
From: Ira Weiny Update the document to reflect ext4 and xfs now behave the same. Reviewed-by: Jan Kara Signed-off-by: Ira Weiny --- Changes from RFC: Update with ext2 text... --- Documentation/filesystems/dax.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH V5 8/9] fs/ext4: Introduce DAX inode flag

2020-05-28 Thread ira . weiny
From: Ira Weiny Add a flag ([EXT4|FS]_DAX_FL) to preserve FS_XFLAG_DAX in the ext4 inode. Set the flag to be user visible and changeable. Set the flag to be inherited. Allow applications to change the flag at any time except if it conflicts with the set of mutually exclusive flags (Currently

[PATCH v6 2/3] gpio: add a reusable generic gpio_chip using regmap

2020-05-28 Thread Michael Walle
There are quite a lot simple GPIO controller which are using regmap to access the hardware. This driver tries to be a base to unify existing code into one place. This won't cover everything but it should be a good starting point. It does not implement its own irq_chip because there is already a

[PATCH v6 3/3] MAINTAINERS: Add gpio regmap section

2020-05-28 Thread Michael Walle
Add myself as a reviewer for the gpio regmap. Signed-off-by: Michael Walle --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3a003f310574..f3458debb0c9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7340,6 +7340,12 @@ S: Maintained

Re: [PATCH v2 2/3] scsi: ufs: delete ufshcd_read_desc()

2020-05-28 Thread Bart Van Assche
On 2020-05-28 04:56, Bean Huo wrote: > Delete ufshcd_read_desc(). Instead, let caller directly call > ufshcd_read_desc_param(). Reviewed-by: Bart van Assche

Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page

2020-05-28 Thread Michal Hocko
[Sorry for a late reply - was offline for few days] On Thu 21-05-20 17:58:55, Johannes Weiner wrote: > On Thu, May 21, 2020 at 01:06:28PM -0700, Hugh Dickins wrote: [...] > >From d9e7ed15d1c9248a3fd99e35e82437549154dac7 Mon Sep 17 00:00:00 2001 > From: Johannes Weiner > Date: Thu, 21 May 2020

[PATCH v7 3/5] dt-bindings: iio: magnetometer: ak8975: add gpio reset support

2020-05-28 Thread Jonathan Albrieux
Add reset-gpio support. Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911 has an active low reset gpio to handle register's reset. AK09911 datasheet says that, if not used, reset pin should

[PATCH v6 0/3] gpio: generic regmap implementation

2020-05-28 Thread Michael Walle
This series is a split off of the sl28cpld series: https://lore.kernel.org/linux-gpio/20200423174543.17161-1-mich...@walle.cc/ I wasn't sure if I should also include the gpiochip_irqchip_add_domain() patch here. So feel free to skip it. OTOH if you use interrupts with gpio-regmap it is quite

[PATCH v6 1/3] gpiolib: Introduce gpiochip_irqchip_add_domain()

2020-05-28 Thread Michael Walle
The function connects an IRQ domain to a gpiochip and reuses gpiochip_to_irq() which is provided by gpiolib. gpiochip_irqchip_* and regmap_irq partially provide the same functionality. This function will help to connect just the minimal functionality of the gpiochip_irqchip which is needed to

[PATCH v7 2/5] dt-bindings: iio: magnetometer: ak8975: convert format to yaml, add maintainer

2020-05-28 Thread Jonathan Albrieux
Converts documentation from txt format to yaml. Signed-off-by: Jonathan Albrieux --- .../bindings/iio/magnetometer/ak8975.txt | 37 - .../iio/magnetometer/asahi-kasei,ak8975.yaml | 77 +++ 2 files changed, 77 insertions(+), 37 deletions(-) delete mode 100644

Re: [PATCH 2/3] kasan: move kasan_report() into report.c

2020-05-28 Thread Peter Zijlstra
On Thu, May 28, 2020 at 09:33:41AM -0500, Josh Poimboeuf wrote: > On Thu, May 28, 2020 at 09:49:13AM -0400, Qian Cai wrote: > > On Tue, May 12, 2020 at 05:33:20PM +0200, 'Andrey Konovalov' via kasan-dev > > wrote: > > > The kasan_report() functions belongs to report.c, as it's a common > > >

RE: [PATCH v2 3/3] scsi: ufs: cleanup ufs initialization path

2020-05-28 Thread Avri Altman
Hi, > From: Bean Huo > > At UFS initialization stage, to get the length of the descriptor, > ufshcd_read_desc_length() being called 6 times. May I suggest one more clarifying sentence to your commit log: "Instead, we will capture the descriptor size the first time we'll read it." >This patch

[PATCH v7 1/5] dt-bindings: iio: magnetometer: ak8975: reword gpios, add interrupts, fix style

2020-05-28 Thread Jonathan Albrieux
Reword gpios documentation, add interrupt documentation and fix styles. Update example to use interrupts instead of gpios. Signed-off-by: Jonathan Albrieux Reviewed-by: Rob Herring --- .../bindings/iio/magnetometer/ak8975.txt | 19 +-- 1 file changed, 13 insertions(+), 6

Re: [PATCH v3 4/4] kdb: Switch kdb_msg_write() to use safer polling I/O

2020-05-28 Thread Petr Mladek
On Thu 2020-05-28 12:26:20, Daniel Thompson wrote: > On Thu, May 28, 2020 at 11:48:48AM +0530, Sumit Garg wrote: > > On Wed, 27 May 2020 at 19:01, Daniel Thompson > > wrote: > > > > > > On Wed, May 27, 2020 at 11:55:59AM +0530, Sumit Garg wrote: > > > > In kgdb NMI context, calling console

[PATCH v7 0/5] iio: magnetometer: ak8975: Add gpio reset support

2020-05-28 Thread Jonathan Albrieux
v7: - fix documentation style, removing documentation unnecessary parts v6: - reword documentation for gpios, add interrupt documentation https://lore.kernel.org/linux-iio/20200525151117.32540-1-jonathan.albri...@gmail.com/ v5: - add maintainer

drivers/misc/xilinx_sdfec.c:736:15: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-05-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b0c3ba31be3e45a130e13b278cf3b90f69bda6f6 commit: a6b07e89fd8530b943217ccd4909d1bf65acc45d misc: xilinx_sdfec: add missing __user annotation date: 5 months ago config: m68k-randconfig-s031-20200528

<    5   6   7   8   9   10   11   12   13   14   >