[tip:timers/core] timekeeping: Boot should be boottime for coarse ns accessor

2019-06-24 Thread tip-bot for Jason A. Donenfeld
Commit-ID: d48e0cd8fcaf314175a15d3076d7a1e71bd4e628 Gitweb: https://git.kernel.org/tip/d48e0cd8fcaf314175a15d3076d7a1e71bd4e628 Author: Jason A. Donenfeld AuthorDate: Mon, 24 Jun 2019 11:15:39 +0200 Committer: Thomas Gleixner CommitDate: Tue, 25 Jun 2019 08:54:51 +0200 timekeeping: Boo

Re: linux-next: build failure after merge of the tip tree

2019-06-24 Thread Thomas Gleixner
On Tue, 25 Jun 2019, Stephen Rothwell wrote: > Hi Kalle, > > On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo wrote: > > > > Thanks for the report. Any suggestions how to handle this? Or do we let > > Linus take care of this? > > Just let Linus take care of it ... mention it in the pull request ..

[PATCH v2] fixdep: check return value of printf() and putchar()

2019-06-24 Thread Masahiro Yamada
When there is not enough space on your storage device, the build will fail with 'No space left on device' error message. The reason is obvious from the message, so you will free up some disk space, then you will resume the build. However, sometimes you may still see a mysterious error message:

Re: linux-next: build failure after merge of the tip tree

2019-06-24 Thread Kalle Valo
Stephen Rothwell writes: > On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo wrote: >> >> Thanks for the report. Any suggestions how to handle this? Or do we let >> Linus take care of this? > > Just let Linus take care of it ... mention it in the pull request ... Thanks, I'll do that. > I guess Da

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-24 Thread Sergey Senozhatsky
On (06/19/19 00:12), John Ogness wrote: > On 2019-06-18, Sergey Senozhatsky wrote: > >> + struct prb_reserved_entry e; > >> + char *s; > >> + > >> + s = prb_reserve(&e, &rb, 32); > >> + if (s) { > >> + sprintf(s, "Hello, world!"); > >> + prb_commit(&e); > >> + } > > > > A ni

Re: [PATCH] dt-bindings: mfd: Add link to ROHM BD71847 Datasheet

2019-06-24 Thread Lee Jones
On Thu, 13 Jun 2019, Matti Vaittinen wrote: > ROHM BD71847 PMIC datasheet was published. > Add datasheet link for BD71847 as well. > > Signed-off-by: Matti Vaittinen > --- > Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks.

[PATCH net-next] net: ipvlan: forward ingress packet to slave's l2 in l3s mode

2019-06-24 Thread Zhiyuan Hou
In ipvlan l3s mode, ingress packet is switched to slave interface and delivers to l4 stack. This may cause two problems: 1. When slave is in an ns different from master, the behavior of stack in slave ns may cause confusion for users. For example, iptables, tc, and other l2/l3 functions are

[PATCH] [PATCH v1] ARM: dts: aspeed: Adding Lenovo Hr855xg2 BMC

2019-06-24 Thread Andrew Peng
Initial introduction of Lenovo Hr855xg2 family equipped with Aspeed 2500 BMC SoC. Hr855xg2 is a x86 server development kit with a ASPEED ast2500 BMC manufactured by Lenovo. Specifically, This adds the Hr855xg2 platform device tree file used by the Hr855xg2 BMC machines. This also adds an entry of

Re: linux-next: build failure after merge of the tip tree

2019-06-24 Thread Stephen Rothwell
Hi Kalle, On Tue, 25 Jun 2019 09:23:33 +0300 Kalle Valo wrote: > > Thanks for the report. Any suggestions how to handle this? Or do we let > Linus take care of this? Just let Linus take care of it ... mention it in the pull request ... I guess DaveM needs to know, right? -- Cheers, Stephen Ro

Re: [PATCH v6 7/8] dynamic_debug: add asm-generic implementation for DYNAMIC_DEBUG_RELATIVE_POINTERS

2019-06-24 Thread Rasmus Villemoes
On 24/06/2019 23.53, Nick Desaulniers wrote: > On Thu, Jun 20, 2019 at 1:46 PM Rasmus Villemoes > wrote: >> >> I've pushed them to https://github.com/Villemoes/linux/tree/dyndebug_v6 >> . They rebase pretty cleanly to just about anything you might prefer >> testing on. Enabling it for arm64 or ppc

Re: [PATCH 7/7] arc: use the generic remapping allocator for coherent DMA allocations

2019-06-24 Thread h...@lst.de
On Mon, Jun 24, 2019 at 07:13:17PM +, Eugeniy Paltsev wrote: > Hi Christoph, > > Yep I've reviewed and tested it for both cases: > - coherent/noncoherent dma > - allocation from atomic_pool/regular allocation > > everything works fine for ARC. Thanks. I've applied the whole series to the dm

Re: 答复: [tip:x86/cpu] x86/cpu: Create Zhaoxin processors architecture support file

