Re: [PATCH] mfd: stmfx: Fix an endian bug in stmfx_irq_handler()

2019-06-18 Thread Lee Jones
On Tue, 18 Jun 2019, Linus Torvalds wrote: > On Tue, Jun 18, 2019 at 1:16 AM Lee Jones wrote: > > > > > Reported-by: Linus Torvalds > > > > Ideally we can get a review too. > > Looks fine to me, but obviously somebody should actually _test_ it too. Amelie, would you be so kind? -- Lee Jones

Re: [PATCH RESEND 1/8] s390: Start fallback of top-down mmap at mm->mmap_base

2019-06-18 Thread Alex Ghiti
Really sorry about that, my connection is weird this morning, I'll retry tomorrow. Sorry again, Alex On 6/19/19 1:42 AM, Alexandre Ghiti wrote: In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this

Re: [RESEND v4 1/4] soc: qcom: geni: Add support for ACPI

2019-06-18 Thread Andy Gross
On Mon, Jun 17, 2019 at 01:51:02PM +0100, Lee Jones wrote: > When booting with ACPI as the active set of configuration tables, > all; clocks, regulators, pin functions ect are expected to be at > their ideal values/levels/rates, thus the associated frameworks > are unavailable. Ensure calls to

[PATCH V5 3/5] clk: imx: Add API for clk unregister when driver probe fail

2019-06-18 Thread Anson . Huang
From: Anson Huang For i.MX clock drivers probe fail case, clks should be unregistered in the return path, this patch adds a common API for i.MX clock drivers to unregister clocks when fail. Signed-off-by: Anson Huang --- New patch. --- drivers/clk/imx/clk.c | 8 drivers/clk/imx/clk.h

[PATCH V5 4/5] clk: imx: Add support for i.MX8MN clock driver

2019-06-18 Thread Anson . Huang
From: Anson Huang This patch adds i.MX8MN clock driver support. Signed-off-by: Anson Huang --- Changes since V4: - use dev_err instead of pr_err; - unregister clocks when probe failed. --- drivers/clk/imx/Kconfig | 6 + drivers/clk/imx/Makefile | 1 +

[PATCH V5 1/5] dt-bindings: imx: Add clock binding doc for i.MX8MN

2019-06-18 Thread Anson . Huang
From: Anson Huang Add the clock binding doc for i.MX8MN. Signed-off-by: Anson Huang Reviewed-by: Maxime Ripard --- No changes. --- .../devicetree/bindings/clock/imx8mn-clock.yaml| 112 +++ include/dt-bindings/clock/imx8mn-clock.h | 215 + 2 files

[PATCH V5 5/5] arm64: defconfig: Select CONFIG_CLK_IMX8MN by default

2019-06-18 Thread Anson . Huang
From: Anson Huang Enable CONFIG_CLK_IMX8MN to support i.MX8MN clock 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 7a21159..29f7768 100644

[PATCH V5 2/5] clk: imx8mm: Make 1416X/1443X PLL macro definitions common for usage

2019-06-18 Thread Anson . Huang
From: Anson Huang 1416X/1443X PLL are used on i.MX8MM and i.MX8MN and maybe other i.MX8M series SoC later, the macro definitions of these PLLs' initialization should be common for usage. Signed-off-by: Anson Huang --- No changes. --- drivers/clk/imx/clk-imx8mm.c | 17 -

[PATCH RESEND 1/8] s390: Start fallback of top-down mmap at mm->mmap_base

2019-06-18 Thread Alexandre Ghiti
In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this fallback is to find, as a last resort, space between the top-down mmap base and the stack, which is the only place not covered by the top-down mmap.

Re: [PATCH v4 3/6] soc: qcom: geni: Add support for ACPI

2019-06-18 Thread Bjorn Andersson
On Wed 12 Jun 07:26 PDT 2019, Lee Jones wrote: > When booting with ACPI as the active set of configuration tables, > all; clocks, regulators, pin functions ect are expected to be at > their ideal values/levels/rates, thus the associated frameworks > are unavailable. Ensure calls to these APIs

Re: [PATCH 1/1] scsi: ufs-qcom: Add support for platforms booting ACPI

2019-06-18 Thread Lee Jones
Ard, Martin, On Tue, 18 Jun 2019, Martin K. Petersen wrote: > > New Qualcomm AArch64 based laptops are now available which use UFS > > as their primary data storage medium. These devices are supplied > > with ACPI support out of the box. This patch ensures the Qualcomm > > UFS driver will be

[PATCH RESEND 0/8] Fix mmap base in bottom-up mmap

2019-06-18 Thread Alexandre Ghiti
This series fixes the fallback of the top-down mmap: in case of failure, a bottom-up scheme can be tried as a last resort between the top-down mmap base and the stack, hoping for a large unused stack limit. Lots of architectures and even mm code start this fallback at TASK_UNMAPPED_BASE, which is

Re: [PATCH] NTB: test: remove a duplicate check

