Re: [PATCH v2] net: stmmac: socfpga: re-use the `interface` parameter from platform data

2019-09-15 Thread Ardelean, Alexandru
On Sun, 2019-09-15 at 19:51 +0100, David Miller wrote: > [External] > > From: Alexandru Ardelean > Date: Thu, 12 Sep 2019 16:28:50 +0300 > > > diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c > > b/drivers/net/ethernet/stmicro/stmmac/dwmac- > > socfpga.c > > index c141fe783e87..

Build regressions/improvements in v5.3

2019-09-15 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.3[1] compared to v5.2[2]. Summarized: - build errors: +6/-1 - build warnings: +122/-131 JFYI, when comparing v5.3[1] to v5.3-rc8[3], the summaries are: - build errors: +0/-0 - build warnings: +50/-50 Happy fixing! ;-

Re: [PATCH v2 4/4] iio: imu: adis: convert cs_change_delay to spi_delay struct

2019-09-15 Thread Ardelean, Alexandru
On Sun, 2019-09-15 at 11:14 +0100, Jonathan Cameron wrote: > [External] > > On Fri, 13 Sep 2019 14:55:49 +0300 > Alexandru Ardelean wrote: > > > The ADIS library is one of the few users of the new `cs_change_delay` > > parameter for an spi_transfer. > > > > The introduction of the `spi_delay` s

Re: [PATCH 2/2] nvme: add API for getting nsid by bdev

2019-09-15 Thread kbuild test robot
Hi Robert, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190915] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Robert

Re: [RFC PATCH 0/2] Add support for SBI version to 0.2

2019-09-15 Thread h...@infradead.org
On Fri, Sep 13, 2019 at 08:54:27AM -0700, Palmer Dabbelt wrote: > On Tue, Sep 3, 2019 at 12:38 AM h...@infradead.org wrote: > > > On Fri, Aug 30, 2019 at 11:13:25PM +, Atish Patra wrote: > > > If I understood you clearly, you want to call it legacy in the spec and > > > just say v0.1 extensio

[PATCH v2] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-15 Thread KeMeng Shi
Oops occur when running qemu on arm64: Unable to handle kernel paging request at virtual address 08effe40 Internal error: Oops: 9607 [#1] SMP Process migration/0 (pid: 12, stack limit = 0x084e3736) pstate: 2085 (nzCv daIf -PAN -UAO) pc : __ll_sc___cmpxchg_case_acq_4+0x4

Re: [PATCH 2/2] dt-bindings: net: dwmac: document 'mac-mode' property

2019-09-15 Thread Ardelean, Alexandru
On Fri, 2019-09-13 at 15:36 +0100, Rob Herring wrote: > [External] > > On Fri, Sep 06, 2019 at 04:02:56PM +0300, Alexandru Ardelean wrote: > > This change documents the 'mac-mode' property that was introduced in the > > 'stmmac' driver to support passive mode converters that can sit in-between > >

Re: [PATCH v4 2/2] net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable

2019-09-15 Thread Ardelean, Alexandru
On Sun, 2019-09-15 at 08:11 -0700, Florian Fainelli wrote: > [External] > > > > On 9/14/2019 8:29 AM, Andrew Lunn wrote: > > On Thu, Sep 12, 2019 at 07:28:12PM +0300, Alexandru Ardelean wrote: > > > > > +static int adin_set_edpd(struct phy_device *phydev, u16 tx_interval) > > > +{ > > > + u16 v

[PATCH v2 2/2] powerpc/83xx: map IMMR with a BAT.

2019-09-15 Thread Christophe Leroy
On mpc83xx with a QE, IMMR is 2Mbytes and aligned on 2Mbytes boundarie. On mpc83xx without a QE, IMMR is 1Mbyte and 1Mbyte aligned. Each driver will map a part of it to access the registers it needs. Some drivers will map the same part of IMMR as other drivers. In order to reduce TLB misses, map

[PATCH v2 1/2] powerpc/32s: automatically allocate BAT in setbat()

2019-09-15 Thread Christophe Leroy
If no BAT is given to setbat(), select an available BAT. Signed-off-by: Christophe Leroy --- v2: no change --- arch/powerpc/mm/book3s32/mmu.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s32/mmu.c b/arch/powerpc/mm/book3s32/mmu.c index 84d

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-15 Thread Christoph Hellwig
On Fri, Sep 13, 2019 at 01:40:27PM -0700, Palmer Dabbelt wrote: > OpenEmbedded passes "earlycon=sbi", which I can find in the doumentation. > I can't find anything about just "earlycon". I've sent a patch adding sbi > to the list of earlycon arguments. earlycon without arguments is documented,

Re: [PATCH] mm/hotplug: Reorder memblock_[free|remove]() calls in try_remove_memory()

2019-09-15 Thread Mike Rapoport
On Mon, Sep 16, 2019 at 11:17:37AM +0530, Anshuman Khandual wrote: > In add_memory_resource() the memory range to be hot added first gets into > the memblock via memblock_add() before arch_add_memory() is called on it. > Reverse sequence should be followed during memory hot removal which already >

Re: [PATCH 1/2] nvme: add API for sending admin commands by bdev

2019-09-15 Thread kbuild test robot
Hi Robert, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190915] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH] media: v4l: cadence: Fix how unsued lanes are handled in 'csi2rx_start()'

