[RT PATCH 0/3] hrtimer: RT fixes for hrtimer_grab_expiry_lock()

2019-08-21 Thread Julien Grall
Hi all, This small series contains a few fixes for the hrtimer code in RT linux (v5.2.9-rt3-rebase). The patch #2 contains a error I managed to reproduce. The other two are were found while looking at the code. Cheers, Julien Grall (3): hrtimer: Use READ_ONCE to access timer->base in hrim

[RT PATCH 2/3] hrtimer: Don't grab the expiry lock for non-soft hrtimer

2019-08-21 Thread Julien Grall
There are no guarantee the hrtimer_cancel() will be called on the same CPU as the non-soft hrtimer is running on so the following scenario can happen. CPU0 | CPU1 | |

[PATCH] riscv: dts: Add DT support for SiFive FU540 PWM driver

2019-08-21 Thread Yash Shah
Add the PWM DT node in SiFive FU540 soc-specific DT file. Enable the PWM nodes in HiFive Unleashed board-specific DT file. Signed-off-by: Yash Shah --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 19 +++ arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 8

Re: [PATCH net-next v2 6/9] net: macsec: hardware offloading infrastructure

2019-08-21 Thread allan.niel...@microchip.com
The 08/21/2019 09:20, Igor Russkikh wrote: > > Talking about packet numbers, can you describe how PN exhaustion is > > handled? I couldn't find much about packet numbers at all in the > > driver patches (I hope the hw doesn't wrap around from 2^32-1 to 0 on > > the same SA). At some point userspa

[PATCH] riscv: add arch/riscv/Kbuild

2019-08-21 Thread Masahiro Yamada
Use the standard obj-y form to specify the sub-directories under arch/riscv/. No functional change intended. Signed-off-by: Masahiro Yamada --- arch/riscv/Kbuild | 3 +++ arch/riscv/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/riscv/Kbuild diff --

Re: [PATCH v12 6/9] ARM: dts: exynos: add chipid label and syscon compatible

2019-08-21 Thread Lukasz Luba
On 7/24/19 7:10 PM, Krzysztof Kozlowski wrote: > On Mon, Jul 22, 2019 at 11:46:43AM +0200, Lukasz Luba wrote: >> Add the chipid label which allows to use it in phandle from other device. >> Use syscon in compatible to get the regmap of the device register set. >> The chipid is used in DMC during

Re: [PATCH] ACPI: PM: s2idle: Always set up EC GPE for system wakeup

2019-08-21 Thread Rafael J. Wysocki
On Wed, Aug 21, 2019 at 11:19 AM Andy Shevchenko wrote: > > On Wed, Aug 21, 2019 at 10:06:09AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Commit 10a08fd65ec1 ("ACPI: PM: Set up EC GPE for system wakeup from > > drivers that need it") assumed that the EC GPE would only nee

Re: [PATCH] x86/apic: Update virtual irq base for DT/OF based system as well

2019-08-21 Thread Tanwar, Rahul
On 21/8/2019 4:34 PM, Thomas Gleixner wrote: Secondly, this link is irrelevant. ioapic_dynirq_base has nothing to do with virtual IRQ number 0. It's a boundary for the dynamic allocation of virtual interrupt numbers so that the core allocator does not pick interrupts out of the IOAPIC's fixed in

Re: [linux-sunxi] Re: [PATCH v5 09/15] clk: sunxi-ng: h6: Allow I2S to change parent rate

2019-08-21 Thread Chen-Yu Tsai
On Wed, Aug 21, 2019 at 5:19 PM Code Kipper wrote: > > On Wed, 14 Aug 2019 at 08:09, wrote: > > > > From: Jernej Skrabec > > > > I2S doesn't work if parent rate couldn't be change. Difference between > > wanted and actual rate is too big. > > > > Fix this by adding CLK_SET_RATE_PARENT flag to I2

Re: [PATCH v2 2/3] x86/cpu: Add new Intel Atom CPU model name

2019-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2019 at 11:21:43AM +0800, Tanwar, Rahul wrote: > On 20/8/2019 10:57 PM, Peter Zijlstra wrote: > > What would describe the special sause that warranted a new SOC? If this > > thing is marketed as 'Network Processor' then I suppose we can actually > > use it, esp. if we're going to s

[PATCH v2] ACPI: PM: s2idle: Always set up EC GPE for system wakeup

2019-08-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit 10a08fd65ec1 ("ACPI: PM: Set up EC GPE for system wakeup from drivers that need it") assumed that the EC GPE would only need to be set up for system wakeup if either the intel-hid or the intel-vbtn driver was in use, but that turns out to be incorrect. In particula

Re: [PATCH v2] x86/mm/pti: in pti_clone_pgtable(), increase addr properly