2019-06-18 Thread Logan Gunthorpe
,, On 2019-06-18 11:32 p.m., Dan Carpenter wrote: > We already verified that the "nm->isr_ctx" allocation succeeded so there > is no need to check again here. > > Fixes: a6bed7a54165 ("NTB: Introduce NTB MSI Test Client") > Signed-off-by: Dan Carpenter Hmm, yup, not sure how that slipped

[PATCH RESEND 0/8] Fix mmap base in bottom-up mmap

2019-06-18 Thread Alexandre Ghiti
(Sorry for the previous interrupted series) This series fixes the fallback of the top-down mmap: in case of failure, a bottom-up scheme can be tried as a last resort between the top-down mmap base and the stack, hoping for a large unused stack limit. Lots of architectures and even mm code start

Re: [PATCH RFC 2/3] fonts: Use BUILD_BUG_ON() for checking empty font table

2019-06-18 Thread Takashi Iwai
On Wed, 19 Jun 2019 01:05:58 +0200, Randy Dunlap wrote: > > On 6/18/19 1:34 PM, Takashi Iwai wrote: > > We have a nice macro, and the check of emptiness of the font table can > > be done in a simpler way. > > > > Signed-off-by: Takashi Iwai > > Hi, > > Looks good to me. > Acked-by: Randy

[PATCH] NTB: test: remove a duplicate check

2019-06-18 Thread Dan Carpenter
We already verified that the "nm->isr_ctx" allocation succeeded so there is no need to check again here. Fixes: a6bed7a54165 ("NTB: Introduce NTB MSI Test Client") Signed-off-by: Dan Carpenter --- Hey Logan, can pick a patch prefix when you're introducing a new module? "[PATCH] NTB/test:

Re: [PATCH][next] platform/chrome: wilco_ec: fix null pointer dereference on failed kzalloc

2019-06-18 Thread Dan Carpenter
On Tue, Jun 18, 2019 at 04:39:24PM +0100, Colin King wrote: > diff --git a/drivers/platform/chrome/wilco_ec/event.c > b/drivers/platform/chrome/wilco_ec/event.c > index c975b76e6255..e251a989b152 100644 > --- a/drivers/platform/chrome/wilco_ec/event.c > +++

Re: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors

2019-06-18 Thread Karthikeyan Mitran
On Fri, Jun 14, 2019 at 4:14 PM Lorenzo Pieralisi wrote: > > On Fri, Jun 14, 2019 at 12:38:51PM +0530, Karthikeyan Mitran wrote: > > Hi Lorenzo and Hou Zhiqiang > > PAB_INTP_AMBA_MISC_STAT does have other status in the higher bits, it > > should have been masked before checking for the status >

Re: [PATCH] mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind

2019-06-18 Thread Michal Hocko
On Tue 18-06-19 14:13:16, Yang Shi wrote: [...] > > > > > Change migrate_page_add() to check if the page is movable or not, if > > > > > it > > > > > is unmovable, just return -EIO. We don't have to check non-LRU > > > > > movable > > > > > pages since just zsmalloc and virtio-baloon support

[PATCH 5/8] mm: Start fallback top-down mmap at mm->mmap_base

2019-06-18 Thread Alexandre Ghiti
In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this fallback is to find, as a last resort, space between the top-down mmap base and the stack, which is the only place not covered by the top-down mmap.

Re: [PATCH 4/7] powerpc/ftrace: Additionally nop out the preceding mflr with -mprofile-kernel

2019-06-18 Thread Michael Ellerman
Hi Naveen, Sorry I meant to reply to this earlier .. :/ "Naveen N. Rao" writes: > With -mprofile-kernel, gcc emits 'mflr r0', followed by 'bl _mcount' to > enable function tracing and profiling. So far, with dynamic ftrace, we > used to only patch out the branch to _mcount(). However, mflr is >

[PATCH 4/8] x86, hugetlbpage: Start fallback of top-down mmap at mm->mmap_base

2019-06-18 Thread Alexandre Ghiti
In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this fallback is to find, as a last resort, space between the top-down mmap base and the stack, which is the only place not covered by the top-down mmap.

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

2019-06-18 Thread Martin Blumenstingl
Hi Colin, > Currently the call to device_property_read_u32_array is not error checked > leading to potential garbage values in the delays array that are then used > in msleep delays. Add a sanity check to the property fetching. > > Addresses-Coverity: ("Uninitialized scalar variable") >

[PATCH 3/8] sparc: Start fallback of top-down mmap at mm->mmap_base

2019-06-18 Thread Alexandre Ghiti
In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this fallback is to find, as a last resort, space between the top-down mmap base and the stack, which is the only place not covered by the top-down mmap.

Re: [PATCH V4 1/2] PCI: dwc: Add API support to de-initialize host

2019-06-18 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 18/06/19 7:58 PM, Lorenzo Pieralisi wrote: > On Tue, Jun 18, 2019 at 04:21:17PM +0530, Vidya Sagar wrote: > > [...] > >>> 2) It is not related to this patch but I fail to see the reasoning >>> behind the __ in __dw_pci_read_dbi(), there is no no-underscore >>> equivalent