2019-06-24 Thread Thomas Gleixner
Tony, On Tue, 25 Jun 2019, Tony W Wang-oc wrote: > On Sun, Jun 23, 2019, Joe Perches wrote: > > > x86/cpu: Create Zhaoxin processors architecture support file > > > > > [] > > > diff --git a/arch/x86/kernel/cpu/zhaoxin.c b/arch/x86/kernel/cpu/zhaoxin.c > > [] > > > +static void init_zhaoxin_cap(st

Re: [PATCH v6 0/5] LM36274 Introduction

2019-06-24 Thread Lee Jones
On Mon, 24 Jun 2019, Dan Murphy wrote: > Lee > > On 6/24/19 9:42 AM, Lee Jones wrote: > > On Wed, 05 Jun 2019, Dan Murphy wrote: > > > > > Hello > > > > > > The v5 patchset missed adding in the new validation code. > > > Patch 1 of the v5 series was squashed into patch 4 of the v5 series. > > >

Re: [PATCH] cifs: fix typo in debug message with struct field ia_valid

2019-06-24 Thread Steve French
merged into cifs-2.6.git for-next On Mon, Jun 24, 2019 at 3:25 PM Colin King wrote: > > From: Colin Ian King > > Field ia_valid is being debugged with the field name iavalid, fix this. > > Signed-off-by: Colin Ian King > --- > fs/cifs/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

Re: [GIT PULL v2] MFD fixes for v5.2

2019-06-24 Thread Lee Jones
On Tue, 25 Jun 2019, Linus Torvalds wrote: > On Mon, Jun 24, 2019 at 10:34 PM Lee Jones wrote: > > > > Hopefully this is more to your liking. > > I would actually have preferred you to throw the old buggy "fix" away, > and just do the final state. You okayed the follow-up patch, so I took it as

Re: linux-next: build failure after merge of the tip tree

2019-06-24 Thread Thomas Gleixner
On Tue, 25 Jun 2019, Kalle Valo wrote: > Stephen Rothwell writes: > > --- > > drivers/net/wireless/intersil/p54/txrx.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/net/wireless/intersil/p54/txrx.c > > b/drivers/net/wireless/intersil/p54/txrx.c > > index

Re: [x86/hotplug] e1056a25da: WARNING:at_arch/x86/kernel/apic/apic.c:#setup_local_APIC

2019-06-24 Thread Thomas Gleixner
Rong, On Tue, 25 Jun 2019, Rong Chen wrote: > On 6/22/19 3:08 AM, Thomas Gleixner wrote: > > > > > > on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m > > > 2G > > I cannot reproduce that issue. What's the underlying hardware machine? > > brand: Genuine Intel(R) CPU 000

Re: linux-next: build failure after merge of the tip tree

2019-06-24 Thread Kalle Valo
Stephen Rothwell writes: > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_rx_data': > drivers/net/wireless/intersil/p54/txrx.c:386:28: error: implicit declaration > of function 'ktime_g

Re: WARNING in mark_lock

2019-06-24 Thread Thomas Gleixner
On Mon, 24 Jun 2019, syzbot wrote: > Hello, CC++ Peterz > > syzbot found the following crash on: > > HEAD commit:dc636f5d Add linux-next specific files for 20190620 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=162b68b1a0 > kernel config: ht

答复: [tip:x86/cpu] x86/cpu: Create Zhaoxin processors architecture support file

2019-06-24 Thread Tony W Wang-oc
On Sun, Jun 23, 2019, Joe Perches wrote: > > x86/cpu: Create Zhaoxin processors architecture support file > > > [] > > diff --git a/arch/x86/kernel/cpu/zhaoxin.c b/arch/x86/kernel/cpu/zhaoxin.c > [] > > +static void init_zhaoxin_cap(struct cpuinfo_x86 *c) > > +{ > > + u32 lo, hi; > > + > > + /

[PATCH] fixdep: check return code of printf() and putchar()

2019-06-24 Thread Masahiro Yamada
When there is not enough space on your storage device, the build will fail with 'No space left on device' error message. The reason is obvious from the message, so you will free up some disk space, then you will resume the build. However, sometimes you may still see a mysterious error message:

Re: hard-coded limit on unresolved multicast route cache in ipv4/ipmr.c causes slow, unreliable creation of multicast routes on busy networks

2019-06-24 Thread Hangbin Liu
On Tue, Dec 18, 2018 at 09:55:45PM -0800, David Miller wrote: > From: Sukumar Gopalakrishnan > Date: Wed, 19 Dec 2018 10:57:02 +0530 > > > Hi David, > > > > There are two patch for this issue: > >1) Your changes which removes cache_resolve_queue_len > > 2) Hangbin's changes which make

Re: [PATCH] kbuild: compile-test global headers to ensure they are self-contained

2019-06-24 Thread Sam Ravnborg
> > When all header files below include/drm are self-contained it will be a > single line: > > header-test-y += $(all_headers_with_subdir) In reality it will likely be the above, and then a list of header-test-n += foo.h For the header files that we for one or the other reason do not want