2019-09-15 Thread Dan Carpenter
On Fri, Sep 13, 2019 at 09:57:09AM +0200, Maxime Ripard wrote: > Hi Christophe, > > On Thu, Sep 12, 2019 at 10:44:50PM +0200, Christophe JAILLET wrote: > > The 2nd parameter of 'find_first_zero_bit()' is a number of bits, not of > > bytes. So use 'BITS_PER_LONG' instead of 'sizeof(lanes_used)'. >

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 10:02:02PM -0700, Linus Torvalds wrote: > On Sun, Sep 15, 2019 at 9:30 PM Willy Tarreau wrote: > > > > I'd be in favor of adding in the man page something like "this > > random source is only suitable for applications which will not be > > harmed by getting a predictable va

[PATCH v2 2/2] mm: Add a bounds check in devm_memremap_pages()

2019-09-15 Thread Alastair D'Silva
From: Alastair D'Silva The call to check_hotplug_memory_addressable() validates that the memory is fully addressable. Without this call, it is possible that we may remap pages that is not physically addressable, resulting in bogus section numbers being returned from __section_nr(). Signed-off-b

[PATCH v5] gpio/mpc8xxx: change irq handler from chained to normal

2019-09-15 Thread Hui Song
From: Song Hui More than one gpio controllers can share one interrupt, change the driver to request shared irq. Signed-off-by: Laurentiu Tudor Signed-off-by: Alex Marginean Signed-off-by: Song Hui --- Changes in v5: - add traverse every bit function. Changes in v4: - convert '

[PATCH v2 1/2] memory_hotplug: Add a bounds check to check_hotplug_memory_range()

2019-09-15 Thread Alastair D'Silva
From: Alastair D'Silva On PowerPC, the address ranges allocated to OpenCAPI LPC memory are allocated from firmware. These address ranges may be higher than what older kernels permit, as we increased the maximum permissable address in commit 4ffe713b7587 ("powerpc/mm: Increase the max addressable

Re: [PATCH 4.9 00/14] 4.9.193-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Sun, Sep 15, 2019 at 09:09:24AM -0700, Guenter Roeck wrote: > On 9/15/19 5:58 AM, Greg Kroah-Hartman wrote: > > On Sat, Sep 14, 2019 at 05:49:32PM -0700, Guenter Roeck wrote: > > > Hi Greg, > > > > > > On 9/14/19 1:31 AM, Greg Kroah-Hartman wrote: > > > > On Sat, Sep 14, 2019 at 01:28:39AM -070

[PATCH v2 0/2] Add bounds check for Hotplugged memory

2019-09-15 Thread Alastair D'Silva
From: Alastair D'Silva This series adds bounds checks for hotplugged memory, ensuring that it is within the physically addressable range (for platforms that define MAX_(POSSIBLE_)PHYSMEM_BITS. This allows for early failure, rather than attempting to access bogus section numbers. Changelog: V2:

Re: [PATCH 2/3] wlegacy: Remove unneeded variable and make function to be void

2019-09-15 Thread zhong jiang
On 2019/9/13 1:45, Kalle Valo wrote: > zhong jiang writes: > >> il4965_set_tkip_dynamic_key_info do not need return value to >> cope with different ases. And change functon return type to void. >> >> Signed-off-by: zhong jiang >> --- >> drivers/net/wireless/intel/iwlegacy/4965-mac.c | 8 ++-

Re: [PATCH v4] tpm_crb: fix fTPM on AMD Zen+ CPUs

2019-09-15 Thread Jarkko Sakkinen
On Sat, Sep 14, 2019 at 08:17:44PM +0300, ivan.laz...@gmail.com wrote: > + struct list_head acpi_resources, crb_resources; Please do not create crb_resources. I said this already last time. /Jarkko

[PATCH] mm/hotplug: Reorder memblock_[free|remove]() calls in try_remove_memory()

2019-09-15 Thread Anshuman Khandual
In add_memory_resource() the memory range to be hot added first gets into the memblock via memblock_add() before arch_add_memory() is called on it. Reverse sequence should be followed during memory hot removal which already is being followed in add_memory_resource() error path. This now ensures req

Re: [PATCH v3 3/7] usb: mtu3: support ip-sleep wakeup for MT8183