[PATCH 2/8] sh: Start fallback of top-down mmap at mm->mmap_base

2019-06-18 Thread Alexandre Ghiti
In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this fallback is to find, as a last resort, space between the top-down mmap base and the stack, which is the only place not covered by the top-down mmap.

[PATCH 1/8] s390: Start fallback of top-down mmap at mm->mmap_base

2019-06-18 Thread Alexandre Ghiti
In case of mmap failure in top-down mode, there is no need to go through the whole address space again for the bottom-up fallback: the goal of this fallback is to find, as a last resort, space between the top-down mmap base and the stack, which is the only place not covered by the top-down mmap.

[PATCH 0/8] Fix mmap base in bottom-up mmap

2019-06-18 Thread Alexandre Ghiti
This series fixes the fallback of the top-down mmap: in case of failure, a bottom-up scheme can be tried as a last resort between the top-down mmap base and the stack, hoping for a large unused stack limit. Lots of architectures and even mm code start this fallback at TASK_UNMAPPED_BASE, which is

Re: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2019-06-18 Thread Naga Sureshkumar Relli
On Mon, Jan 28, 2019 at 10:27:39AM +0100, Miquel Raynal wrote: Hi Miquel, > Hi Naga, > > Naga Sureshkumar Relli wrote on Mon, 28 Jan 2019 > 06:04:53 +: > > > Hi Boris & Miquel, > > > > Could you please provide your thoughts on this driver to support HW-ECC? > > As I said previously, there

[GIT PULL] ARM: TI SOC updates for v5.3