Re: [PATCH v4 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-24 Thread Ajay Kaher
On 25/06/19, 1:51 AM, "Sasha Levin" wrote: > On Tue, Jun 25, 2019 at 02:33:06AM +0530, Ajay Kaher wrote: > > coredump: fix race condition between mmget_not_zero()/get_task_mm() > > and core dumping > > > > [PATCH v4 1/3]: > > Backporting of commit 04f5866e41fb70690e28397487d8bd8eea7d712a up

Re: [PATCH V34 00/29] Lockdown as an LSM

2019-06-24 Thread James Morris
On Mon, 24 Jun 2019, Matthew Garrett wrote: > > We are still not resolved on granularity. Stephen has said he's not sure > > if a useful policy can be constructed with just confidentiality and > > integrity settings. I'd be interested to know JJ and Casey's thoughts on > > lockdown policy flexibil

linux-next: build failure after merge of the tip tree

2019-06-24 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/wireless/intersil/p54/txrx.c: In function 'p54_rx_data': drivers/net/wireless/intersil/p54/txrx.c:386:28: error: implicit declaration of function 'ktime_get_boot_ns'; did you mean 'kt

Re: [PATCH v7 3/5] usb: host: ohci-sm501: init genalloc for local memory

2019-06-24 Thread Christoph Hellwig
On Mon, Jun 24, 2019 at 02:59:16PM +0200, Fredrik Noring wrote: > Hi Christoph, > > > Can you send me the patch formally so that I can queue it up for the > > dma-mapping tree? > > That patch would be detrimental to local memory devices, as previously > discussed, so I would like to suggest a muc

[PATCH] reset: Add driver for dispmix reset

2019-06-24 Thread Fancy Fang
This is an reset driver to implement a reset controller device DISPMIX on IMX8MM and IMX8MN platforms. Dispmix reset is used to reset or enable related buses and clks for the submodules in DISPMIX. All the dispmix resets are divided into three subgroups: sft_rstn, clk_en and mipi_rst, and each of

Re: [PATCH v7 1/5] mtd: cfi_cmdset_0002: Add support for polling status register

2019-06-24 Thread Vignesh Raghavendra
Hi, On 24/06/19 10:16 PM, Tokunori Ikegami wrote: > [...] >>   +/* >> + * Use status register to poll for Erase/write completion when DQ is not >> + * supported. This is indicated by Bit[1:0] of SoftwareFeatures field in >> + * CFI Primary Vendor-Specific Extended Query table 1.5 >> + */ >> +stat

Reminder: 12 open syzbot bugs in "net/wireless" subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 12 of them as possibly being bugs in the "net/wireless" subsystem. I've listed these reports below, sorted by

Reminder: 27 open syzbot bugs in "net/xfrm" subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 27 of them as possibly being bugs in the "net/xfrm" subsystem. I've listed these reports below, sorted by an a

Reminder: 17 open syzbot bugs in "net/tls" subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 17 of them as possibly being bugs in the "net/tls" subsystem. I've listed these reports below, sorted by an al

Reminder: 14 open syzbot bugs in "net/sctp" subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 14 of them as possibly being bugs in the "net/sctp" subsystem. I've listed these reports below, sorted by an a

[PATCH v4 1/2] mtd: rawnand: Add Macronix Raw NAND controller

2019-06-24 Thread Mason Yang
Add a driver for Macronix raw NAND controller. Signed-off-by: Mason Yang --- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile| 1 + drivers/mtd/nand/raw/mxic_nand.c | 551 +++ 3 files changed, 558 insertions(+) create mode 100644

[PATCH v4 2/2] dt-bindings: mtd: Document Macronix raw NAND controller bindings

2019-06-24 Thread Mason Yang
Document the bindings used by the Macronix raw NAND controller. Signed-off-by: Mason Yang --- .../devicetree/bindings/mtd/mxic-nand.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mxic-nand.txt diff --git a/Doc

Reminder: 94 open syzbot bugs in net subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 94 of them as possibly being bugs in the net subsystem. This category only includes the networking bugs that I

[PATCH v4 0/2] Add Macronix Raw NAND controller driver

2019-06-24 Thread Mason Yang
Hi, v4 patch back to only raw NAND controller driver instead of MFD, raw NAND and SPI driver. This is based on MFD maintainer, Lee Jones comments: MFD is for registering child devices of chips which offer genuine cross-subsystem functionality. It is not designed for mode selecting, or as a place t

Reminder: 11 open syzbot bugs in RDMA subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 11 of them as possibly being bugs in the RDMA subsystem. I've listed these reports below, sorted by an algorit

Re: [PATCH v2] Bluetooth: btrtl: HCI reset on close for Realtek BT chip

2019-06-24 Thread Marcel Holtmann
Hi Daniel, >> Realtek RTL8822BE BT chip on ASUS X420FA cannot be turned on correctly >> after on-off several times. Bluetooth daemon sets BT mode failed when >> this issue happens. > > You could also mention that scanning must be active while turning off > for this bug to be hit. > >> bluetoothd

Re: [PATCH v5 02/25] mm: userfault: return VM_FAULT_RETRY on signals

2019-06-24 Thread Peter Xu
On Mon, Jun 24, 2019 at 09:31:42PM +0800, Linus Torvalds wrote: > On Mon, Jun 24, 2019 at 3:43 PM Peter Xu wrote: > > > > Should we still be able to react on signal_pending() as part of fault > > handling (because that's what this patch wants to do, at least for an > > user-mode page fault)? Plea

Re: [PATCH v1 0/3] Add required-opps support to devfreq passive gov

2019-06-24 Thread Saravana Kannan
On Mon, Jun 24, 2019 at 10:22 PM Viresh Kumar wrote: > > On 24-06-19, 22:00, Saravana Kannan wrote: > > All of the cases above are some real world scenarios I've come across. > > CPU and L2/L3 on ARM systems are a good example of (2) but the passive > > governor doesn't work with CPUs yet. But I p

Re: [PATCH 1/2 v9] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-24 Thread Stefan Roese
Hi Geert, On 24.06.19 17:35, Geert Uytterhoeven wrote: On Mon, Jun 24, 2019 at 5:29 PM Stefan Roese wrote: On 24.06.19 10:42, Geert Uytterhoeven wrote: On Thu, Jun 20, 2019 at 8:24 AM Stefan Roese wrote: This patch adds a check for the GPIOs property existence, before the GPIO is requested.

Re: [PATCH V6 3/3] arm64/mm: Enable memory hot remove

2019-06-24 Thread Anshuman Khandual
On 06/24/2019 10:22 PM, Mark Rutland wrote: > On Fri, Jun 21, 2019 at 03:35:53PM +0100, Steve Capper wrote: >> Hi Anshuman, >> >> On Wed, Jun 19, 2019 at 09:47:40AM +0530, Anshuman Khandual wrote: >>> The arch code for hot-remove must tear down portions of the linear map and >>> vmemmap correspo

Re: [PATCH v1 0/3] Add required-opps support to devfreq passive gov

2019-06-24 Thread Viresh Kumar
On 24-06-19, 22:00, Saravana Kannan wrote: > All of the cases above are some real world scenarios I've come across. > CPU and L2/L3 on ARM systems are a good example of (2) but the passive > governor doesn't work with CPUs yet. But I plan to work on that later > as that's not related to this patch

Re: [PATCH v2] phy: meson-g12a-usb3-pcie: disable locking for cr_regmap

2019-06-24 Thread Kishon Vijay Abraham I
On 24/06/19 6:30 PM, Neil Armstrong wrote: > Hi Kishon, > > On 05/06/2019 11:02, Neil Armstrong wrote: >> Locking is not needed for the phy_g12a_usb3_pcie_cr_bus_read/write() and >> currently it causes the following BUG because of the usage of the >> regmap_read_poll_timeout() running in spinlo

Re: [PATCH 1/2] net: macb: Fix compilation on systems without COMMON_CLK

2019-06-24 Thread Harini Katakam
On Tue, Jun 25, 2019 at 4:17 AM wrote: > > On 24/06/2019 at 11:57, Palmer Dabbelt wrote: > > External E-Mail > > > > > > On Mon, 24 Jun 2019 02:40:21 PDT (-0700), nicolas.fe...@microchip.com wrote: > >> On 24/06/2019 at 08:16, Palmer Dabbelt wrote: > >>> External E-Mail > >>> > >>> > >>> The patch

Re: [PATCH v2] Bluetooth: btrtl: HCI reset on close for Realtek BT chip

2019-06-24 Thread Daniel Drake
On Mon, Jun 24, 2019 at 2:24 PM Jian-Hong Pan wrote: > Realtek RTL8822BE BT chip on ASUS X420FA cannot be turned on correctly > after on-off several times. Bluetooth daemon sets BT mode failed when > this issue happens. You could also mention that scanning must be active while turning off for thi

Re: [PATCH v4 0/7] Hexdump Enhancements

2019-06-24 Thread Joe Perches
On Tue, 2019-06-25 at 13:17 +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > Apologies for the large CC list, it's a heads up for those responsible > for subsystems where a prototype change in generic code causes a change > in those subsystems. [] > The default behaviour of hexdump is

Re: [PATCH] rtlwifi: rtl8188ee: remove redundant assignment to rtstatus

2019-06-24 Thread Kalle Valo
Colin King wrote: > From: Colin Ian King > > Variable rtstatus is being initialized with a value that is never read > as rtstatus is being re-assigned a little later on. The assignment is > redundant and hence can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian

Re: [PATCH][next] qtnfmac: Use struct_size() in kzalloc()

2019-06-24 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct ieee80211_regdomain { > ... >

Re: [PATCH v1 0/3] Add required-opps support to devfreq passive gov

2019-06-24 Thread Saravana Kannan
On Mon, Jun 24, 2019 at 9:11 PM Viresh Kumar wrote: > > On 24-06-19, 15:17, Saravana Kannan wrote: > > Here's an example. This can't be done today, but can be done with this > > change. > > > > In arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi you have something > > like this with the following c

Re: [PATCH] rtlwifi: remove redundant assignment to variable k

2019-06-24 Thread Kalle Valo
Colin King wrote: > From: Colin Ian King > > The assignment of 0 to variable k is never read once we break out of > the loop, so the assignment is redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git

Re: [PATCH] rtlwifi: remove redundant assignment to variable badworden

2019-06-24 Thread Kalle Valo
Colin King wrote: > From: Colin Ian King > > The variable badworden is assigned with a value that is never read and > it is re-assigned a new value immediately afterwards. The assignment is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian Kin

Re: [RFC PATCH 00/11] tracing: of: Boot time tracing using devicetree

2019-06-24 Thread Masami Hiramatsu
Hi Frank, On Mon, 24 Jun 2019 15:31:07 -0700 Frank Rowand wrote: > >>> Currently, kernel support boot-time tracing using kernel command-line > >>> parameters. But that is very limited because of limited expressions > >>> and limited length of command line. Recently, useful features like > >>> his

Re: [PATCH] perf cs-etm: Improve completeness for kernel address space

2019-06-24 Thread Leo Yan
Hi Arnaldo, On Mon, Jun 24, 2019 at 04:00:09PM -0300, Arnaldo Carvalho de Melo wrote: [...] > > > > diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c > > > > index 0c7776b51045..ae831f836c70 100644 > > > > --- a/tools/perf/util/cs-etm.c > > > > +++ b/tools/perf/util/cs-etm.c > > >

Re: [PATCH 2/2] mwifiex: use 'total_ie_len' in mwifiex_update_bss_desc_with_ie()

2019-06-24 Thread Kalle Valo
Brian Norris wrote: > This is clearer than copy/pasting the magic number '+ 2' around, and it > even saves the need for one existing comment. > > Cc: Takashi Iwai > Signed-off-by: Brian Norris > Reviewed-by: Takashi Iwai This depends on: 63d7ef36103d mwifiex: Don't abort on small, spec-comp

[LINUX PATCH v17 2/2] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-06-24 Thread Naga Sureshkumar Relli
Add driver for arm pl353 static memory controller nand interface. This controller is used in Xilinx Zynq SoC for interfacing the NAND flash memory. Reviewed-by: Helmut Grohne Signed-off-by: Naga Sureshkumar Relli --- xilinx zynq TRM link: https://www.xilinx.com/support/documentation/user_guides/

[LINUX PATCH v17 1/2] mtd: rawnand: nand_micron: Do not over write driver's read_page()/write_page()

2019-06-24 Thread Naga Sureshkumar Relli
Add check before assigning chip->ecc.read_page() and chip->ecc.write_page() Signed-off-by: Naga Sureshkumar Relli --- drivers/mtd/nand/raw/nand_micron.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/nand_micron.c b/drivers/mtd/nand/raw/nand_micr

Re: [PATCH] mwifiex: drop 'set_consistent_dma_mask' log message

2019-06-24 Thread Kalle Valo
Brian Norris wrote: > This message is pointless. > > While we're at it, include the error code in the error message, which is > not pointless. > > Signed-off-by: Brian Norris Patch applied to wireless-drivers-next.git, thanks. f7369179ad32 mwifiex: drop 'set_consistent_dma_mask' log message

Re: [PATCH] mwifiex: print PCI mmap with %pK

2019-06-24 Thread Kalle Valo
Brian Norris wrote: > Unadorned '%p' has restrictive policies these days, such that it usually > just prints garbage at early boot (see > Documentation/core-api/printk-formats.rst, "kernel will print > ``(ptrval)`` until it gathers enough entropy"). Annotating with %pK > (for "kernel pointer") al

Re: [PATCH 1/2] mwifiex: dispatch/rotate from reorder table atomically

2019-06-24 Thread Kalle Valo
Brian Norris wrote: > mwifiex_11n_scan_and_dispatch() and > mwifiex_11n_dispatch_pkt_until_start_win() share similar patterns, where > they perform a few different actions on the same table, using the same > lock, but non-atomically. There have been other attempts to clean up > this sort of behav

Re: [PATCH] net: stmmac: add sanity check to device_property_read_u32_array call

2019-06-24 Thread Martin Blumenstingl
Hi Colin, On Thu, Jun 20, 2019 at 3:34 AM Martin Blumenstingl wrote: > > Hi Colin, > > On Wed, Jun 19, 2019 at 8:55 AM Colin Ian King > wrote: > > > > On 19/06/2019 06:13, Martin Blumenstingl wrote: > > > Hi Colin, > > > > > >> Currently the call to device_property_read_u32_array is not error c

linux-next: manual merge of the block tree with the jc_docs tree

2019-06-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: Documentation/fault-injection/nvme-fault-injection.txt between commit: 10ffebbed550 ("docs: fault-injection: convert docs to ReST and rename to *.rst") from the jc_docs tree and commit: 7e31d8215fd8 ("Documentation:

Re: [PATCH] p54usb: Fix race between disconnect and firmware loading

2019-06-24 Thread Kalle Valo
Alan Stern wrote: > The syzbot fuzzer found a bug in the p54 USB wireless driver. The > issue involves a race between disconnect and the firmware-loader > callback routine, and it has several aspects. > > One big problem is that when the firmware can't be loaded, the > callback routine tries to

Re: [PATCH 1/2] tty: ldisc: Fix misuse of proc_dointvec "ldisc_autoload"

2019-06-24 Thread Eiichi Tsukata
On 2019/06/25 12:32, Greg KH wrote: > On Tue, Jun 25, 2019 at 12:08:00PM +0900, Eiichi Tsukata wrote: >> /proc/sys/dev/tty/ldisc_autoload assumes given value to be 0 or 1. Use >> proc_dointvec_minmax instead of proc_dointvec. >> >> Fixes: 7c0cca7c847e "(tty: ldisc: add sysctl to prevent autoload

[RFCv3 4/8] sched/fair: Define core capacity to limit task packing

2019-06-24 Thread Parth Shah
This patch defines a method name arch_scale_core_capacity which should return the capacity of the core. This method will be used in the future patches to determine if the spare capacity is left in the core to pack jitter tasks. For some architectures, core capacity does not increase much with the

[RFCv3 2/8] sched: Introduce switch to enable TurboSched mode

2019-06-24 Thread Parth Shah
This patch creates a static key which allows to enable or disable TurboSched feature at runtime. This key is added in order to enable the TurboSched feature. The static key helps in optimizing the scheduler fast-path when the TurboSched feature is disabled. The patch also provides get/put methods

[RFCv3 5/8] powerpc: Define Core Capacity for POWER systems

2019-06-24 Thread Parth Shah
This patch tunes arch_scale_core_capacity for powerpc arch by scaling capacity w.r.t to the number of online SMT in the core such that for SMT-4, core capacity is 1.5x the capacity of sibling thread. Signed-off-by: Parth Shah --- arch/powerpc/include/asm/topology.h | 4 arch/powerpc/kernel

[RFCv3 3/8] sched/core: Update turbo_sched count only when required

2019-06-24 Thread Parth Shah
Use the get/put methods to add/remove the use of TurboSched support, such that the feature is turned on only if there is atleast one jitter task. Signed-off-by: Parth Shah --- kernel/sched/core.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b

[RFCv3 7/8] sched/fair: Bound non idle core search within LLC domain

2019-06-24 Thread Parth Shah
This patch specifies the method which returns sched domain to limit the search for a non idle core. By default, limit the search in LLC domain which usually includes all the cores across the system. The select_non_idle_core searches for the non idle cores across whole system. But in the systems wi

[RFCv3 6/8] sched/fair: Tune task wake-up logic to pack jitter tasks

2019-06-24 Thread Parth Shah
The algorithm finds the first non idle core in the system and tries to place a task in the least utilized CPU in the chosen core. To maintain cache hotness, work of finding non idle core starts from the prev_cpu, which also reduces task ping-pong behaviour inside of the core. This patch defines a

[RFCv3 8/8] powerpc: Set turbo domain to NUMA node for task packing

2019-06-24 Thread Parth Shah
This patch provides an powerpc architecture specific implementation for defining the turbo domain to make searching of the core to be bound within the NUMA. This provides a way to decrease the searching time for specific architectures. Signed-off-by: Parth Shah --- arch/powerpc/include/asm/topo

[RFCv3 0/8] TurboSched: A scheduler for sustaining Turbo Frequencies for longer durations

2019-06-24 Thread Parth Shah
This is the 3rd version of the patchset to sustain Turbo frequencies for longer durations. The previous versions can be found here: v2: https://lkml.org/lkml/2019/5/15/1258 v1: https://lwn.net/Articles/783959/ The changes in this versions are: v[2] -> v[3]: - Added a new attribute in task_struc

[RFCv3 1/8] sched/core: Add manual jitter classification using sched_setattr syscall

2019-06-24 Thread Parth Shah
Jitter tasks are short/bursty tasks,typically performing some housekeeping and are less important in the overall scheme of things. In this patch we provide a mechanism based on Patrick Bellasi's UCLAMP framework to classify jitter tasks" We define jitter tasks as those whose util.max in the UCLAMP

Re: [selftests/bpf] 69d96519db: kernel_selftests.bpf.test_socket_cookie.fail

2019-06-24 Thread Andrii Nakryiko
On Mon, Jun 24, 2019 at 2:24 PM Stanislav Fomichev wrote: > > On 06/24, Andrii Nakryiko wrote: > > On Sun, Jun 23, 2019 at 5:59 PM Rong Chen wrote: > > > > > > On 6/22/19 6:27 AM, Stanislav Fomichev wrote: > > > > On 06/21, Andrii Nakryiko wrote: > > > >> ) > > > >> > > > >> On Fri, Jun 21, 2019

Re: [PATCH] fsi: sbefifo: Don't fail operations when in SBE IPL state

2019-06-24 Thread Joel Stanley
Hi Greg, On Mon, 17 Jun 2019 at 05:41, Joel Stanley wrote: > > On Mon, 17 Jun 2019 at 02:09, Alistair Popple wrote: > > > > On Monday, 21 January 2019 11:15:58 AM AEST Eddie James wrote: > > > SBE fifo operations should be allowed while the SBE is in any of the > > > "IPL" states. Operations sho

Re: [PATCH] dmaengine: fix semicolon.cocci warnings

2019-06-24 Thread Vinod Koul
On 16-06-19, 00:05, kbuild test robot wrote: > From: kbuild test robot > > drivers/dma/dw-edma/dw-edma-core.c:617:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci Applied, thanks -- ~Vinod

linux-next: build failure after merge of the modules tree

2019-06-24 Thread Stephen Rothwell
t'? [-Werror=implicit-function-declaration] frob_text(&mod->core_layout, set_memory_x); ^ rb_next Caused by commit 2eef1399a866 ("modules: fix BUG when load module with rodata=n") frob_text() only exists when CONFIG_STRICT_MODULE_RWX is defined. I hav

Re: [PATCH v2] dmaengine: dmatest: timeout value of -1 should specify infinite wait

2019-06-24 Thread Vinod Koul
On 18-06-19, 22:03, Hook, Gary wrote: > The dmatest module parameter 'timeout' is documented as accepting a > -1 to mean "infinite timeout". Howver, an infinite timeout is not typo Howver > advised, nor possible since the module parameter is an unsigned int, > which won't accept a negative value.

Re: [PATCH v4 1/6] dmaengine: fsl-edma: add drvdata for fsl-edma

2019-06-24 Thread Vinod Koul
On 14-06-19, 16:17, yibin.g...@nxp.com wrote: > From: Robin Gong > > There are some differences between vf610 and next i.mx7ulp. Put such > differences into static driver data for distiguish easily at driver Typo distiguish Though I tried to apply 1-5 it doesnt apply for me, can you rebase and

Re: [PATCH v1 0/3] Add required-opps support to devfreq passive gov

2019-06-24 Thread Viresh Kumar
On 24-06-19, 15:17, Saravana Kannan wrote: > Here's an example. This can't be done today, but can be done with this change. > > In arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi you have something > like this with the following changes: > > bus_g2d_400: bus0 { > compatible

Re: [PATCH v2] lib/mpi: fix build with clang

2019-06-24 Thread Joel Stanley
On Fri, 21 Jun 2019 at 19:56, Mathieu Malaterre wrote: > > Remove superfluous casts on output operands to avoid warnings on the > following macros: > > * add_ss(sh, sl, ah, al, bh, bl) > * sub_ddmmss(sh, sl, ah, al, bh, bl) > * umul_ppmm(ph, pl, m0, m1) > > Special care has been taken to keep

Re: [RESEND PATCH v1 0/5] Solve postboot supplier cleanup and optimize probe ordering

2019-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 24, 2019 at 03:37:07PM -0700, Sandeep Patil wrote: > We are trying to make sure that all (most) drivers in an Aarch64 system can > be kernel modules for Android, like any other desktop system for > example. There are a number of problems we need to fix before that happens > ofcourse. I

Re: [PATCH 5.1 000/121] 5.1.15-stable review

2019-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 24, 2019 at 05:15:41PM -0700, Guenter Roeck wrote: > On 6/24/19 2:55 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.15 release. > > There are 121 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 5.1 000/121] 5.1.15-stable review

2019-06-24 Thread Greg Kroah-Hartman
On Tue, Jun 25, 2019 at 06:15:37AM +0530, Naresh Kamboju wrote: > On Mon, 24 Jun 2019 at 15:38, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.1.15 release. > > There are 121 patches in this series, all will be posted as a response > > to this one. If a

Re: [PATCH 1/2] tty: ldisc: Fix misuse of proc_dointvec "ldisc_autoload"

2019-06-24 Thread Greg KH
On Tue, Jun 25, 2019 at 12:08:00PM +0900, Eiichi Tsukata wrote: > /proc/sys/dev/tty/ldisc_autoload assumes given value to be 0 or 1. Use > proc_dointvec_minmax instead of proc_dointvec. > > Fixes: 7c0cca7c847e "(tty: ldisc: add sysctl to prevent autoloading of > ldiscs)" > Signed-off-by: Eiichi T

Re: [RESEND PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-24 Thread Greg KH
On Tue, Jun 25, 2019 at 09:02:29AM +0800, liaoweixiong wrote: > In case of the last page containing bitflips (ret > 0), > spinand_mtd_read() will return that number of bitflips for the last > page. But to me it looks like it should instead return max_bitflips like > it does when the last page read

Re: [PATCH 5.1 000/121] 5.1.15-stable review

2019-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 24, 2019 at 12:52:16PM -0500, Jiunn Chang wrote: > On Mon, Jun 24, 2019 at 05:55:32PM +0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.15 release. > > There are 121 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH v2 2/5] nvme: rename "pci" operations to "mmio"

2019-06-24 Thread Daniel Drake
On Mon, Jun 24, 2019 at 2:16 PM Christoph Hellwig wrote: > IFF we want to support it it has to be done at the PCIe layer. But > even that will require actual documentation and support from Intel. > > If Intel still believes this scheme is their magic secret to control > the NVMe market and give t

[PATCH -next] x86/jump_label: Make tp_vec_nr static

2019-06-24 Thread YueHaibing
Fix sparse warning: arch/x86/kernel/jump_label.c:106:5: warning: symbol 'tp_vec_nr' was not declared. Should it be static? It's only used in jump_label.c, so make it static. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- arch/x86/kernel/jump_label.c | 2 +- 1 file changed, 1 insertion

Reminder: 42 open syzbot bugs in usb subsystem

2019-06-24 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 42 of them as possibly being bugs in the usb subsystem. This category mostly includes USB driver bugs, but it

Re: [PATCH] clk: imx8mm: Switch to platform driver

2019-06-24 Thread kbuild test robot
Hi Abel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on shawnguo/for-next] [also build test WARNING on v5.2-rc6 next-20190621] [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-

Re: [PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-24 Thread Josh Poimboeuf
On Mon, Jun 24, 2019 at 12:00:33PM +0200, Miroslav Benes wrote: > On Sat, 22 Jun 2019, Thomas Gleixner wrote: > > > Miroslav, > > > > On Thu, 20 Jun 2019, Miroslav Benes wrote: > > > On Thu, 20 Jun 2019, Cheng Jian wrote: > > > > > > > This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032

Re: [PATCH] riscv: dts: Re-organize SPI DT nodes

2019-06-24 Thread Anup Patel
On Tue, Jun 25, 2019 at 2:53 AM Paul Walmsley wrote: > > On Mon, 24 Jun 2019, Yash Shah wrote: > > > As per the General convention, define only device DT node in SOC DTSi > > file with status = "disabled" and enable device in Board DTS file with > > status = "okay" > > > > Reported-by: Anup Patel

[PATCH 2/2] net/ipv6: Fix misuse of proc_dointvec "skip_notify_on_dev_down"

2019-06-24 Thread Eiichi Tsukata
/proc/sys/net/ipv6/route/skip_notify_on_dev_down assumes given value to be 0 or 1. Use proc_dointvec_minmax instead of proc_dointvec. Fixes: 7c6bb7d2faaf ("net/ipv6: Add knob to skip DELROUTE message ondevice down") Signed-off-by: Eiichi Tsukata --- net/ipv6/route.c | 2 +- 1 file changed, 1 in

[PATCH 1/2] tty: ldisc: Fix misuse of proc_dointvec "ldisc_autoload"

2019-06-24 Thread Eiichi Tsukata
/proc/sys/dev/tty/ldisc_autoload assumes given value to be 0 or 1. Use proc_dointvec_minmax instead of proc_dointvec. Fixes: 7c0cca7c847e "(tty: ldisc: add sysctl to prevent autoloading of ldiscs)" Signed-off-by: Eiichi Tsukata --- drivers/tty/tty_ldisc.c | 2 +- 1 file changed, 1 insertion(+),

Re: NMI hardlock stacktrace deadlock [was Re: Linux 5.2-rc5]

2019-06-24 Thread Josh Poimboeuf
On Wed, Jun 19, 2019 at 01:42:53PM -0700, Linus Torvalds wrote: > On Wed, Jun 19, 2019 at 12:19 PM Chris Wilson > wrote: > > > > > Do you have the oops itself at all? > > > > An example at > > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6310/fi-kbl-x1275/dmesg0.log > > https://intel-gfx-ci.01

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-24 Thread Sameer Pujar
On 6/24/2019 11:56 AM, Vinod Koul wrote: On 20-06-19, 15:59, Sameer Pujar wrote: So can you explain me what is the difference here that the peripheral cannot configure and use burst size with passing fifo depth? Say for example FIFO_THRESHOLD is programmed as 16 WORDS, BURST_SIZE as 8 WORDS.

Re: [RFC] rcu: Warn that rcu ktheads cannot be spawned

2019-06-24 Thread Byungchul Park
On Mon, Jun 24, 2019 at 12:46:24PM -0400, Joel Fernandes wrote: > On Mon, Jun 24, 2019 at 05:27:32PM +0900, Byungchul Park wrote: > > Hello rcu folks, > > > > I thought it'd better to announce it if those spawnings fail because of > > !rcu_scheduler_fully_active. > > > > Of course, with the curre

Re: [RFC] rcu: Warn that rcu ktheads cannot be spawned

2019-06-24 Thread Byungchul Park
On Mon, Jun 24, 2019 at 10:25:51AM -0700, Paul E. McKenney wrote: > On Mon, Jun 24, 2019 at 12:46:24PM -0400, Joel Fernandes wrote: > > On Mon, Jun 24, 2019 at 05:27:32PM +0900, Byungchul Park wrote: > > > Hello rcu folks, > > > > > > I thought it'd better to announce it if those spawnings fail be

  1   2   3   4   5   6   7   8   9   10   >