[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 >> + */ >>

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

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

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

[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

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

[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

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

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. > >>

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)?

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

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

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

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

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

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

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

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

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

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 > >>>

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,

[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:

[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

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")

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

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

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

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

[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

[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

[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

[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

[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 ---

[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

[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

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

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
-declaration] frob_text(>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 have used the modules tree from next-20190624 for today.

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

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

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 { >

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.

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

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

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

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.

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

[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

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:

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

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

[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 > >

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

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

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

[PATCH net-next] xdp: Make __mem_id_disconnect static

2019-06-24 Thread YueHaibing
Fix sparse warning: net/core/xdp.c:88:6: warning: symbol '__mem_id_disconnect' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- net/core/xdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/xdp.c b/net/core/xdp.c index

Re: [PATCH net-next] net: link_watch: prevent starvation when processing linkwatch wq

2019-06-24 Thread Yunsheng Lin
On 2019/5/29 16:59, Yunsheng Lin wrote: > On 2019/5/29 14:58, David Miller wrote: >> From: Yunsheng Lin >> Date: Mon, 27 May 2019 09:47:54 +0800 >> >>> When user has configured a large number of virtual netdev, such >>> as 4K vlans, the carrier on/off operation of the real netdev >>> will also

linux-next: manual merge of the fbdev tree with the v4l-dvb tree

2019-06-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the fbdev tree got a conflict in: drivers/media/pci/ivtv/ivtvfb.c between commit: 2161536516ed ("media: media/pci: set device_caps in struct video_device") from the v4l-dvb tree and commit: deb00d2785be ("fbdev: make unregister/unlink functions not

Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-06-24 Thread Paul E. McKenney
On Tue, Jun 25, 2019 at 02:43:00AM +0200, Frederic Weisbecker wrote: > On Mon, Jun 24, 2019 at 04:44:22PM -0700, Paul E. McKenney wrote: > > On Tue, Jun 25, 2019 at 01:12:23AM +0200, Frederic Weisbecker wrote: > > > On Fri, Jun 21, 2019 at 04:46:02PM -0700, Paul E. McKenney wrote: > > > > @@

Re: Kirkwood PCI Express and bridges

2019-06-24 Thread Chris Packham
On 24/06/19 4:08 PM, Chris Packham wrote: > Hi Thomas, > > On 21/06/19 6:17 PM, Thomas Petazzoni wrote: >> Hello Chris, >> >> On Fri, 21 Jun 2019 04:03:27 + >> Chris Packham wrote: >> >>> I'm in the process of updating the kernel version used on our products >>> from 4.4 -> 5.1. >>> >>> We

Re: [PATCH] csky: dts: Add NationalChip GX6605S

2019-06-24 Thread Guo Ren
Hi Andreas, On Tue, Jun 25, 2019 at 9:25 AM Andreas Färber wrote: > > Am 25.06.19 um 02:45 schrieb Guo Ren: > > Thx for the patch. No need seperate part into dtsi, > > Sorry, I know from many arm contributions that using a .dtsi is the > right thing here. It logically separates the chip from the

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-24 Thread Finn Thain
On Mon, 24 Jun 2019, Alexandre Belloni wrote: > On 21/06/2019 11:51:26+1000, Finn Thain wrote: > > Some machines store local time in the Real Time Clock. The hard-coded > > "UTC" string is wrong on those machines so just omit that string. > > Update the log parser so it doesn't require the

Re: [PATCH] nios2: remove pointless second entry for CONFIG_TRACE_IRQFLAGS_SUPPORT

2019-06-24 Thread Ley Foon Tan
On Sun, 2019-06-23 at 23:13 +0900, Masahiro Yamada wrote: > On Sun, May 12, 2019 at 10:16 PM Masahiro Yamada > wrote: > > > > > > Strangely enough, NIOS2 defines TRACE_IRQFLAGS_SUPPORT twice > > with different values, which is pointless and confusing. > > > > [1] arch/nios2/Kconfig > > > >  

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

2019-06-24 Thread Rong Chen
On 6/22/19 3:08 AM, Thomas Gleixner wrote: On Thu, 20 Jun 2019, kernel test robot wrote: FYI, we noticed the following commit (built with gcc-7): commit: e1056a25daa6460c95e92d7d6853d05ad62458f7 ("x86/hotplug: Silence APIC and NMI when CPU is dead")

RE: Re: [PATCH v4 13/16] PM / devfreq: tegra: Support Tegra30

2019-06-24 Thread MyungJoo Ham
Sender : Dmitry Osipenko >24.06.2019 14:11, MyungJoo Ham пишет: >>> >>> - Original Message - >>> Sender : Dmitry Osipenko >>> >>> 24.06.2019 10:34, MyungJoo Ham пишет: > > A question: > > Does this driver support Tegra20 as well? > I'm asking this because

WARNING in mark_lock

2019-06-24 Thread syzbot
Hello, 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: https://syzkaller.appspot.com/x/.config?x=99c104b0092a557b

[PATCH] tracing/snapshot: resize spare buffer if size changed

2019-06-24 Thread Eiichi Tsukata
Current snapshot implementation swaps two ring_buffers even though their sizes are different from each other, that can cause an inconsistency between the contents of buffer_size_kb file and the current buffer size. For example: # cat buffer_size_kb 7 (expanded: 1408) # echo 1 >

Re: [PATCH] csky: dts: Add NationalChip GX6605S

2019-06-24 Thread Andreas Färber
Am 25.06.19 um 02:45 schrieb Guo Ren: > Thx for the patch. No need seperate part into dtsi, Sorry, I know from many arm contributions that using a .dtsi is the right thing here. It logically separates the chip from the board, even if there's only one evaluation board currently. Think about

Re: [alsa-devel] [PATCH v2 11/11] ASoC: topology: Consolidate and fix asoc_tplg_dapm_widget_*_create flow

2019-06-24 Thread Ranjani Sridharan
On Mon, 2019-06-17 at 13:36 +0200, Amadeusz Sławiński wrote: > There are a few soc_tplg_dapm_widget_*_create functions with similar > content, but slightly different flow, unify their flow and make sure > that we go to error handler and free memory in case of failure. > > Signed-off-by: Amadeusz

Re: [PATCH v2] kernel/isolation: Assert that a housekeeping CPU comes up at boot time

2019-06-24 Thread Frederic Weisbecker
On Tue, Jun 25, 2019 at 10:17:20AM +1000, Nicholas Piggin wrote: > +static int __init housekeeping_verify_smp(void) > +{ > + int cpu; > + > + if (!housekeeping_flags) > + return 0; > + > + /* > + * Early housekeeping setup is done before CPUs come up, and there are > +

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

2019-06-24 Thread liaoweixiong
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 returns with 0. Signed-off-by: liaoweixiong Reviewed-by: Boris

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

2019-06-24 Thread liaoweixiong
Um.. I am sorry. It is the first time for me to resend patch. I will send this patch again with correct tags. On 2019/6/24 PM10:47, Schrempf Frieder wrote: > On 24.06.19 14:15, liaoweixiong wrote: >> In case of the last page containing bitflips (ret > 0), >> spinand_mtd_read() will return that

Re: [PATCH RESEND] ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for vibrator

2019-06-24 Thread Brian Masney
On Tue, Jun 25, 2019 at 12:29:29AM +0200, Linus Walleij wrote: > On Sun, Jun 23, 2019 at 12:53 PM Brian Masney wrote: > > > 2) Do what Linus suggests above. We can use v1 of this series from last > >September (see below for link) that adds this to the pwm subsystem. > >The locking would

Re: [PATCH] csky: dts: Add NationalChip GX6605S

2019-06-24 Thread Guo Ren
Thx for the patch. No need seperate part into dtsi, just follow: https://lore.kernel.org/linux-csky/1561376581-19568-1-git-send-email-guo...@kernel.org/T/#u On Tue, Jun 25, 2019 at 8:28 AM Andreas Färber wrote: > > Add Device Trees for NationalChip GX6605S SoC (based on CK610 CPU) and its > dev

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

2019-06-24 Thread Naresh Kamboju
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 anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.19 00/90] 4.19.56-stable review

2019-06-24 Thread Naresh Kamboju
On Mon, 24 Jun 2019 at 15:33, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.56 release. > There are 90 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-06-24 Thread Frederic Weisbecker
On Mon, Jun 24, 2019 at 04:44:22PM -0700, Paul E. McKenney wrote: > On Tue, Jun 25, 2019 at 01:12:23AM +0200, Frederic Weisbecker wrote: > > On Fri, Jun 21, 2019 at 04:46:02PM -0700, Paul E. McKenney wrote: > > > @@ -3097,13 +3126,21 @@ static void sched_tick_remote(struct work_struct > > >

Re: [PATCH v4 08/11] thermal: sun8i: support ahb clocks

2019-06-24 Thread Ondřej Jirman
On Mon, Jun 24, 2019 at 08:23:33PM +0200, Maxime Ripard wrote: > On Sun, Jun 23, 2019 at 12:42:03PM -0400, Yangtao Li wrote: > > H3 has extra clock, so introduce something in ths_thermal_chip/ths_device > > and adds the process of the clock. > > > > This is pre-work for supprt it. > > > >

Re: [PATCH v1] KVM: x86: PMU Whitelist

2019-06-24 Thread Eric Hankland
Thanks for your feedback - I'll send out an updated version incorporating your comments shortly (assuming you don't have more after this). > > +struct kvm_pmu_whitelist { > > + __u64 event_mask; > > Is this "ARCH_PERFMON_EVENTSEL_EVENT | ARCH_PERFMON_EVENTSEL_UMASK"? In most cases, I

[PATCH] csky: dts: Add NationalChip GX6605S

2019-06-24 Thread Andreas Färber
Add Device Trees for NationalChip GX6605S SoC (based on CK610 CPU) and its dev board. GxLoader expects as filename gx6605s.dtb, so keep that. The bootargs are prepared to boot from USB and to output to serial. Compatibles for the SoC and board are left out for now. Signed-off-by: Andreas Färber

Re: [PATCH v5 00/14] epoll: support pollable epoll from userspace

2019-06-24 Thread Eric Wong
Roman Penyaev wrote: > Hi all, +cc Jason Baron > ** Limitations > 4. No support for EPOLLEXCLUSIVE > If device does not pass pollflags to wake_up() there is no way to > call poll() from the context under spinlock, thus special work is > scheduled to offload polling. In this

[PATCH] cma: fail if fixed declaration can't be honored

2019-06-24 Thread Doug Berger
The description of the cma_declare_contiguous() function indicates that if the 'fixed' argument is true the reserved contiguous area must be exactly at the address of the 'base' argument. However, the function currently allows the 'base', 'size', and 'limit' arguments to be silently adjusted to

  1   2   3   4   5   6   7   8   9   10   >