2019-08-21 Thread Song Liu
> On Aug 20, 2019, at 1:23 PM, Song Liu wrote: > > Before 32-bit support, pti_clone_pmds() always adds PMD_SIZE to addr. > This behavior changes after the 32-bit support: pti_clone_pgtable() > increases addr by PUD_SIZE for pud_none(*pud) case, and increases addr by > PMD_SIZE for pmd_none(*p

Re: [PATCH 0/3] fix interrupt swamp in NVMe

2019-08-21 Thread Ming Lei
On Wed, Aug 21, 2019 at 07:47:44AM +, Long Li wrote: > >>>Subject: Re: [PATCH 0/3] fix interrupt swamp in NVMe > >>> > >>>On 20/08/2019 09:25, Ming Lei wrote: > On Tue, Aug 20, 2019 at 2:14 PM wrote: > > > > From: Long Li > > > > This patch set tries to fix interrupt swam

[PATCH] ARM: ftrace: remove ftrace_caller_old() and ftrace_call_old()

2019-08-21 Thread Jisheng Zhang
Commit d3c61619568c ("ARM: 8788/1: ftrace: remove old mcount support") removed the old mcount support, but forget to remove these two declarations. Remove them to clean up. Signed-off-by: Jisheng Zhang --- arch/arm/include/asm/ftrace.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/a

Re: [PATCH net-next v3 2/4] net: mdio: add PTP offset compensation to mdiobus_write_sts

2019-08-21 Thread Hubert Feurstein
Am Mi., 21. Aug. 2019 um 10:07 Uhr schrieb Miroslav Lichvar : > > Currently I do not see the benefit from this. The original intention was to > > compensate for the remaining offset as good as possible. > > That's ok, but IMHO the change should not break the assumptions of > existing application an

[PATCH 1/4] dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs

2019-08-21 Thread Sibi Sankar
Add SC7180 AOSS reset to the list of possible bindings. Signed-off-by: Sibi Sankar --- Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt b/Documentation/de

[PATCH 0/4] Add PDC Global and AOSS reset support

2019-08-21 Thread Sibi Sankar
This patch series adds PDC Global and AOSS reset support on SC7180 SoCs. Sibi Sankar (4): dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs reset: qcom: aoss: Add support for SC7180 SoCs dt-bindings: reset: pdc: Add PDC Global binding for SC7180 SoCs reset: qcom: pdc: Add su

[PATCH 2/4] reset: qcom: aoss: Add support for SC7180 SoCs

2019-08-21 Thread Sibi Sankar
Add AOSS reset support for SC7180 SoCs. Signed-off-by: Sibi Sankar --- drivers/reset/reset-qcom-aoss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-qcom-aoss.c b/drivers/reset/reset-qcom-aoss.c index 36db967504507..a400db93eb7d2 100644 --- a/drivers/reset/reset-qcom-ao

[PATCH 4/4] reset: qcom: pdc: Add support for SC7180 SoCs

2019-08-21 Thread Sibi Sankar
Add PCD Global support for SC7180 SoCs. Signed-off-by: Sibi Sankar --- drivers/reset/reset-qcom-pdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-qcom-pdc.c b/drivers/reset/reset-qcom-pdc.c index ab74bccd4a5b5..d876e48f05524 100644 --- a/drivers/reset/reset-qcom-pdc.c

[PATCH 3/4] dt-bindings: reset: pdc: Add PDC Global binding for SC7180 SoCs

2019-08-21 Thread Sibi Sankar
Add SC7180 PDC global to the list of possible bindings. Signed-off-by: Sibi Sankar --- Documentation/devicetree/bindings/reset/qcom,pdc-global.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt b/Documentation/de

Re: [PATCH v2 2/3] dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller

2019-08-21 Thread Dilip Kota
On 8/20/2019 9:42 PM, Rob Herring wrote: On Tue, Aug 20, 2019 at 4:40 AM Dilip Kota wrote: The Intel PCIe RC controller is Synopsys Designware based PCIe core. Add YAML schemas for PCIe in RC mode present in Intel Universal Gateway soc. Run 'make dt_binding_check' and fix all the warnings.

[PATCH] kprobes/parisc: remove arch_kprobe_on_func_entry()

2019-08-21 Thread Jisheng Zhang
The common kprobes provides a weak implementation of arch_kprobe_on_func_entry(). The parisc version is the same as the common version, so remove it. Signed-off-by: Jisheng Zhang --- arch/parisc/kernel/kprobes.c | 4 1 file changed, 4 deletions(-) diff --git a/arch/parisc/kernel/kprobes.c

[PATCH] x86/hyper-v: enable TSC page clocksource on 32bit

2019-08-21 Thread Vitaly Kuznetsov
There is no particular reason to not enable TSC page clocksource on 32-bit. mul_u64_u64_shr() is available and despite the increased computational complexity (compared to 64bit) TSC page is still a huge win compared to MSR-based clocksource. In-kernel reads: MSR based clocksource: 3361 cycles

Re: [PATCH 1/1] netfilter: nf_tables: fib: Drop IPV6 packages if IPv6 is disabled on boot

2019-08-21 Thread Pablo Neira Ayuso
On Tue, Aug 20, 2019 at 01:15:58PM -0300, Leonardo Bras wrote: > On Tue, 2019-08-20 at 07:36 +0200, Florian Westphal wrote: > > Wouldn't fib_netdev.c have the same problem? > Probably, but I haven't hit this issue yet. > > > If so, might be better to place this test in both > > nft_fib6_eval_type

Re: [PATCH net-next v2 6/9] net: macsec: hardware offloading infrastructure

2019-08-21 Thread Antoine Tenart
Hi Sabrina, On Tue, Aug 20, 2019 at 04:41:19PM +0200, Sabrina Dubroca wrote: > 2019-08-20, 12:01:40 +0200, Antoine Tenart wrote: > > So it seems the ability to enable or disable the offloading on a given > > interface is the main missing feature. I'll add that, however I'll > > probably (at least

[PATCH] ALSA: usb-audio: Fix the mixer control range limiting issue

2019-08-21 Thread Srinivas Kandagatla
From: Deepa Madiregama - mixer_ctl_set() function is limiting the volume level to particular range. This results in incorrect initial volume setting for that device. - In USB mixer while calculating the dBmin/dBmax values resolution factor is hardcoded to 256 which results in populating t

Re: [PATCH 0/3] fix interrupt swamp in NVMe

2019-08-21 Thread John Garry
On 21/08/2019 10:44, Ming Lei wrote: On Wed, Aug 21, 2019 at 07:47:44AM +, Long Li wrote: Subject: Re: [PATCH 0/3] fix interrupt swamp in NVMe On 20/08/2019 09:25, Ming Lei wrote: On Tue, Aug 20, 2019 at 2:14 PM wrote: From: Long Li This patch set tries to fix interrupt swamp in NVMe

Dear Beloved

2019-08-21 Thread Father David Nolan
-- Dear Beloved, I'm Reverend Father David Nolan, I was born in Brooklyn, NYC, 1970, I was ordained into the Catholic Priesthood. Please take your time to read this message, although we have never met before, this is no spam, It's a real message sent to you. I know also that you will be amazed

Re: [PATCH net] ixgbe: fix double clean of tx descriptors with xdp

2019-08-21 Thread Eelco Chaudron
On 20 Aug 2019, at 17:16, Ilya Maximets wrote: Tx code doesn't clear the descriptor status after cleaning. So, if the budget is larger than number of used elems in a ring, some descriptors will be accounted twice and xsk_umem_complete_tx will move prod_tail far beyond the prod_head breaking t

Re: [PATCH v2] x86/mm/pti: in pti_clone_pgtable(), increase addr properly

2019-08-21 Thread Peter Zijlstra
On Tue, Aug 20, 2019 at 01:23:14PM -0700, Song Liu wrote: > Before 32-bit support, pti_clone_pmds() always adds PMD_SIZE to addr. > This behavior changes after the 32-bit support: pti_clone_pgtable() > increases addr by PUD_SIZE for pud_none(*pud) case, and increases addr by > PMD_SIZE for pmd_non

[PATCH v3 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY

2019-08-21 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- changes in v3: - resolve 'make dt_binding_check' warnings changes in v2: As per Rob Herring review commen

Re: [PATCH] [v5] clocksource/drivers/npcm: fix GENMASK and timer operation

2019-08-21 Thread Daniel Lezcano
On 29/07/2019 19:03, Avi Fishman wrote: > NPCM7XX_Tx_OPER GENMASK bits where wrong, > Since NPCM7XX_REG_TICR0 register reset value of those bits was 0, > it did not cause an issue. > in npcm7xx_timer_oneshot() the original NPCM7XX_REG_TCSR0 register was > read again after masking it with ~NPCM7XX_T

[PATCH v3 2/2] phy: intel-lgm-emmc: Add support for eMMC PHY

2019-08-21 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add support for eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- changes in v3: - As per Andy's review comments macro optimization,aligned function call in proper order and udelay added. changes in v2: - optimize I

[PATCH] usb: gadget: udc: core: Fix error case while binding pending gadget drivers

2019-08-21 Thread Roger Quadros
If binding a pending gadget driver fails we should not remove it from the pending driver list, otherwise it will cause a segmentation fault later when the gadget driver is unloaded. Test case: - Make sure no UDC is available - modprobe g_mass_storage file=wrongfile - Load UDC driver so it becomes

URGENT RESPONSE YOUR CARD PAYMENT

2019-08-21 Thread ATM CARD DEPT CENTRE
Attn: Fund Beneficiary This is the 2nd time i am sending you this notification letter regarding your abandoned ATM Visa Card valued sum of US$9,500.000.00 and i have not received any positive respond from you or asking a suggestion on how you wish to receive your ATM Visa Card. Once again; I am Mr

Re: [PATCH v4 3/3] mmc: host: sdhci-pci: add Genesys Logic GL975x support

2019-08-21 Thread Ulf Hansson
On Tue, 13 Aug 2019 at 16:41, Michael K. Johnson wrote: > > Add support for the GL9750 and GL9755 chipsets. > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Johnson I am having a hard time to follow the different versions of the patches in the serie

Re: [PATCH v2] x86/mm/pti: in pti_clone_pgtable(), increase addr properly

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Song Liu wrote: > > On Aug 20, 2019, at 1:23 PM, Song Liu wrote: > > > > Before 32-bit support, pti_clone_pmds() always adds PMD_SIZE to addr. > > This behavior changes after the 32-bit support: pti_clone_pgtable() > > increases addr by PUD_SIZE for pud_none(*pud) case, and

[PATCH v3 06/15] drm/mxsfb: Update mxsfb with additional pixel formats

2019-08-21 Thread Robert Chiras
Since version 4 of eLCDIF, there are some registers that can do transformations on the input data, like re-arranging the pixel components. By doing that, we can support more pixel formats. This patch adds support for X/ABGR and RGBX/A. Although, the local alpha is not supported by eLCDIF, the alpha

Re: [PATCH net-next v3 2/4] net: mdio: add PTP offset compensation to mdiobus_write_sts

2019-08-21 Thread Miroslav Lichvar
On Wed, Aug 21, 2019 at 11:53:12AM +0200, Hubert Feurstein wrote: > Am Mi., 21. Aug. 2019 um 10:07 Uhr schrieb Miroslav Lichvar > > Because those reports/statistics are important in calculation of > > maximum error. If someone had a requirement for a clock to be accurate > > to 1.5 microseconds and

Re: [PATCH net-next v3 2/4] net: mdio: add PTP offset compensation to mdiobus_write_sts

2019-08-21 Thread Vladimir Oltean
On Wed, 21 Aug 2019 at 12:53, Hubert Feurstein wrote: > > Am Mi., 21. Aug. 2019 um 10:07 Uhr schrieb Miroslav Lichvar > : > > > Currently I do not see the benefit from this. The original intention was > > > to > > > compensate for the remaining offset as good as possible. > > > > That's ok, but I

[PATCH 1/2] powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY

2019-08-21 Thread Christophe Leroy
In a couple of places there is a need to select whether read-only protection of shadow pages is performed with PAGE_KERNEL_RO or with PAGE_READONLY. Add a helper to avoid duplicating the choice. Signed-off-by: Christophe Leroy Cc: sta...@vger.kernel.org --- This small series applies on top of p

[PATCH] powerpc/8xx: set STACK_END_MAGIC earlier on the init_stack

2019-08-21 Thread Christophe Leroy
Today, the STACK_END_MAGIC is set on init_stack in start_kernel(). To avoid a false 'Thread overran stack, or stack corrupted' message on early Oopses, setup STACK_END_MAGIC as soon as possible. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 4 1 file changed, 4 inser

[PATCH 2/2] powerpc/mm: Fix an Oops in kasan_mmu_init()

2019-08-21 Thread Christophe Leroy
Uncompressing Kernel Image ... OK Loading Device Tree to 01ff7000, end 01fff74f ... OK [0.00] printk: bootconsole [udbg0] enabled [0.00] BUG: Unable to handle kernel data access at 0xf818c000 [0.00] Faulting instruction address: 0xc0013c7c [0.00] Thread overran

Regression fix for bpf in v5.3 (was Re: [RFC PATCH] bpf: handle 32-bit zext during constant blinding)

2019-08-21 Thread Michael Ellerman
"Naveen N. Rao" writes: > Since BPF constant blinding is performed after the verifier pass, there > are certain ALU32 instructions inserted which don't have a corresponding > zext instruction inserted after. This is causing a kernel oops on > powerpc and can be reproduced by running 'test_cgroup_s

[PATCH] ALSA: pcm: add support for 352.8KHz and 384KHz sample rate

2019-08-21 Thread Srinivas Kandagatla
From: Vidyakumar Athota Most of the modern codecs supports 352.8KHz and 384KHz sample rates. Currently HW params fails to set 352.8Kz and 384KHz sample rate as these are not in known rates list. Add these new rates to known list to allow them. This patch also adds defines in pcm.h so that driver

Re: [PATCH net-next v3 4/4] net: fec: add support for PTP system timestamping for MDIO devices

2019-08-21 Thread Vladimir Oltean
On Tue, 20 Aug 2019 at 11:49, Hubert Feurstein wrote: > > From: Hubert Feurstein > > In order to improve the synchronisation precision of phc2sys (from > the linuxptp project) for devices like switches which are attached > to the MDIO bus, it is necessary the get the system timestamps as > close

Re: [PATCH v3 4/8] PCI: Add quirk to disable MSI-X support for Amazon's Annapurna Labs Root Port

2019-08-21 Thread Chocron, Jonathan
On Tue, 2019-08-20 at 20:54 +0100, Andrew Murray wrote: > On Tue, Aug 20, 2019 at 05:06:22PM +, Chocron, Jonathan wrote: > > On Tue, 2019-08-20 at 16:25 +0100, Andrew Murray wrote: > > > On Tue, Aug 20, 2019 at 02:52:30PM +, Chocron, Jonathan > > > wrote: > > > > On Mon, 2019-08-19 at 19:23

Re: [PATCH v2] x86/mm/pti: in pti_clone_pgtable(), increase addr properly

2019-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2019 at 12:10:08PM +0200, Peter Zijlstra wrote: > On Tue, Aug 20, 2019 at 01:23:14PM -0700, Song Liu wrote: > > host-5.2-after # grep "x pmd" /sys/kernel/debug/page_tables/dump_pid > > 0x0060-0x00e0 8M USR ro PSE > > x pmd > > 0x

Re: [PATCH 1/1] Fix: trace sched switch start/stop racy updates

2019-08-21 Thread Will Deacon
On Tue, Aug 20, 2019 at 01:29:32PM -0700, Paul E. McKenney wrote: > On Tue, Aug 20, 2019 at 03:56:12PM +0200, Peter Zijlstra wrote: > > On Sat, Aug 17, 2019 at 01:08:02AM -0700, Linus Torvalds wrote: > > > > > The data tearing issue is almost a non-issue. We're not going to add > > > WRITE_ONCE()

Re: [PATCH 1/4] dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs

2019-08-21 Thread Philipp Zabel
On Wed, 2019-08-21 at 15:24 +0530, Sibi Sankar wrote: > Add SC7180 AOSS reset to the list of possible bindings. > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documenta

Re: [PATCH 1/3] sched: define a function to report the number of context switches on a CPU

2019-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2019 at 08:20:48AM +, Long Li wrote: > >>>Subject: Re: [PATCH 1/3] sched: define a function to report the number of > >>>context switches on a CPU > >>> > >>>On Mon, Aug 19, 2019 at 11:14:27PM -0700, lon...@linuxonhyperv.com > >>>wrote: > From: Long Li > > The nu

Re: [PATCH 3/3] nvme: complete request in work queue on CPU with flooded interrupts

2019-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2019 at 08:37:55AM +, Long Li wrote: > >>>Subject: Re: [PATCH 3/3] nvme: complete request in work queue on CPU > >>>with flooded interrupts > >>> > >>>On Mon, Aug 19, 2019 at 11:14:29PM -0700, lon...@linuxonhyperv.com > >>>wrote: > From: Long Li > > When a NVMe h

Re: [PATCH] Fix an OOB access bug in technisat_usb2_get_ir

2019-08-21 Thread Sean Young
On Tue, Aug 20, 2019 at 02:19:16PM -0400, Hui Peng wrote: > In the while loop of technisat_usb2_get_ir, it scans through > a fix-sized buffer read from the device side, the termination > condition of the loop is `*b == 0xff`. If no `0xff` byte is read > from the device side, OOB access happens. >

[PATCH v13 6/8] ARM: dts: exynos: add syscon to clock compatible

2019-08-21 Thread Lukasz Luba
In order to get the clock by phandle and use it with regmap it needs to be compatible with syscon. The DMC driver uses two registers from clock register set and needs the regmap of them. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- arch/arm/boot/dts/exynos5800.dtsi |

[PATCH v13 4/8] dt-bindings: memory-controllers: add Exynos5422 DMC device description

2019-08-21 Thread Lukasz Luba
The patch adds description for DT binding for a new Exynos5422 Dynamic Memory Controller device. Acked-by: Krzysztof Kozlowski Reviewed-by: Rob Herring Signed-off-by: Lukasz Luba --- .../memory-controllers/exynos5422-dmc.txt | 73 +++ 1 file changed, 73 insertions(+) creat

[PATCH v13 5/8] drivers: memory: add DMC driver for Exynos5422

2019-08-21 Thread Lukasz Luba
This patch adds driver for Exynos5422 Dynamic Memory Controller. The driver provides support for dynamic frequency and voltage scaling for DMC and DRAM. It supports changing timings of DRAM running with different frequency. There is also an algorithm to calculate timigns based on memory description

[PATCH v13 1/8] dt-bindings: ddr: rename lpddr2 directory

2019-08-21 Thread Lukasz Luba
Change directory name to be ready for new types of memories. Reviewed-by: Rob Herring Signed-off-by: Lukasz Luba --- .../devicetree/bindings/{lpddr2 => ddr}/lpddr2-timings.txt | 0 Documentation/devicetree/bindings/{lpddr2 => ddr}/lpddr2.txt| 2 +- 2 files changed, 1 insertion(+), 1 de

Re: [PATCH] [v5] clocksource/drivers/npcm: fix GENMASK and timer operation

2019-08-21 Thread Avi Fishman
Thanks Daniel, It seems more clear now :) Good to know about the need for Fixes tag. On Wed, Aug 21, 2019 at 1:11 PM Daniel Lezcano wrote: > > On 29/07/2019 19:03, Avi Fishman wrote: > > NPCM7XX_Tx_OPER GENMASK bits where wrong, > > Since NPCM7XX_REG_TICR0 register reset value of those bits was

[PATCH v13 2/8] dt-bindings: ddr: add LPDDR3 memories

2019-08-21 Thread Lukasz Luba
Specifies the AC timing parameters of the LPDDR3 memory device. Reviewed-by: Rob Herring Signed-off-by: Lukasz Luba --- .../bindings/ddr/lpddr3-timings.txt | 58 +++ .../devicetree/bindings/ddr/lpddr3.txt| 97 +++ 2 files changed, 155 insertions(+) cre

[PATCH v13 3/8] drivers: memory: extend of_memory by LPDDR3 support

2019-08-21 Thread Lukasz Luba
The patch adds AC timings information needed to support LPDDR3 and memory controllers. The structure is used in of_memory and currently in Exynos 5422 DMC. Add parsing data needed for LPDDR3 support. It is currently used in Exynos5422 Dynamic Memory Controller. Acked-by: Krzysztof Kozlowski Signe

[PATCH v13 8/8] ARM: exynos_defconfig: enable DMC driver

2019-08-21 Thread Lukasz Luba
Enable driver for Exynos5422 Dynamic Memory Controller supporting dynamic frequency and voltage scaling in Exynos5422 SoCs. Signed-off-by: Lukasz Luba --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/e

[PATCH v13 0/8] Exynos5 Dynamic Memory Controller driver

2019-08-21 Thread Lukasz Luba
Hi all, This is v13 which makes cosmetic changes. It is based on current mainline (v5.3-rc5) with with devfreq/for-next where there is a PPMU patch [1]. The patch set adds support of Dynamic Memory Controller for Exynos5422 SoC. The driver supports Dynamic Voltage and Frequency Scaling for the DM

[PATCH v13 7/8] ARM: dts: exynos: add DMC device for exynos5422

2019-08-21 Thread Lukasz Luba
Add description of Dynamic Memory Controller and PPMU counters. They are used by exynos5422-dmc driver. There is a definition of the memory chip, which is then used during calculation of timings for each OPP. The algorithm in the driver needs these two sets to bound the timings. Signed-off-by: Luk

Re: [PATCH] cpustat: print watchdog time and statistics of soft and hard interrupts in soft lockup scenes

2019-08-21 Thread Peter Zijlstra
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Wed, Aug 21, 2019 at 04:26:17PM +0800, c00423981 wrote: > Sorry, I cannot understand this problem accurately. I try to un

Re: [PATCH v2 1/3] dt-bindings: Document JZ47xx VPU auxiliary processor

2019-08-21 Thread Paul Cercueil
Hi Rob, Le mar. 20 août 2019 à 22:50, Rob Herring a écrit : On Mon, Jul 29, 2019 at 02:31:07PM -0400, Paul Cercueil wrote: Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from Ingenic is a second Xburst MIPS CPU very similar to the main core. This document describes the d

Re: [PATCH net-next v4] sched: Add dualpi2 qdisc

2019-08-21 Thread Tilmans, Olivier (Nokia - BE/Antwerp)
> +static s64 __scale_delta(s64 diff) > +{ > + do_div(diff, (1 << (ALPHA_BETA_GRANULARITY + 1)) - 1); > + return diff; > +} [...] > + delta = __scale_delta(((s64)qdelay - q->pi2.target) * q->pi2.alpha); > + delta += __scale_delta(((s64)qdelay - qdelay_old) * q->pi2.beta); I just no

Re: [PATCH net-next 1/1] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-21 Thread Marco Hartmann
On 19.08.19 21:51, Heiner Kallweit wrote: > On 19.08.2019 19:52, Marco Hartmann wrote: >> and call it from phy_config_aneg(). >> > Here something went wrong. > >> commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from >> calling genphy_config_aneg") introduced a check that aborts >>

Re: Regression fix for bpf in v5.3 (was Re: [RFC PATCH] bpf: handle 32-bit zext during constant blinding)

2019-08-21 Thread Jiong Wang
Michael Ellerman writes: > "Naveen N. Rao" writes: >> Since BPF constant blinding is performed after the verifier pass, there >> are certain ALU32 instructions inserted which don't have a corresponding >> zext instruction inserted after. This is causing a kernel oops on >> powerpc and can be re

Re: [PATCH V4 1/3] riscv: Add perf callchain support

2019-08-21 Thread Mao Han
Hi Greentime, On Wed, Aug 21, 2019 at 05:16:13PM +0800, Greentime Hu wrote: > Hi Mao, > > Mao Han 於 2019年8月20日 週二 下午4:57寫道: > > > > This patch add support for perf callchain sampling on riscv platform. > > The return address of leaf function is retrieved from pt_regs as > > it is not saved in the

[PATCH v2 net] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-21 Thread Marco Hartmann
Commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from calling genphy_config_aneg") introduced a check that aborts phy_config_aneg() if the phy is a C45 phy. This causes phy_state_machine() to call phy_error() so that the phy ends up in PHY_HALTED state. Instead of returning -EOPNOTS

Re: [Patch v4 1/3] dt-bindings: spi: spi-fsl-qspi: Add ls2080a compatibility string to bindings

2019-08-21 Thread Mark Brown
On Tue, Aug 13, 2019 at 03:53:09PM +0530, Ashish Kumar wrote: > There are 2 version of QSPI-IP, according to which controller registers sets > can be big endian or little endian.There are some other minor changes like > RX fifo depth etc. > > The big endian version uses driver compatible "fsl,ls1

Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

2019-08-21 Thread Peter Zijlstra
On Tue, Aug 20, 2019 at 10:58:47AM -0700, Daniel Xu wrote: > Hi Peter, > > On Tue Aug 20, 2019 at 4:45 PM Peter Zijlstra wrote: > > On Fri, Aug 16, 2019 at 03:31:46PM -0700, Daniel Xu wrote: > > > It's useful to know [uk]probe's nmissed and nhit stats. For example with > > > tracing tools, it's im

Re: [PATCH] sched/fair: eliminate redundant code in sched_slice()

2019-08-21 Thread Peng Liu
On Tue, Aug 20, 2019 at 03:50:55PM +0200, Peter Zijlstra wrote: > On Fri, Aug 16, 2019 at 10:12:02PM +0800, Peng Liu wrote: > > Since sched_slice() is used in high frequency, > > small change should also make sense. > > An actual Changelog would also make sense; but alas. Thanks for your time! A

Re: [PATCH] x86/apic: Update virtual irq base for DT/OF based system as well

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Tanwar, Rahul wrote: > On 21/8/2019 4:34 PM, Thomas Gleixner wrote: > > > Secondly, this link is irrelevant. ioapic_dynirq_base has nothing to do > > with virtual IRQ number 0. It's a boundary for the dynamic allocation of > > virtual interrupt numbers so that the core allocat

Re: [PATCH 1/9] sched/core: add is_kthread() helper

2019-08-21 Thread Peter Zijlstra
On Mon, Aug 19, 2019 at 10:52:13AM +0200, Ingo Molnar wrote: > * Mark Rutland wrote: > > On Wed, Aug 14, 2019 at 01:26:43PM +0200, Geert Uytterhoeven wrote: > > > On Wed, Aug 14, 2019 at 12:43 PM Mark Rutland > > > wrote: > > > > +static inline bool is_kthread(const struct task_struct *p) > > >

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-21 Thread Mark Brown
On Tue, Aug 20, 2019 at 01:33:14PM -0500, Li Yang wrote: > Some of the RTC hardware has the capability of address wrapping which > means if you access a continuous address range across a certain > boundary(could be the boundary of a regmap region) the hardware > actually wrap the access to a lower

Re: Subject: [PATCH V7 2/3] mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue

2019-08-21 Thread Adrian Hunter
On 20/08/19 1:09 AM, Shirley Her (SC) wrote: > Move functions in preparation to fix DLL lock phase shift issue > > Signed-off-by:Shirley Her Please do not prefix the subject by "Subject: " Please put a space after Signed-off-by: > --- > change in V7: > 1. change subject to match the patch > 2

Re: Subject: [PATCH V7 1/3] mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name

2019-08-21 Thread Adrian Hunter
On 20/08/19 1:08 AM, Shirley Her (SC) wrote: > Change O2 Host PLL and DLL register name > > Signed-off-by:Shirley Her Please do not prefix the subject by "Subject: " Please put a space after Signed-off-by: > --- > change in v7: > 1. change subject > > change in V6: > 1. change subject and co

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-21 Thread Alexandre Belloni
On 21/08/2019 12:21:42+0100, Mark Brown wrote: > On Tue, Aug 20, 2019 at 01:33:14PM -0500, Li Yang wrote: > > > Some of the RTC hardware has the capability of address wrapping which > > means if you access a continuous address range across a certain > > boundary(could be the boundary of a regmap r

Re: Subject: [PATCH V7 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-21 Thread Adrian Hunter
On 20/08/19 1:11 AM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift > > Signed-off-by:Shirley Her Please do not prefix the subject by "Subject: " Please put a space after Signed-off-by: > --- > change in V7: > 1. change subject > 2. change t

Re: [PATCH] iio: adc: max9611: Fix temperature reading in probe

2019-08-21 Thread Geert Uytterhoeven
Hi Jonathan, Jacopo, On Mon, Aug 5, 2019 at 7:15 PM Jonathan Cameron wrote: > On Mon, 5 Aug 2019 17:55:15 +0200 > Jacopo Mondi wrote: > > > The max9611 driver reads the die temperature at probe time to validate > > the communication channel. Use the actual read value to perform the test > > ins

Re: linux-next: manual merge of the gpio tree with the irqchip tree

2019-08-21 Thread Linus Walleij
On Wed, Aug 21, 2019 at 10:13 AM Marc Zyngier wrote: > Linus: do you want to take this patch (daa19fe5b082) through your tree > instead in order to avoid the conflict when this hit the other Linus? > It shouldn't create any havoc... Is it completely independent from the rest? Then I will pick it

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-21 Thread Mark Brown
On Wed, Aug 21, 2019 at 01:24:13PM +0200, Alexandre Belloni wrote: > On 21/08/2019 12:21:42+0100, Mark Brown wrote: > > On Tue, Aug 20, 2019 at 01:33:14PM -0500, Li Yang wrote: > > > violation check of regmap rejects such access. According to > > > Alexcandre, the address wrapping is essential to

Re: [patch 05/44] posix-cpu-timers: Sanitize bogus WARNONS

2019-08-21 Thread Frederic Weisbecker
On Mon, Aug 19, 2019 at 04:31:46PM +0200, Thomas Gleixner wrote: > Warning when p == NULL and then proceeding and dereferencing p does not > make any sense as the kernel will crash with a NULL pointer dereference > right away. > > Bailing out when p == NULL and returning an error code does not cur

Re: [PATCH] kprobes/parisc: remove arch_kprobe_on_func_entry()

2019-08-21 Thread Sven Schnelle
On Wed, Aug 21, 2019 at 09:56:40AM +, Jisheng Zhang wrote: > The common kprobes provides a weak implementation of > arch_kprobe_on_func_entry(). The parisc version is the same as the > common version, so remove it. > > Signed-off-by: Jisheng Zhang Acked-by: Sven Schnelle > --- > arch/pari

Re: [patch 06/44] posix-cpu-timers: Remove tsk argument from run_posix_cpu_timers()

2019-08-21 Thread Frederic Weisbecker
On Mon, Aug 19, 2019 at 04:31:47PM +0200, Thomas Gleixner wrote: > It's always current. Don't give people wrong ideas. > > Signed-off-by: Thomas Gleixner Reviewed-by: Frederic Weisbecker

Re: [PATCH 2/2] drivers: input: mouse: alps: drop unneeded likely() call around IS_ERR()

2019-08-21 Thread Enrico Weigelt, metux IT consult
On 20.08.19 16:22, Pali Rohár wrote: Hi, In that case, wouldn't a comment be more suitable for that ? And why to add comment if current state of code is more-readable and does not need it? Readability is probably a bit subjective :p With ongoing efforts of automatically identifying redunda

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-08-21 Thread Tony Lindgren
* Adam Ford [190819 19:26]: > On Sat, Aug 17, 2019 at 2:03 AM Tony Lindgren wrote: > > > > * Adam Ford [190816 23:02]: > > > On Wed, Aug 14, 2019 at 8:16 AM Tony Lindgren wrote: > > > > Well I just posted some sgx interconnect target module patches. We might > > > > still have them in v5.4 assu

Re: [PATCH] media: fdp1: Fix a memory leak bug

2019-08-21 Thread Kieran Bingham
Hi Wenwen, On 18/08/2019 06:58, Wenwen Wang wrote: > In fdp1_open(), 'ctx' is allocated through kzalloc(). However, it is not > deallocated if v4l2_ctrl_new_std() fails, leading to a memory leak bug. To > fix this issue, free 'ctx' before going to the 'done' label. We could also free it up in the

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-21 Thread Alexandre Belloni
On 21/08/2019 12:30:29+0100, Mark Brown wrote: > On Wed, Aug 21, 2019 at 01:24:13PM +0200, Alexandre Belloni wrote: > > On 21/08/2019 12:21:42+0100, Mark Brown wrote: > > > On Tue, Aug 20, 2019 at 01:33:14PM -0500, Li Yang wrote: > > > > > violation check of regmap rejects such access. According

[PATCH 3/5] arm64: meson-g12: add Everything-Else power domain controller

2019-08-21 Thread Neil Armstrong
Replace the VPU-centric power domain controller by the generic system-wide Everything-Else power domain controller and setup the right power-domains properties on the VPU, Ethernet & USB nodes. Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12-common.dtsi| 92 ++---

[PATCH 1/5] dt-bindings: power: add Amlogic Everything-Else power domains bindings

2019-08-21 Thread Neil Armstrong
Add the bindings for the Amlogic Everything-Else power domains, controlling the Everything-Else peripherals power domains. The bindings targets the Amlogic G12A and SM1 compatible SoCs, support for earlier SoCs will be added later. Signed-off-by: Neil Armstrong --- .../bindings/power/amlogic,me

[PATCH 4/5] arm64: dts: meson-sm1-sei610: add HDMI display support

2019-08-21 Thread Neil Armstrong
Update compatible of the pwc-vpu node and add the HDMI support nodes for the Amlogic SM1 Based SEI610 Board. Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-sm1-sei610.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-

[PATCH 5/5] arm64: dts: meson-sm1-sei610: add USB support

2019-08-21 Thread Neil Armstrong
Add the USB properties for the Amlogic SM1 Based SEI610 Board in order to support the USB DRD Type-C port and the USB3 Type A port. The USB DRD Type-C controller uses the ID signal to toggle the USB role between the DWC3 Host controller and the DWC2 Device controller. Signed-off-by: Neil Armstron

[PATCH 2/5] soc: amlogic: Add support for Everything-Else power domains controller

2019-08-21 Thread Neil Armstrong
Add support for the General Purpose Amlogic Everything-Else Power controller, with the first support for G12A and SM1 SoCs dedicated to the VPU, PCIe, USB, NNA, GE2D and Ethernet Power Domains. Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/Kconfig | 11 + drivers/soc/amlogic/Mak

[PATCH 0/5] arm64: meson: add support for SM1 Power Domains

2019-08-21 Thread Neil Armstrong
This patchset introduces a new "Everything-Else Power Domain Controller" designed to handle all the different non-Always On peripherals like : - VPU - Ethernet Memories - USB, PCIe, Audio, NNA on SM1 The current "gx-vpu-pwrc" process has been integrated to support the VPU and the other power domai

Re: Subject: [PATCH V7 1/3] mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name

2019-08-21 Thread Ulf Hansson
On Wed, 21 Aug 2019 at 13:21, Adrian Hunter wrote: > > On 20/08/19 1:08 AM, Shirley Her (SC) wrote: > > Change O2 Host PLL and DLL register name > > > > Signed-off-by:Shirley Her > > Please do not prefix the subject by "Subject: " > Please put a space after Signed-off-by: Also, I recommend to ru

[PATCH v2 net-next] net: fec: add C45 MDIO read/write support

2019-08-21 Thread Marco Hartmann
IEEE 802.3ae clause 45 defines a modified MDIO protocol that uses a two staged access model in order to increase the address space. This patch adds support for C45 MDIO read and write accesses, which are used whenever the MII_ADDR_C45 flag in the regnum argument is set. In case it is not set, C22

Re: [PATCH net-next 1/1] fec: add C45 MDIO read/write support

2019-08-21 Thread Marco Hartmann
On 20.08.19 04:08, Andy Duan wrote: > From: Marco Hartmann Sent: Tuesday, August 20, 2019 1:11 AM >> IEEE 802.3ae clause 45 defines a modified MDIO protocol that uses a two >> staged access model in order to increase the address space. >> >> This patch adds support for C45 MDIO read and write acces

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-21 Thread Mark Brown
On Wed, Aug 21, 2019 at 01:38:56PM +0200, Alexandre Belloni wrote: > On 21/08/2019 12:30:29+0100, Mark Brown wrote: > > What's the mechanism here? It's a very strange thing to require. > The clock control is on the first register, then you have sec, min, > hour, day, mon, year. > To be able to

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