2019-09-15 Thread Chunfeng Yun
On Wed, 2019-09-11 at 11:44 -0700, Guenter Roeck wrote: > On Fri, Aug 30, 2019 at 03:40:50PM +0800, Chunfeng Yun wrote: > > Support USB wakeup by ip-sleep mode for MT8183, it's similar to > > MT8173 > > > > Signed-off-by: Chunfeng Yun > > --- > > v3: changes micros define > > > > v2: no changes

Re: [PATCH v2] Fix fTPM on AMD Zen+ CPUs

2019-09-15 Thread Seunghun Han
> > On Fri, Sep 13, 2019 at 03:00:06PM +0100, Jarkko Sakkinen wrote: > > On Wed, Sep 11, 2019 at 02:17:48PM +0900, Seunghun Han wrote: > > > Vanya, > > > I also made a patch series to solve AMD's fTPM. My patch link is here, > > > https://lkml.org/lkml/2019/9/9/132 . > > > > > > The maintainer, Jar

Re: [PATCH v4] tpm_crb: fix fTPM on AMD Zen+ CPUs

2019-09-15 Thread Jarkko Sakkinen
On Sat, Sep 14, 2019 at 08:17:44PM +0300, ivan.laz...@gmail.com wrote: > From: Ivan Lazeev > > Bug link: https://bugzilla.kernel.org/show_bug.cgi?id=195657 > > cmd/rsp buffers are expected to be in the same ACPI region. > For Zen+ CPUs BIOS's might report two different regions, some of > them al

Re: [PATCH v22 00/24] Intel SGX foundations

2019-09-15 Thread Jarkko Sakkinen
On Sat, Sep 14, 2019 at 08:32:38AM -0700, Dave Hansen wrote: > On 9/14/19 6:41 AM, Jarkko Sakkinen wrote: > > > > The proposed LSM hooks give the granularity to make yes/no decision > > based on the > > > > * The origin of the source of the source for the enclave. > > * The requested permissions

Re: [PATCH] i2c: at91: Send bus clear command if SCL or SDA is down

2019-09-15 Thread Claudiu.Beznea
On 11.09.2019 12:58, Codrin Ciubotariu wrote: > External E-Mail > > > After a transfer timeout, some faulty I2C slave devices might hold down > the SCL or the SDA pins. We can generate a bus clear command, hoping that > the slave might release the pins. > > Signed-off-by: Codrin Ciubotariu R

Re: Documentation for plain accesses and data races

2019-09-15 Thread Boqun Feng
Hi Alan, I spend some time reading this, really helpful! Thanks. Please see comments below: On Fri, Sep 06, 2019 at 02:11:29PM -0400, Alan Stern wrote: [...] > If two memory accesses aren't concurrent then one must execute before > the other. Therefore the LKMM decides two accesses aren't concu

Re: Linux 5.3

2019-09-15 Thread Bhaskar Chowdhury
On 15:00 Sun 15 Sep 2019, Linus Torvalds wrote: So we've had a fairly quiet last week, but I think it was good that we ended up having that extra week and the final rc8. Even if the reason for that extra week was my travel schedule rather than any pending issues, we ended up having a few good fi

Re: linux-next: no release today

2019-09-15 Thread Stephen Rothwell
On 16 September 2019 2:37:27 am GMT+01:00, Mark Brown wrote: >On Thu, Sep 05, 2019 at 04:02:37PM +1000, Stephen Rothwell wrote: > >> As I said yesterday, there will be no release today, or any day until >> September 30. > >I'm going to try to provide some builds for this week (16th-20th). >There

Re: Linux 5.3-rc8

2019-09-15 Thread Linus Torvalds
On Sun, Sep 15, 2019 at 9:30 PM Willy Tarreau wrote: > > I'd be in favor of adding in the man page something like "this > random source is only suitable for applications which will not be > harmed by getting a predictable value on output, and as such it is > not suitable for generation of system k

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 09:21:06PM -0700, Linus Torvalds wrote: > The timer interrupt could be somewhat interesting if you are also > CPU-bound on a non-trivial load, because then "what program counter > got interrupted" ends up being possibly unpredictable - even with a > very stable timer interru

[RFC PATCH] mm, slab_common: all_kmalloc_info[] can be static

2019-09-15 Thread kbuild test robot
Fixes: 95f3b3d20e9b ("mm, slab_common: Make kmalloc_caches[] start at size KMALLOC_MIN_SIZE") Signed-off-by: kbuild test robot --- slab_common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slab_common.c b/mm/slab_common.c index 2aed30deb0714..bf1cf4ba35f86 100644

Re: [RESEND v4 5/7] mm, slab_common: Make kmalloc_caches[] start at size KMALLOC_MIN_SIZE

2019-09-15 Thread kbuild test robot
Hi Pengfei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190915] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

[GIT PULL] fscrypt updates for 5.4