2019-06-18 Thread Santosh Shilimkar
The following changes since commit cd6c84d8f0cdc911df435bb075ba22ce3c605b07: Linux 5.2-rc2 (2019-05-26 16:49:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git tags/drivers_soc_for_5.3 for you to fetch changes up to

Re: [PATCH 5.1 000/115] 5.1.12-stable review

2019-06-18 Thread Naresh Kamboju
On Tue, 18 Jun 2019 at 19:05, Greg Kroah-Hartman wrote: > > On Tue, Jun 18, 2019 at 06:04:25PM +0530, Naresh Kamboju wrote: > > On Tue, 18 Jun 2019 at 02:50, Greg Kroah-Hartman > > wrote: > > > > > > This is the start of the stable review cycle for the 5.1.12 release. > > > There are 115 patches

Re: [PATCH v3 -next] firmware: ti_sci: Fix gcc unused-but-set-variable warning

2019-06-18 Thread santosh.shilim...@oracle.com
On 6/17/19 11:41 AM, Suman Anna wrote: On 6/15/19 7:50 AM, YueHaibing wrote: Fixes gcc '-Wunused-but-set-variable' warning: drivers/firmware/ti_sci.c: In function ti_sci_cmd_ring_config: drivers/firmware/ti_sci.c:2035:17: warning: variable dev set but not used [-Wunused-but-set-variable]

Re: [PATCH] firmware: ti_sci: Use the correct style for SPDX License Identifier

2019-06-18 Thread santosh.shilim...@oracle.com
On 6/14/19 6:57 AM, Nishad Kamdar wrote: This patch corrects the SPDX License Identifier style in header file related to Firmware Drivers for Texas Instruments SCI Protocol. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++

Re: [PATCH v2 1/1] cpuidle-powernv : forced wakeup for stop states

2019-06-18 Thread Nicholas Piggin
Abhishek Goel's on June 17, 2019 7:56 pm: > Currently, the cpuidle governors determine what idle state a idling CPU > should enter into based on heuristics that depend on the idle history on > that CPU. Given that no predictive heuristic is perfect, there are cases > where the governor predicts a

[PATCH 0/1] One cleanup patch for FPGA

2019-06-18 Thread Moritz Fischer
Hi Greg, please take this cleanup patch. It's been on the list but somehow fell through the cracks. Thanks, Moritz Enrico Weigelt (1): drivers: fpga: Kconfig: pedantic cleanups drivers/fpga/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.22.0

[PATCH 1/1] drivers: fpga: Kconfig: pedantic cleanups

2019-06-18 Thread Moritz Fischer
From: Enrico Weigelt Formatting of Kconfig files doesn't look so pretty, so just take damp cloth and clean it up. Signed-off-by: Enrico Weigelt Signed-off-by: Moritz Fischer --- drivers/fpga/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

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

2019-06-18 Thread Anshuman Khandual
Memory hot remove uses get_nid_for_pfn() while tearing down linked sysfs entries between memory block and node. It first checks pfn validity with pfn_valid_within() before fetching nid. With CONFIG_HOLES_IN_ZONE config (arm64 has this enabled) pfn_valid_within() calls pfn_valid(). pfn_valid() is

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

2019-06-18 Thread Anshuman Khandual
The arch code for hot-remove must tear down portions of the linear map and vmemmap corresponding to memory being removed. In both cases the page tables mapping these regions must be freed, and when sparse vmemmap is in use the memory backing the vmemmap must also be freed. This patch adds a new

[PATCH V6 2/3] arm64/mm: Hold memory hotplug lock while walking for kernel page table dump

2019-06-18 Thread Anshuman Khandual
The arm64 page table dump code can race with concurrent modification of the kernel page tables. When a leaf entries are modified concurrently, the dump code may log stale or inconsistent information for a VA range, but this is otherwise not harmful. When intermediate levels of table are freed,

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

2019-06-18 Thread Anshuman Khandual
This series enables memory hot remove on arm64 after fixing a memblock removal ordering problem in generic try_remove_memory() and a possible arm64 platform specific kernel page table race condition. This series is based on linux-next (next-20190613). Concurrent vmalloc() and hot-remove conflict:

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

2019-06-18 Thread Masahiro Yamada
On Wed, Jun 19, 2019 at 1:02 PM Masahiro Yamada wrote: > > Hi. > > > On Wed, Jun 19, 2019 at 12:23 PM Stephen Rothwell > wrote: > > > > Hi all, > > > > After merging the net-next tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > In file included from

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

2019-06-18 Thread Masahiro Yamada
Hi. On Wed, Jun 19, 2019 at 12:23 PM Stephen Rothwell wrote: > > Hi all, > > After merging the net-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from usr/include/linux/tc_act/tc_ctinfo.hdrtest.c:1: >

Re: [PATCH v9 03/12] mm/hotplug: Prepare shrink_{zone, pgdat}_span for sub-section removal

2019-06-18 Thread Dan Williams
On Mon, Jun 17, 2019 at 6:42 PM Wei Yang wrote: > > On Wed, Jun 05, 2019 at 02:58:04PM -0700, Dan Williams wrote: > >Sub-section hotplug support reduces the unit of operation of hotplug > >from section-sized-units (PAGES_PER_SECTION) to sub-section-sized units > >(PAGES_PER_SUBSECTION). Teach

Re: [PATCH] scsi: scsi_sysfs.c: Hide wwid sdev attr if VPD is not supported

2019-06-18 Thread Martin K. Petersen
Marcos, > WWID composed from VPD data from device, specifically page 0x83. So, > when a device does not have VPD support, for example USB storage > devices where VPD is specifically disabled, a read into device>/device/wwid file will always return ENXIO. To avoid this, > change the

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

2019-06-18 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from usr/include/linux/tc_act/tc_ctinfo.hdrtest.c:1: ./usr/include/linux/tc_act/tc_ctinfo.h:30:21: error: implicit declaration of function 'BIT'

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-06-18 Thread Martin K. Petersen
Marcos, > Currently, all USB devices skip VPD pages, even when the device > supports them (SPC-3 and later), but some of them support VPD, like > Cruzer Blade. What's your confidence level wrt. all Cruzer Blades handling this correctly? How many devices have you tested this change with? --

Re: [PATCH v9 02/12] mm/sparsemem: Add helpers track active portions of a section at boot

2019-06-18 Thread Dan Williams
On Mon, Jun 17, 2019 at 3:32 PM Dan Williams wrote: > > On Mon, Jun 17, 2019 at 3:22 PM Wei Yang wrote: > > > > On Wed, Jun 05, 2019 at 02:57:59PM -0700, Dan Williams wrote: > > >Prepare for hot{plug,remove} of sub-ranges of a section by tracking a > > >sub-section active bitmask, each bit

Re: [PATCH] scsi: fdomain: fix building pcmcia front-end

2019-06-18 Thread Martin K. Petersen
Arnd, > Move the common support outside of the SCSI_LOWLEVEL section. > Alternatively, we could move all of SCSI_LOWLEVEL_PCMCIA into > SCSI_LOWLEVEL. This would be more sensible, but might cause surprises > for users that have SCSI_LOWLEVEL disabled. It seems messy to me that PCMCIA lives

Re: "mm: reparent slab memory on cgroup removal" series triggers SLUB_DEBUG errors

2019-06-18 Thread Roman Gushchin
On Tue, Jun 18, 2019 at 05:43:04PM -0400, Qian Cai wrote: > Booting linux-next on both arm64 and powerpc triggers SLUB_DEBUG errors > below. Reverted the whole series “mm: reparent slab memory on cgroup removal” > [1] fixed the issue. Hi Qian! Thank you for the report! Didn't you try to

Re: [RFC net-next 1/5] net: stmmac: introduce IEEE 802.1Qbv configuration functionalities

2019-06-18 Thread Andrew Lunn
On Wed, Jun 19, 2019 at 05:36:14AM +0800, Voon Weifeng wrote: Hi Voon > +static int est_poll_srwo(void *ioaddr) > +{ > + /* Poll until the EST GCL Control[SRWO] bit clears. > + * Total wait = 12 x 50ms ~= 0.6s. > + */ > + unsigned int retries = 12; > + unsigned int value; >

Re: [RFC PATCH 16/16] xen/grant-table: host_addr fixup in mapping on xenhost_r0

2019-06-18 Thread Ankur Arora
On 6/17/19 3:55 AM, Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: Xenhost type xenhost_r0 does not support standard GNTTABOP_map_grant_ref semantics (map a gref onto a specified host_addr). That's because since the hypervisor is local (same address space as the caller of

Re: [RFC PATCH 14/16] xen/blk: gnttab, evtchn, xenbus API changes

2019-06-18 Thread Ankur Arora
On 6/17/19 3:14 AM, Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: For the most part, we now pass xenhost_t * as a parameter. Co-developed-by: Joao Martins Signed-off-by: Ankur Arora I don't see how this can be a patch on its own. Yes, the reason this was separate was that

Re: [RFC PATCH 13/16] drivers/xen: gnttab, evtchn, xenbus API changes

2019-06-18 Thread Ankur Arora
On 6/17/19 3:07 AM, Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: Mechanical changes, now most of these calls take xenhost_t * as parameter. Co-developed-by: Joao Martins Signed-off-by: Ankur Arora ---   drivers/xen/cpu_hotplug.c | 14 ++---   drivers/xen/gntalloc.c   

Re: [PATCH 1/1] scsi: ufs-qcom: Add support for platforms booting ACPI

2019-06-18 Thread Martin K. Petersen
Lee, > New Qualcomm AArch64 based laptops are now available which use UFS > as their primary data storage medium. These devices are supplied > with ACPI support out of the box. This patch ensures the Qualcomm > UFS driver will be bound when the "QCOM24A5" H/W device is > advertised as

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

2019-06-18 Thread Nicholas Piggin
Frederic Weisbecker's on June 18, 2019 5:05 am: > On Mon, Jun 17, 2019 at 05:59:31PM +0200, Peter Zijlstra wrote: >> On Mon, Jun 10, 2019 at 05:24:32PM +1000, Nicholas Piggin wrote: >> > Nicholas Piggin's on June 1, 2019 9:39 pm: >> > > With the change to allow the boot CPU0 to be isolated, it is

Re: [PATCH] scsi: megaraid_sas: Use struct_size() helper

2019-06-18 Thread Martin K. Petersen
Gustavo, > 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 MR_PD_CFG_SEQ_NUM_SYNC { > ... > struct

Re: [PATCH v2 0/7] NCR5380 drivers: fixes and other improvements

2019-06-18 Thread Martin K. Petersen
Finn, > Among other improvements, this patch series fixes a data corruption bug > in the mac_scsi driver and a bug in the EH abort routine in the core > 5380 driver. > > For consistency I have ignored certain checkpatch.pl complaints about > the indentation in mac_scsi.c. The remaining

Re: [RFC PATCH 12/16] xen/xenbus: support xenbus frontend/backend with xenhost_t

2019-06-18 Thread Ankur Arora
On 6/17/19 2:50 AM, Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: As part of xenbus init, both frontend, backend interfaces need to talk on the correct xenbus. This might be a local xenstore (backend) or might be a XS_PV/XS_HVM interface (frontend) which needs to talk over

Re: [PATCH] net: mvpp2: cls: Add pmap to fs dump

2019-06-18 Thread David Miller
From: Nathan Huckleberry Date: Tue, 18 Jun 2019 09:09:10 -0700 > + ddebugfs_create_file("pmap", 0444, prs_entry_dir, entry, drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c: In function ‘mvpp2_dbgfs_prs_entry_init’: drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c:569:2: error:

Re: [PATCH][next] net/mlx5: add missing void argument to function mlx5_devlink_alloc

2019-06-18 Thread David Miller
From: Colin King Date: Tue, 18 Jun 2019 16:15:10 +0100 > From: Colin Ian King > > Function mlx5_devlink_alloc is missing a void argument, add it > to clean up the non-ANSI function declaration. > > Signed-off-by: Colin Ian King Applied.

[PATCH] staging: rtl8723bs: hal: odm_RegConfig8723B: fix Lines should not end with a '('

2019-06-18 Thread Hariprasad Kelam
this patch fixes below issue reported by checkpatch.pl CHECK: Lines should not end with a '(' CHECK: Lines should not end with a '(' Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h | 61 ++ 1 file changed, 28 insertions(+), 33

Re: [PATCH 10/21] tracing/probe: Split trace_event related data from trace_probe

2019-06-18 Thread Masami Hiramatsu
On Tue, 18 Jun 2019 17:11:15 -0400 Steven Rostedt wrote: > On Tue, 18 Jun 2019 12:23:22 -0400 > Steven Rostedt wrote: > > > > Oops, good catch! > > > This part is related to caller (ftrace/perf) so should be more careful. > > > Usually, kprobe enablement should not fail. If one of them has > >

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-18 Thread Yang Yingliang
On 2019/6/18 21:48, Jessica Yu wrote: +++ Yang Yingliang [17/06/19 14:59 +0800]: When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 32.382917] BUG: unable to handle page

Re: [PATCH net-next 0/4] net: mvpp2: cls: Allow steering based on vlan tag

2019-06-18 Thread David Miller
From: Maxime Chevallier Date: Tue, 18 Jun 2019 16:55:15 +0200 > The PPv2 classifier can perform flow steering based on keys extracted > from the VLAN tag. This series adds support for using the vlan id and > the vlan prio as keys, using the ethtool interface. > > Patch 1 is a preparatory patch

Re: [RFC PATCH 11/16] xen/grant-table: make grant-table xenhost aware

2019-06-18 Thread Ankur Arora
On 6/17/19 2:36 AM, Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: Largely mechanical changes: the exported grant table symbols now take xenhost_t * as a parameter. Also, move the grant table global state inside xenhost_t. If there's more than one xenhost, then initialize both.

Re: [RFC PATCH 10/16] xen/balloon: support ballooning in xenhost_t

2019-06-18 Thread Ankur Arora
On 6/17/19 2:28 AM, Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: Xen ballooning uses hollow struct pages (with the underlying GFNs being populated/unpopulated via hypercalls) which are used by the grant logic to map grants from other domains. This patch allows the default

Teo En Ming’s Infocomm Technology (ICT) Skillset (Nov 2017 to Jun 2019)

2019-06-18 Thread Turritopsis Dohrnii Teo En Ming
Subject/Topic: Turritopsis Dohrnii Teo En Ming’s Infocomm Technology (ICT) Skillset (Nov 2017 to Jun 2019) This list is prepared on 19th Jun 2019 Wednesday 10:14 AM Singapore Time. This list is NOT exhaustive and could be incomplete. More ICT skills will be added in the future. Section A:

[PATCH V4 4/4] dt-bindings: arm: imx: Add the soc binding for i.MX8MQ

2019-06-18 Thread Anson . Huang
From: Anson Huang This patch adds the soc & board binding for i.MX8MQ. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- No changes. --- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH V4 2/4] arm64: dts: freescale: Add i.MX8MN dtsi support

2019-06-18 Thread Anson . Huang
From: Anson Huang The i.MX8M Nano Media Applications Processor is a new SoC of the i.MX8M family, it is a 14nm FinFET product of the growing mScale family targeting the consumer market. It is built in Samsung 14LPP to achieve both high performance and low power consumption and relies on a

[PATCH V4 3/4] arm64: dts: freescale: Add i.MX8MN DDR4 EVK board support

2019-06-18 Thread Anson . Huang
From: Anson Huang This patch adds basic i.MM8MN DDR4 EVK board support. Signed-off-by: Anson Huang --- No change. --- arch/arm64/boot/dts/freescale/Makefile| 1 + arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 221 ++ 2 files changed, 222 insertions(+)

[PATCH V4 1/4] dt-bindings: arm: imx: Add the soc binding for i.MX8MN

2019-06-18 Thread Anson . Huang
From: Anson Huang This patch adds the soc & board binding for i.MX8MN. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- No change. --- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v9 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-06-18 Thread Wei Yang
On Tue, Jun 18, 2019 at 02:56:09PM -0700, Dan Williams wrote: >On Sun, Jun 16, 2019 at 6:11 AM Wei Yang wrote: >> >> On Wed, Jun 05, 2019 at 02:57:54PM -0700, Dan Williams wrote: >> >Towards enabling memory hotplug to track partial population of a >> >section, introduce 'struct

Re: [PATCH v3 0/9] Enable Sub-page Write Protection Support

2019-06-18 Thread Yang Weijiang
On Fri, Jun 07, 2019 at 03:27:01PM +0200, Paolo Bonzini wrote: > On 06/06/19 17:28, Yang Weijiang wrote: > > EPT-Based Sub-Page write Protection(SPP)is a HW capability which > > allows Virtual Machine Monitor(VMM) to specify write-permission for > > guest physical memory at a sub-page(128 byte)

[PATCH 0/1] selftest for SPP feature

2019-06-18 Thread Weijiang Yang
From: Yang Weijiang Sub-Page Permission(SPP) is to protect finer granularity subpages (128Byte each) within a 4KB page. There're three specific ioctls for the feature in KVM: KVM_INIT_SPP - initialize SPP runtime environment KVM_SUBPAGES_SET_ACCESS - set SPP protection for guest page

[PATCH 1/1] kvm: selftests: add selftest for SPP feature

2019-06-18 Thread Weijiang Yang
From: Yang Weijiang Sub-Page Permission(SPP) is to protect finer granularity subpages (128Byte each) within a 4KB page. It's not enabled in KVM by default, the test first initializes the SPP runtime environment with KVM_INIT_SPP ioctl, then sets protection with KVM_SUBPAGES_SET_ACCESS for the

Re: [PATCH v3 0/2] Add macb support for SiFive FU540-C000

2019-06-18 Thread David Miller
From: Yash Shah Date: Tue, 18 Jun 2019 13:26:06 +0530 > On FU540, the management IP block is tightly coupled with the Cadence > MACB IP block. It manages many of the boundary signals from the MACB IP > This patchset controls the tx_clk input signal to the MACB IP. It > switches between the local

Re: [PATCH] net/ipv4: fib_trie: Avoid cryptic ternary expressions

2019-06-18 Thread Alexander Duyck
On Tue, Jun 18, 2019 at 4:22 PM Matthias Kaehlcke wrote: > > On Tue, Jun 18, 2019 at 04:04:20PM -0700, Nathan Chancellor wrote: > > On Tue, Jun 18, 2019 at 02:14:40PM -0700, Matthias Kaehlcke wrote: > > > empty_child_inc/dec() use the ternary operator for conditional > > > operations. The

[Patch v3] staging: rtl8723bs: os_dep: ioctl_linux: make use of kzalloc

2019-06-18 Thread Hariprasad Kelam
This patch is a cleanup which replaces rtw_malloc(wep_total_len) with kzalloc() and removes the memset(). The rtw_malloc() does GFP_ATOMIC allocations when in_atomic() is true. But as the comments for in_atomic() describe, the in_atomic() check should not be used in driver code. The in_atomic()

Re: [PATCH] scsi: storvsc: Add ability to change scsi queue depth

2019-06-18 Thread Branden Bonaby
On Tue, Jun 18, 2019 at 09:08:59PM -0400, Martin K. Petersen wrote: > > Branden, > > > Adding functionality to allow the SCSI queue depth to be changed, by > > utilizing the "scsi_change_queue_depth" function. > > Applied to 5.3/scsi-queue. Please run checkpatch before submission. I > fixed it

Re: [PATCH net-next v5 0/3] hinic: add rss support and rss parameters configuration

2019-06-18 Thread David Miller
From: Xue Chaojing Date: Tue, 18 Jun 2019 06:20:50 + > This series add rss support for HINIC driver and implement the ethtool > interface related to rss parameter configuration. user can use ethtool > configure rss parameters or show rss parameters. Series applied, thanks.

RE: [EXT] Re: [PATCH 2/4] arm64: dts: fsl: ls1028a: Add eDMA node

2019-06-18 Thread Peng Ma
>-Original Message- >From: Shawn Guo >Sent: 2019年6月18日 21:13 >To: Peng Ma >Cc: vk...@kernel.org; robh...@kernel.org; mark.rutl...@arm.com; Leo Li >; dan.j.willi...@intel.com; dmaeng...@vger.kernel.org; >devicet...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH v2 2/7] scsi: NCR5380: Always re-enable reselection interrupt

2019-06-18 Thread Michael Schmitz
Martin, On 19/06/19 12:47 PM, Martin K. Petersen wrote: Michael, No matter - patch applied cleanly to what I'm running on my Falcon, and works just fine for now (stresstest will take a few hours to complete). And that'll thoroughly exercise the reselection code path, from what we've seen

Re: [PATCH] [resend] wd719x: Fix resets and aborts

2019-06-18 Thread Martin K. Petersen
Ondrej, > Host reset oopses because it calls wd719x_chip_init, which calls > request_firmware, under a spinlock. Stop the RISC first, then flush > active SCBs under a spinlock. Finally call wd719x_chip_init unlocked. Applied to 5.3/scsi-queue. Thank you! -- Martin K. Petersen Oracle

[GIT PULL] apparmor bug fixes for v5.3-rc6

2019-06-18 Thread John Johansen
Hi Linus, Can you please pull the following bug fixes for apparmor Thanks! - John The following changes since commit 9e0babf2c06c73cda2c0cd37a1653d823adb40ec: Linux 5.2-rc5 (2019-06-16 08:49:45 -1000) are available in the Git repository at:

Re: [PATCH net v2] hvsock: fix epollout hang from race condition

2019-06-18 Thread David Miller
From: Sunil Muthuswamy Date: Mon, 17 Jun 2019 19:26:25 + > Currently, hvsock can enter into a state where epoll_wait on EPOLLOUT will > not return even when the hvsock socket is writable, under some race > condition. This can happen under the following sequence: ... > Now, the EPOLLOUT will

[PATCH] staging: rtl8723bs: hal: Fix Brace Style Issues in if/else statements

2019-06-18 Thread Shobhit Kukreti
Cleaned Up code to fix brace style issues reported by checkpatch: -space required before the open brace '{' -Unbalanced braces around if/else statements Signed-off-by: Shobhit Kukreti --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 25 +++-- 1 file changed, 11

Re: [PATCH net v4] net/udp_gso: Allow TX timestamp with UDP GSO

2019-06-18 Thread David Miller
From: Fred Klassen Date: Mon, 17 Jun 2019 12:05:07 -0700 > Fixes an issue where TX Timestamps are not arriving on the error queue > when UDP_SEGMENT CMSG type is combined with CMSG type SO_TIMESTAMPING. > This can be illustrated with an updated updgso_bench_tx program which > includes the '-T'

[PATCH RT 2/4] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-06-18 Thread Scott Wood
Without this, rcu_note_context_switch() will complain if an RCU read lock is held when migrate_enable() calls stop_one_cpu(). Signed-off-by: Scott Wood --- include/linux/sched.h| 4 ++-- kernel/rcu/tree_plugin.h | 2 +- kernel/sched/core.c | 2 ++ 3 files changed, 5 insertions(+), 3

[PATCH RT 1/4] rcu: Acquire RCU lock when disabling BHs

2019-06-18 Thread Scott Wood
A plain local_bh_disable() is documented as creating an RCU critical section, and (at least) rcutorture expects this to be the case. However, in_softirq() doesn't block a grace period on PREEMPT_RT, since RCU checks preempt_count() directly. Even if RCU were changed to check in_softirq(), that

[RFC PATCH RT 3/4] rcu: unlock special: Treat irq and preempt disabled the same

2019-06-18 Thread Scott Wood
[Note: Just before posting this I noticed that the invoke_rcu_core stuff is part of the latest RCU pull request, and it has a patch that addresses this in a more complicated way that appears to deal with the bare irq-disabled sequence as well. Assuming we need/want to support such sequences,

[PATCH RT 0/4] Address rcutorture issues

2019-06-18 Thread Scott Wood
With these patches, rcutorture mostly works on PREEMPT_RT_FULL. I still once in a while get forward progress complaints (particularly, rcu_torture_fwd_prog_cr) when a grace period is held up for a few seconds after which point so many callbacks have been enqueued that even making reasonable

[RFC PATCH RT 4/4] rcutorture: Avoid problematic critical section nesting

2019-06-18 Thread Scott Wood
rcutorture was generating some nesting scenarios that are not reasonable. Constrain the state selection to avoid them. Example #1: 1. preempt_disable() 2. local_bh_disable() 3. preempt_enable() 4. local_bh_enable() On PREEMPT_RT, BH disabling takes a local lock only when called in non-atomic

[PATCH] staging: rtl8723bs: hal: Remove True/False Comparisons

2019-06-18 Thread Shobhit Kukreti
Removing comparisons to True/False in if statements. Checkpatch reported: CHECK: Using comparison to true is error prone Signed-off-by: Shobhit Kukreti --- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v4 01/10] clk: tegra20/30: Add custom EMC clock implementation

2019-06-18 Thread Stephen Boyd
Quoting Dmitry Osipenko (2019-06-16 16:35:42) > A proper External Memory Controller clock rounding and parent selection > functionality is required by the EMC drivers. It is not available using > the generic clock implementation, hence add a custom one. Why isn't it available? Please add this

Re: [PATCH v4 01/10] clk: tegra20/30: Add custom EMC clock implementation

2019-06-18 Thread Stephen Boyd
Quoting Thierry Reding (2019-06-18 05:21:08) > On Mon, Jun 17, 2019 at 02:35:42AM +0300, Dmitry Osipenko wrote: > > A proper External Memory Controller clock rounding and parent selection > > functionality is required by the EMC drivers. It is not available using > > the generic clock

Re: [PATCH 10/21] tracing/probe: Split trace_event related data from trace_probe

2019-06-18 Thread Masami Hiramatsu
On Tue, 18 Jun 2019 12:23:22 -0400 Steven Rostedt wrote: > On Wed, 19 Jun 2019 01:14:09 +0900 > Masami Hiramatsu wrote: > > > On Mon, 17 Jun 2019 21:56:43 -0400 > > Steven Rostedt wrote: > > > > > > > +static nokprobe_inline struct trace_kprobe * > > > >

Re: [PATCH] scsi: tcmu: Simplify 'tcmu_update_uio_info()'

2019-06-18 Thread Martin K. Petersen
Christophe, > Use 'kasprintf()' instead of: >- snprintf(NULL, 0... >- kmalloc(... >- snprintf(... > > This is less verbose and saves 7 bytes (i.e. the space for '/(null)') if > 'udev->dev_config' is NULL. Applied to 5.3/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux

Re: [PATCH] scsi: storvsc: Add ability to change scsi queue depth

2019-06-18 Thread Martin K. Petersen
Branden, > Adding functionality to allow the SCSI queue depth to be changed, by > utilizing the "scsi_change_queue_depth" function. Applied to 5.3/scsi-queue. Please run checkpatch before submission. I fixed it up this time. Thanks! -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH] soc: imx: Add i.MX8MN SoC driver support

2019-06-18 Thread Anson Huang
Hi, Shawn > -Original Message- > From: Shawn Guo > Sent: Tuesday, June 18, 2019 8:59 PM > To: Anson Huang > Cc: s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > Leonard Crestez ; viresh.ku...@linaro.org; > Abel Vesa ; linux-arm-ker...@lists.infradead.org; >

[PATCH V2] soc: imx: Add i.MX8MN SoC driver support

2019-06-18 Thread Anson . Huang
From: Anson Huang This patch adds i.MX8MN SoC driver support: root@imx8mnevk:~# cat /sys/devices/soc0/family Freescale i.MX root@imx8mnevk:~# cat /sys/devices/soc0/machine NXP i.MX8MNano DDR4 EVK board root@imx8mnevk:~# cat /sys/devices/soc0/soc_id i.MX8MN root@imx8mnevk:~# cat

  1   2   3   4   5   6   7   8   9   10   >