2019-09-15 Thread Eric Biggers
The following changes since commit e21a712a9685488f5ce80495b37b9fdbe96c230d: Linux 5.3-rc3 (2019-08-04 18:40:12 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fscrypt-for-linus for you to fetch changes up to 0642ea2409f3bfa105570e1285

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
Hi Ted, On Sun, Sep 15, 2019 at 10:49:04PM -0400, Theodore Y. Ts'o wrote: > No matter *what* we do, it's going to either (a) make some > systems insecure, or (b) make some systems more likely hang while > booting. I continue to strongly disagree with opposing these two. (b) is caused precisely be

Re: printk meeting at LPC

2019-09-15 Thread Tetsuo Handa
On 2019/09/13 22:26, John Ogness wrote: > 6. A new may-sleep function pr_flush() will be made available to wait > for all previously printk'd messages to be output on all consoles before > proceeding. For example: > > pr_cont("Running test ABC... "); > pr_flush(); > > do_test(); > >

Re: Linux 5.3-rc8

2019-09-15 Thread Linus Torvalds
On Sun, Sep 15, 2019 at 8:52 PM Herbert Xu wrote: > > Can we perhaps artifically increase the interrupt rate while the > CRNG is not initialised? Long term (or even medium term in some areas), the problem really is that device interrupts during boot really are going away, rather than becoming mor

Re: [PATCH v3 1/2] KVM: LAPIC: Tune lapic_timer_advance_ns smoothly

2019-09-15 Thread Wanpeng Li
On Thu, 12 Sep 2019 at 20:37, Paolo Bonzini wrote: > > On 12/09/19 02:34, Wanpeng Li wrote: > >>> -timer_advance_ns -= min((u32)ns, > >>> -timer_advance_ns / LAPIC_TIMER_ADVANCE_ADJUST_STEP); > >>> +timer_advance_ns -= ns; > > Looking more closely, this assignment... >

[GIT PULL] GPIO bulk changes for the v5.4 kernel

2019-09-15 Thread Linus Walleij
Hi Linus, the following is the bulk of GPIO changes for v5.4. The main information chunk about the updates is in the signed tag as always. This cycle has been pretty lively. You will notice that I merged in v5.3-rc7 at a late point. This was because the conflicts were really hairy between the -rc

Re: Linux 5.3-rc8

2019-09-15 Thread Linus Torvalds
On Sun, Sep 15, 2019 at 8:40 PM Linus Torvalds wrote: > > If you want secure keys, you can't rely on a blocking model, because > it ends up not working. Blocking leads to problems. Side note: I'd argue that (despite my earlier mis-understanding) the only really valid use of "block until there is

Re: Linux 5.3-rc8

2019-09-15 Thread Herbert Xu
Theodore Y. Ts'o wrote: > > Ultimately, though, we need to find *some* way to fix userspace's > assumptions that they can always get high quality entropy in early > boot, or we need to get over people's distrust of Intel and RDRAND. > Otherwise, future performance improvements in any part of the s

[PATCH 1/1] xen-netfront: do not assume sk_buff_head list is empty in error handling

2019-09-15 Thread Dongli Zhang
When skb_shinfo(skb) is not able to cache extra fragment (that is, skb_shinfo(skb)->nr_frags >= MAX_SKB_FRAGS), xennet_fill_frags() assumes the sk_buff_head list is already empty. As a result, cons is increased only by 1 and returns to error handling path in xennet_poll(). However, if the sk_buff_

Re: Linux 5.3-rc8

2019-09-15 Thread Linus Torvalds
On Sun, Sep 15, 2019 at 8:23 PM Theodore Y. Ts'o wrote: > > But not blocking is *precisely* what lead us to weak keys in network > devices that were sold by the millions to users in their printers, > wifi routers, etc. Ted, just admit that you are wrong on this, instead of writing the above kind

Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-09-15 Thread Dmitry Torokhov
On Sun, Sep 15, 2019 at 8:26 PM Nicolas Boichat wrote: > > On Sat, Sep 14, 2019 at 6:03 AM Dmitry Torokhov wrote: > > > > The USB interface may get detected before the platform/EC one, so let's > > note the state of the base (if we receive event) and use it to correctly > > initialize the tablet

Re: Linux 5.3-rc8

2019-09-15 Thread Linus Torvalds
On Sun, Sep 15, 2019 at 6:41 PM Ahmed S. Darwish wrote: > > Yes, the systemd-random-seed(8) process blocks, but this is an > isolated process, and it's only there as a synchronization point and > to load/restore random seeds from disk across reboots. > > What blocked the system boot was GDM/gnome-

Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-09-15 Thread Nicolas Boichat
On Sat, Sep 14, 2019 at 6:03 AM Dmitry Torokhov wrote: > > The USB interface may get detected before the platform/EC one, so let's > note the state of the base (if we receive event) and use it to correctly > initialize the tablet mode switch state. > > Also let's start the HID interface immediatel

RE: [PATCH v2 1/6] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-09-15 Thread Alastair D'Silva
On Sat, 2019-09-14 at 09:46 +0200, Christophe Leroy wrote: > > Le 03/09/2019 à 07:23, Alastair D'Silva a écrit : > > From: Alastair D'Silva > > > > When calling flush_icache_range with a size >4GB, we were masking > > off the upper 32 bits, so we would incorrectly flush a range > > smaller > > t

Re: Linux 5.3-rc8

2019-09-15 Thread Theodore Y. Ts'o
On Sun, Sep 15, 2019 at 10:02:18AM -0700, Linus Torvalds wrote: > But on a PC, we can _almost_ guarantee entropy. Even with a golden > image, we do mix in: > > - timestamp counter on every device interrupt (but "device interrupt" > doesn't include things like the local CPU timer, so it really nee

Re: [RESEND v4 5/7] mm, slab_common: Make kmalloc_caches[] start at size KMALLOC_MIN_SIZE

2019-09-15 Thread kbuild test robot
Hi Pengfei, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190904] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Pengfe

linux-next: Tree for Sep 15

2019-09-15 Thread Mark Brown
Hi all, Non-merge commits (relative to Linus' tree): 11835 11503 files changed, 777542 insertions(+), 373473 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/lin

Re: [PATCH v3 2/2] dwc: PCI: intel: Intel PCIe RC controller driver

2019-09-15 Thread Dilip Kota
On 9/13/2019 6:12 PM, andriy.shevche...@intel.com wrote: On Fri, Sep 13, 2019 at 05:20:26PM +0800, Dilip Kota wrote: On 9/12/2019 6:49 PM, Gustavo Pimentel wrote: On Thu, Sep 12, 2019 at 10:23:31, Dilip Kota wrote: Hi, I just return from parental leave, therefore I still trying to get the pa

Re: pci: endpoint test BUG

2019-09-15 Thread Randy Dunlap
On 9/15/19 7:06 PM, Hillf Danton wrote: > > On Sun, 15 Sep 2019 09:34:37 -0700 >> >> Kernel is 5.3-rc8 on x86_64. >> >> Loading and removing the pci-epf-test module causes a BUG. >> >> >> [40928.435755] calling pci_epf_test_init+0x0/0x1000 [pci_epf_test] @ 12132 >> [40928.436717] initcall pci_epf

RE: [PATCH 1/2] ARM: dts: imx7d: Correct speed grading fuse settings

2019-09-15 Thread Anson Huang
Hi, Leonard > On 2019-09-12 5:57 AM, Anson Huang wrote: > > The 800MHz opp speed grading fuse mask should be 0xd instead of 0xf > > according to fuse map definition: > > > > SPEED_GRADING[1:0] MHz > > 00 800 > > 01 500 > > 10 1000 > > 11

[PATCH V4 3/5] arm64: dts: imx8qxp: Add scu key node

2019-09-15 Thread Anson Huang
Add scu key node for i.MX8QXP, disabled by default as it depends on board design. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts

[PATCH V4 1/5] dt-bindings: fsl: scu: add scu key binding

2019-09-15 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and scu key event etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key event, add binding doc for i.M

[PATCH V4 4/5] arm64: dts: imx8qxp-mek: Enable scu key

2019-09-15 Thread Anson Huang
Enable scu key for i.MX8QXP MEK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 1946805

[PATCH V4 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-09-15 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and scu key etc.. Adds i.MX system controller key driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key'

[PATCH V4 5/5] arm64: defconfig: Enable CONFIG_KEYBOARD_IMX_SC_KEY as module

2019-09-15 Thread Anson Huang
Select CONFIG_KEYBOARD_IMX_SC_KEY as module by default to support i.MX8QXP scu key driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0a70e10..9c

Re: [PATCH] quota: fix wrong condition in is_quota_modification()

2019-09-15 Thread Chao Yu
On 2019/9/12 18:06, Jan Kara wrote: > On Wed 11-09-19 17:36:50, Chao Yu wrote: >> Quoted from >> commit 3da40c7b0898 ("ext4: only call ext4_truncate when size <= isize") >> >> " At LSF we decided that if we truncate up from isize we shouldn't trim >> fallocated blocks that were fallocated with KE

Re: Linux 5.3-rc8

2019-09-15 Thread Theodore Y. Ts'o
On Sun, Sep 15, 2019 at 06:48:34PM -0700, Vito Caputo wrote: > > A small note here, especially after I've just read the commit log of > > 72dbcf721566 ('Revert ext4: "make __ext4_get_inode_loc plug"'), which > > unfairly blames systemd there. ... > > What blocked the system boot was GDM/gnome-s

Re: [PATCH RFC v2] random: optionally block in getrandom(2) when the CRNG is uninitialized

2019-09-15 Thread Ahmed S. Darwish
On Sun, Sep 15, 2019 at 11:59:41AM -0700, Linus Torvalds wrote: > On Sun, Sep 15, 2019 at 11:32 AM Willy Tarreau wrote: > > > > I think that the exponential decay will either not be used or > > be totally used, so in practice you'll always end up with 0 or > > 30s depending on the entropy situatio

linux-next: manual merge of the akpm-current tree with the dma-mapping tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm/include/asm/xen/page-coherent.h between commits: bef4d2037d2143a ("xen/arm: consolidate page-coherent.h") 60d8cd572f655aa ("arm64/xen: fix xen-swiotlb cache flushing") from the dma-mapping tree and comm

RE: [PATCH V3 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-09-15 Thread Anson Huang
Hi, Dmitry > On Tue, Sep 03, 2019 at 05:36:37PM -0400, Anson Huang wrote: > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > > inside, the system controller is in charge of controlling power, clock > > and scu key etc.. > > > > Adds i.MX system controller key driver support, Li

Re: [PATCH] net/ncsi: Disable global multicast filter

2019-09-15 Thread Samuel Mendoza-Jonas
On Thu, 2019-09-12 at 12:04 -0700, Vijay Khemka wrote: > Disabling multicast filtering from NCSI if it is supported. As it > should not filter any multicast packets. In current code, multicast > filter is enabled and with an exception of optional field supported > by device are disabled filtering.

Re: [refcount] 26d2e0d5df: WARNING:at_lib/refcount.c:#refcount_warn_saturate

2019-09-15 Thread Joseph Qi
On 19/9/12 18:56, Will Deacon wrote: > [Adding the ocfs2 maintainers and mailing list] > > On Mon, Sep 09, 2019 at 09:52:26AM +0800, kernel test robot wrote: >> FYI, we noticed the following commit (built with gcc-7): >> >> commit: 26d2e0d5df5b9aab517d8327743e66fcb38e8136 ("refcount: Consolidat

[PATCH 4/6] PCI: mobiveil: Add workaround for unsupported request error

2019-09-15 Thread Xiaowei Bao
Errata: unsupported request error on inbound posted write transaction, PCIe controller reports advisory error instead of uncorrectable error message to RC. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/mobiveil/pcie-layerscape-gen4-ep.c | 13 + drivers/pci/controller/mobiveil

[PATCH 6/6] misc: pci_endpoint_test: Add the layerscape PCIe GEN4 EP device support

2019-09-15 Thread Xiaowei Bao
Add the layerscape PCIE GEN4 EP device support in pci_endpoint_test driver. Signed-off-by: Xiaowei Bao --- drivers/misc/pci_endpoint_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 6e208a0..8b145a7 100644 ---

[PATCH 2/6] dt-bindings: Add DT binding for PCIE GEN4 EP of the layerscape

2019-09-15 Thread Xiaowei Bao
Add the documentation for the Device Tree binding of the layerscape PCIe GEN4 controller with EP mode. Signed-off-by: Xiaowei Bao --- .../bindings/pci/layerscape-pcie-gen4.txt | 28 +- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Documentation/device

[PATCH 5/6] arm64: dts: lx2160a: Add PCIe EP node

2019-09-15 Thread Xiaowei Bao
Add the LX2160A PCIe EP node. Signed-off-by: Xiaowei Bao --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 56 ++ 1 file changed, 56 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index f60e5

[PATCH 1/6] PCI: mobiveil: Add the EP driver support

2019-09-15 Thread Xiaowei Bao
Add the EP driver support for Mobiveil base on endpoint framework. Signed-off-by: Xiaowei Bao --- MAINTAINERS| 1 + drivers/pci/controller/mobiveil/Kconfig| 5 + drivers/pci/controller/mobiveil/Makefile | 1 + drivers/pci/contro

[PATCH 0/6] Add the Mobiveil EP and Layerscape Gen4 EP driver support

2019-09-15 Thread Xiaowei Bao
This patch set are for adding Mobiveil EP driver and adding PCIe Gen4 EP driver of NXP Layerscape platform. This patch set depends on: https://patchwork.kernel.org/project/linux-pci/list/?series=159139 Xiaowei Bao (6): PCI: mobiveil: Add the EP driver support dt-bindings: Add DT binding for P

[PATCH 3/6] PCI: mobiveil: Add PCIe Gen4 EP driver for NXP Layerscape SoCs

2019-09-15 Thread Xiaowei Bao
This PCIe controller is based on the Mobiveil GPEX IP, it work in EP mode if select this config opteration. Signed-off-by: Xiaowei Bao --- MAINTAINERS| 2 + drivers/pci/controller/mobiveil/Kconfig| 17 ++- drivers/pci/controller/mobiveil/Mak

Re: [PATCH v2 02/19] MIPS: Loongson64: separate loongson2ef/loongson64 code

2019-09-15 Thread Huacai Chen
On Tue, Sep 10, 2019 at 6:26 PM Paul Burton wrote: > > Hi Jiaxun & Huacai, > > On Thu, Sep 05, 2019 at 10:42:59PM +0800, Jiaxun Yang wrote: > > As later model of GSx64 family processors including 2-series-soc have > > similar design with initial loongson3a while loongson2e/f seems less > > identic

Re: Linux 5.3-rc8

2019-09-15 Thread Vito Caputo
On Mon, Sep 16, 2019 at 03:40:50AM +0200, Ahmed S. Darwish wrote: > On Sun, Sep 15, 2019 at 09:29:55AM -0700, Linus Torvalds wrote: > > On Sat, Sep 14, 2019 at 11:51 PM Lennart Poettering > > wrote: > > > > > > Oh man. Just spend 5min to understand the situation, before claiming > > > this was gar

Re: [RESEND v4 5/7] mm, slab_common: Make kmalloc_caches[] start at size KMALLOC_MIN_SIZE

2019-09-15 Thread kbuild test robot
Hi Pengfei, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190904] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Pengfe

linux-next: manual merge of the kselftest tree with the tpmdd tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the kselftest tree got a conflict in: tools/testing/selftests/tpm2/Makefile between commit: 3fb2179b0f3553a ("selftests/tpm2: Add the missing TEST_FILES assignment") from the tpmdd tree and commit: d04e26067d13f01 ("selftests: tpm2: install python fil

Re: [PATCH V7 1/3] mm/hotplug: Reorder memblock_[free|remove]() calls in try_remove_memory()

2019-09-15 Thread Balbir Singh
On 3/9/19 7:45 pm, Anshuman Khandual wrote: > Memory hot remove uses get_nid_for_pfn() while tearing down linked sysfs I could not find this path in the code, the only called for get_nid_for_pfn() was register_mem_sect_under_node() when the system is under boot. > entries between memory block

Re: Linux 5.3-rc8

2019-09-15 Thread Ahmed S. Darwish
On Sun, Sep 15, 2019 at 09:29:55AM -0700, Linus Torvalds wrote: > On Sat, Sep 14, 2019 at 11:51 PM Lennart Poettering > wrote: > > > > Oh man. Just spend 5min to understand the situation, before claiming > > this was garbage or that was garbage. The code above does not block > > boot. > > Yes it

Re: linux-next: no release today

2019-09-15 Thread Mark Brown
On Thu, Sep 05, 2019 at 04:02:37PM +1000, Stephen Rothwell wrote: > As I said yesterday, there will be no release today, or any day until > September 30. I'm going to try to provide some builds for this week (16th-20th). There may also be a build for the 15th depending on how much rebuilding the

[PATCH v4] tas2770: Add tas2770 smart PA kernel driver

2019-09-15 Thread shifu0704
From: Frank Shi Add tas2770 smart PA kernel driver Signed-off-by: Frank Shi --- sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/tas2770.c | 932 + sound/soc/codecs/tas2770.h | 166 4 files changed, 11

[PATCH v4] dt-bindings: ASoC: Add tas2770 smart PA dt bindings

2019-09-15 Thread shifu0704
From: Frank Shi Add tas2770 smart PA dt bindings Signed-off-by: Frank Shi --- .../devicetree/bindings/sound/tas2770.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tas2770.txt diff --git a/Documentation/dev

Re: [PATCH v8 0/3] KVM: x86: Enable user wait instructions

2019-09-15 Thread Tao Xu
On 7/20/2019 1:18 AM, Paolo Bonzini wrote: On 19/07/19 08:31, Tao Xu wrote: Ping for comments :) Hi, I'll look at it for 5.4, right after the merge window. Paolo Hi paolo, Linux 5.3 has released, could you review these patches. Thank you very much! Tao On 7/16/2019 2:55 PM, Tao Xu wrote:

linux-next: manual merge of the char-misc tree with the vfs tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/android/binderfs.c between commit: e7d8840d4b626 ("vfs: Convert binderfs to use the new mount API") from the vfs tree and commit: f00834518ed31 ("binder: add a mount option to show global stats") from the

Re: [PATCH] ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps

2019-09-15 Thread Zhihao Cheng
在 2019/9/16 6:00, Richard Weinberger 写道: > On Fri, Aug 16, 2019 at 10:01 AM chengzhihao wrote: >> >>> ubifs_assert(c, p < c->gap_lebs + c->lst.idx_lebs); >> >> I've done 50 problem reproduces on different flash devices and made sure >> that the assertion was not triggered. See record.txt for

Re: [PATCH v4 1/5] media: vimc: Collapse component structure into a single monolithic driver

2019-09-15 Thread Shuah Khan
On 9/15/19 1:25 PM, Helen Koike wrote: Hi Shuah, Thanks for the patch. On 9/6/19 11:42 PM, Shuah Khan wrote: vimc uses Component API to split the driver into functional components. The real hardware resembles a monolith structure than component and component structure added a level of complexi

linux-next: manual merge of the tip tree with the FIXME tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/ia64/Kconfig between commits: fc5bad03709f9 ("ia64: remove the hpsim platform") cf07cb1ff4ea0 ("ia64: remove support for the SGI SN2 platform") from the ia64 tree and commit: a2cbfd46559e8 ("arch, ia64: Make NUMA

Re: [PATCH v4 3/5] vimc: move duplicated IS_SRC and IS_SINK to common header

2019-09-15 Thread Shuah Khan
On 9/15/19 1:25 PM, Helen Koike wrote: Hi Shuah, On 9/6/19 11:42 PM, Shuah Khan wrote: Move duplicated IS_SRC and IS_SINK dfines to common header. Rename them to VIMC_IS_SRC and VIM_IS_SINK. Signed-off-by: Shuah Khan --- drivers/media/platform/vimc/vimc-common.h | 4 drivers/media/p

Re: [PATCH] irqchip/sifive-plic: add irq_mask and irq_unmask

2019-09-15 Thread Palmer Dabbelt
On Sun, 15 Sep 2019 11:20:40 PDT (-0700), m...@kernel.org wrote: On Sun, 15 Sep 2019 18:31:33 +0100, Palmer Dabbelt wrote: Hi Palmer, On Sun, 15 Sep 2019 07:24:20 PDT (-0700), m...@kernel.org wrote: > On Thu, 12 Sep 2019 22:40:34 +0100, > Darius Rad wrote: > > Hi Darius, > >> >> As per the

[GIT PULL] SPI updates for v5.4

2019-09-15 Thread Mark Brown
The following changes since commit f74c2bb98776e2de508f4d607cd519873065118e: Linux 5.3-rc8 (2019-09-08 13:33:15 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v5.4 for you to fetch changes up to b769c5ba8aedc395ed04abe

Re: Documentation for plain accesses and data races

2019-09-15 Thread Paul E. McKenney
On Fri, Sep 13, 2019 at 03:13:26PM -0400, Alan Stern wrote: > On Thu, 12 Sep 2019, Paul E. McKenney wrote: > > > On Fri, Sep 06, 2019 at 02:11:29PM -0400, Alan Stern wrote: > > > > To this end, the LKMM imposes three extra restrictions, together > > > called the "plain-coherence" axiom because of

[GIT PULL] regulator updates for v5.4

2019-09-15 Thread Mark Brown
The following changes since commit f74c2bb98776e2de508f4d607cd519873065118e: Linux 5.3-rc8 (2019-09-08 13:33:15 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v5.4 for you to fetch changes up to c4ad85026d

Re: [PATCH] rtc: wilco-ec: Sanitize values received from RTC

2019-09-15 Thread Nick Crews
Hi Alexandre, thanks for the thoughts. On Thu, Sep 12, 2019 at 9:09 AM Alexandre Belloni wrote: > > Hi Nick, > > On 10/09/2019 16:19:29+0100, Nick Crews wrote: > > Check that the time received from the RTC HW is valid, > > otherwise the computation of rtc_year_days() in the next > > line could, a

linux-next: manual merge of the block tree with the dma-mapping tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the block tree got a conflict in: block/blk-settings.c include/linux/blkdev.h between commit: 45147fb522bb459e7 ("block: add a helper function to merge the segments") from the dma-mapping tree and commit: 68c43f133a754cbf5 ("block: Introduce elevato

[GIT PULL] regmap updates for v5.4

2019-09-15 Thread Mark Brown
The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-v5.4 for you to fetch changes up to 1bd4584626a97156

linux-next: manual merge of the modules tree with the compiler-attributes tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the modules tree got a conflict in: include/linux/export.h between at least commit: 69a94abb82eed ("export.h, genksyms: do not make genksyms calculate CRC of trimmed symbols") from the compiler-attributes tree and commit: cb9b55d21fe06 ("module: add

Re: [RESEND PATCH] ARM: module: Drop 'rel->r_offset < 0' statement

2019-09-15 Thread Austin Kim
Hello, Maintainer(Russell King)... Would you please update the feedback for this patch? 2019년 9월 11일 (수) 오후 11:16, Austin Kim 님이 작성: > > Since rel->r_offset is declared as Elf32_Addr, > this value is always non-negative. > typedef struct elf32_rel { > Elf32_Addrr_offset; > Elf32_Word r_in

[GIT PULL] hwmon updates for v5.4

2019-09-15 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux v5.4 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-v5.4 Thanks, Guenter -- The following changes since commit a55aa89aab90fae7c815b0551b07be37db359d76: Linux 5.3-rc6 (2019-08-25 12:01:2

linux-next: manual merge of the modules tree with the kbuild tree

2019-09-15 Thread Mark Brown
Hi all, Today's linux-next merge of the modules tree got a conflict in: scripts/Makefile.modpost between commit: 9b9a3f20cbe0ba ("kbuild: split final module linking out into Makefile.modfinal") from the kbuild tree and commit: eb8305aecb958e ("cripts: Coccinelle script for namespace de

  1   2   3   >