Re: [PATCH v6 7/7] tpm: pass an array of tpm_bank_list structures to tpm_pcr_extend()

2018-12-12 Thread Roberto Sassu
On 12/12/2018 7:27 PM, Jarkko Sakkinen wrote: On Thu, Dec 06, 2018 at 07:38:30PM +0100, Roberto Sassu wrote: On 12/5/2018 1:14 AM, Jarkko Sakkinen wrote: On Tue, Dec 04, 2018 at 09:21:38AM +0100, Roberto Sassu wrote: The new tpm_bank_list structure has been preferred to the tpm_digest

Re: [PATCH v3] mm: thp: fix flags for pmd migration when split

2018-12-12 Thread Konstantin Khlebnikov
On Thu, Dec 13, 2018 at 8:15 AM Peter Xu wrote: > > When splitting a huge migrating PMD, we'll transfer all the existing > PMD bits and apply them again onto the small PTEs. However we are > fetching the bits unconditionally via pmd_soft_dirty(), pmd_write() > or pmd_yound() while actually they

Re: [PATCH] xen: xen-pciback: Reset MSI-X state when exposing a device

2018-12-12 Thread Jan Beulich
>>> On 13.12.18 at 04:46, wrote: > On Wed, Dec 12, 2018 at 08:21:39AM -0700, Jan Beulich wrote: > On 12.12.18 at 16:18, wrote: >>> On Wed, Dec 12, 2018 at 01:51:01AM -0700, Jan Beulich wrote: >>> On 12.12.18 at 08:06, wrote: > On Wed, Dec 05, 2018 at 09:01:33AM -0500, Boris

[PATCH v12 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-12-12 Thread Taniya Das
Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's SoCs. This is required for managing the cpu frequency transitions which are controlled by the hardware engine. Signed-off-by: Taniya Das --- .../bindings/cpufreq/cpufreq-qcom-hw.txt | 172 + 1

[PATCH v12 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-12-12 Thread Taniya Das
The CPUfreq HW present in some QCOM chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this hardware engine. Signed-off-by: Saravana Kannan Signed-off-by: Stephen Boyd Signed-off-by: Taniya Das ---

[PATCH v12 0/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW

2018-12-12 Thread Taniya Das
[v12] * Remove per-cpu domain global structure. [v11] * Updated the code logic as per Stephen. * Default boost enabled is removed. * Update the clock name to use "alternate" for GPLL0 source in code and Documentation binding. * Module description updated. * perf_base

Re: [PATCH v11 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-12-12 Thread Taniya Das
Hello Viresh, On 12/12/2018 10:17 AM, Viresh Kumar wrote: On 11-12-18, 19:05, Taniya Das wrote: The design here assumes that there would not be any per-cpu/per-cluster based SW requirement for the HW during frequency transitions, which again makes me think that we would require to re-introduce

Re: [Resend PATCH V5 7/10] KVM: Make kvm_set_spte_hva() return int

2018-12-12 Thread Tianyu Lan
Hi Paul: Thanks for your review. On Wed, Dec 12, 2018 at 1:03 PM Paul Mackerras wrote: > > On Thu, Dec 06, 2018 at 09:21:10PM +0800, lantianyu1...@gmail.com wrote: > > From: Lan Tianyu > > > > The patch is to make kvm_set_spte_hva() return int and caller can > > check return value

Re: [PATCH v2] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2018-12-12 Thread Tomasz Figa
Hi Helen, On Sat, Nov 24, 2018 at 6:54 AM Helen Koike wrote: > > This flag tells core to jump ahead the queued update if the conditions > in drm_atomic_async_check() are met. That means we are only able to do an > async update if no modeset is pending and update for the same plane is > not

Re: [PATCH] rtlwifi: Fix non-working BSS STA mode

2018-12-12 Thread Pkshih
On Thu, 2018-12-13 at 13:36 +0800, Kai Heng Feng wrote: > > On Dec 13, 2018, at 08:35, Pkshih wrote: > >  > > On Wed, 2018-12-12 at 13:13 +0800, Kai-Heng Feng wrote: > >> Once BSS STA mode gets started, it can be scanned by other clients but > >> cannot entablish a connection. > >  ^^^

Re: [PATCH 4.19 014/110] usb: xhci: Prevent bus suspend if a port connect change or polling state is detected

2018-12-12 Thread Greg Kroah-Hartman
On Wed, Dec 12, 2018 at 11:53:34PM +0100, Thomas Zeitlhofer wrote: > Hello, > > On Thu, Nov 29, 2018 at 03:11:45PM +0100, Greg Kroah-Hartman wrote: > > 4.19-stable review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Mathias Nyman > > >

Re: [PATCH 1/2] scripts/spdxcheck.py: Always open files in binary mode

2018-12-12 Thread Uwe Kleine-König
On Wed, Dec 12, 2018 at 01:14:10PM -0500, Jeremy Cline wrote: > Hi, > > On Wed, Dec 12, 2018 at 02:12:09PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > The spdxcheck script currently falls over when confronted with a binary > > file (such as Documentation/logo.gif). To avoid

[PATCH v2] crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK

2018-12-12 Thread Christophe Leroy
[2.364486] WARNING: CPU: 0 PID: 60 at ./arch/powerpc/include/asm/io.h:837 dma_nommu_map_page+0x44/0xd4 [2.373579] CPU: 0 PID: 60 Comm: cryptomgr_test Tainted: GW 4.20.0-rc5-00560-g6bfb52e23a00-dirty #531 [2.384740] NIP: c000c540 LR: c000c584 CTR: [

Re: [GIT PULL] tee subsys for v4.21

2018-12-12 Thread Jens Wiklander
Hi Olof, On Wed, Dec 12, 2018 at 11:16 PM Olof Johansson wrote: > > On Wed, Dec 12, 2018 at 01:31:21PM +0100, Jens Wiklander wrote: > > Hello arm-soc maintainers, > > > > Please pull this small OP-TEE driver enhancement. A friendly log message > > is added to inform that dynamic shared memory is

Re: [GIT PULL] tee driver fix for v4.21

2018-12-12 Thread Jens Wiklander
On Wed, Dec 12, 2018 at 11:16 PM Olof Johansson wrote: > > On Wed, Dec 12, 2018 at 01:28:00PM +0100, Jens Wiklander wrote: > > Hello arm-soc maintainers, > > > > Please pull this tee driver fix for a possible double list_del() in the > > OP-TEE driver while uninitializing. > > > > Thanks, > >

Re: [PATCH] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-12-12 Thread kbuild test robot
Hi Rafael, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.20-rc6 next-20181212] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

RE: [PATCH] PCI: imx: make msi work without pcieportbus

2018-12-12 Thread Richard Zhu
> -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: 2018年12月13日 14:37 > To: Richard Zhu > Cc: bhelg...@google.com; lorenzo.pieral...@arm.com; > l.st...@pengutronix.de; andrew.smir...@gmail.com; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >

[PATCH v2 4/4] perf record: implement --affinity=node|cpu option

2018-12-12 Thread Alexey Budankov
Implement --affinity=node|cpu option for the record mode defaulting to system affinity mask bouncing. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/perf-record.txt | 5 + tools/perf/builtin-record.c | 18 ++ 2 files changed, 23 insertions(+)

[PATCH v2 2/4] perf record: bind the AIO user space buffers to nodes

2018-12-12 Thread Alexey Budankov
Allocate and bind AIO user space buffers to the memory nodes that mmap kernel buffers are bound to. Signed-off-by: Alexey Budankov --- Changes in v2: - implemented perf_mmap__aio_alloc, perf_mmap__aio_free, perf_mmap__aio_bind and put HAVE_LIBNUMA_SUPPORT #ifdefs in there ---

[PATCH v2 3/4] perf record: apply affinity masks when reading mmap, buffers

2018-12-12 Thread Alexey Budankov
Build node cpu masks for mmap data buffers. Apply node cpu masks to tool thread every time it references data buffers cross node or cross cpu. Signed-off-by: Alexey Budankov --- Changes in v2: - separated AIO buffers binding to patch 2/4 --- tools/perf/builtin-record.c | 9 +

[PATCH v2 1/4] perf record: allocate affinity masks

2018-12-12 Thread Alexey Budankov
Allocate affinity option and masks for mmap data buffers and record thread as well as initialize allocated objects. Signed-off-by: Alexey Budankov --- Changes in v2: - made debug affinity mode message user friendly - converted affinity mode defines to enum values ---

[PATCH 2/2] can: flexcan: add support for PE clock source select

2018-12-12 Thread Joakim Zhang
From: Dong Aisheng Add support to select the clock source for CAN Protocol Engine (PE). It's Soc Implementation dependent. Refer to RM for detailed definition of each Soc. We select clock source 1 (peripheral clock) by default in driver now, this patch add support to prase clock source in DTS

[PATCH 0/2] can: flexcan: add PE clock source select support

2018-12-12 Thread Joakim Zhang
The patch set intends to add support for PE clock source select. The FlexCAN controller can parse "fsl,clk-source" property from device tree to select clock source. Dong Aisheng (2): Documentation: can: flexcan: add PE clock source property to device tree can: flexcan: add support for PE

[PATCH 1/2] Documentation: can: flexcan: add PE clock source property to device tree

2018-12-12 Thread Joakim Zhang
From: Dong Aisheng The FlexCAN controller can parse clock source property from DTS file to select PE clock source. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 0/4] Reduce NUMA related overhead in perf record profiling on large server systems

2018-12-12 Thread Alexey Budankov
It has been observed that trace reading thread runs on the same hw thread most of the time during perf record sampling collection. This scheduling layout leads up to 30% profiling overhead in case when some cpu intensive workload fully utilizes a large server system with NUMA. Overhead usually

Re: [PATCH v1 2/3] perf record: apply affinity masks when reading mmap buffers

2018-12-12 Thread Alexey Budankov
Hi, On 12.12.2018 15:15, Jiri Olsa wrote: > On Wed, Dec 12, 2018 at 10:40:22AM +0300, Alexey Budankov wrote: >> >> Build node cpu masks for mmap data buffers. Bind AIO data buffers >> to nodes according to kernel data buffers location. Apply node cpu >> masks to trace reading thread every time

Re: [PATCH] proc/sysctl: don't return ENOMEM on lookup when a table is unregistering

2018-12-12 Thread Al Viro
On Wed, Dec 12, 2018 at 05:57:43PM -0800, Ivan Delalande wrote: > proc_sys_lookup can fail with ENOMEM instead of ENOENT when the > corresponding sysctl table is being unregistered. In our case we see > this upon opening /proc/sys/net/*/conf files while network interfaces > are being removed,

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-12 Thread Peter Ujfalusi
On 12/12/2018 16.50, Tony Lindgren wrote: > * Peter Ujfalusi [181212 13:03]: >> On 12/12/2018 2.19, Tony Lindgren wrote: >>> In my McBSP case there is only a single physical I2S port >>> that can be TDM split into timeslots. >> >> So what is missing from the McBSP driver is to configure the

Re: [PATCH v3 4/9] arm64: defconfig: Drop USB_ULPI_BUS and USB_CHIPIDEA_ULPI

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:02:18AM +0100, Marc Gonzalez wrote: > Commit a930d8bd94d8 ("usb: chipidea: Always build ULPI code") made > USB_CHIPIDEA select USB_ULPI_BUS, and removed USB_CHIPIDEA_ULPI. > > Reviewed-by: Fabio Estevam > Signed-off-by: Marc Gonzalez This one is the same as some of

Re: [PATCH v3 3/9] arm64: defconfig: Drop NF_CONNTRACK_IPV{4,6}

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:01:13AM +0100, Marc Gonzalez wrote: > Commit a0ae2562c6c4 ("netfilter: conntrack: remove l3proto abstraction") > folded NF_CONNTRACK_IPV4 and NF_CONNTRACK_IPV6 into NF_CONNTRACK. > > Signed-off-by: Marc Gonzalez Same here, this one is no longer needed either. -Olof

Re: [PATCH v3 6/9] arm64: defconfig: Drop redundant SND_SOC_ROCKCHIP_I2S

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:03:55AM +0100, Marc Gonzalez wrote: > SND_SOC_ROCKCHIP_RT5645 selects SND_SOC_ROCKCHIP_I2S > > Signed-off-by: Marc Gonzalez > --- > arch/arm64/configs/defconfig | 1 - > 1 file changed, 1 deletion(-) This one got covered by patch 1 too. -Olof

Re: [PATCH v3 8/9] arm64: defconfig: Change SCSI_UFS_HISI=m

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:08:07AM +0100, Marc Gonzalez wrote: > SCSI_UFS_HISI depends on SCSI_UFSHCD_PLATFORM=m > > Signed-off-by: Marc Gonzalez > --- > arch/arm64/configs/defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Another one that got covered by patch 1. -Olof

Re: [PATCH v3 5/9] arm64: defconfig: Replace PINCTRL_MT7622 with PINCTRL_MTK_MOORE

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:03:20AM +0100, Marc Gonzalez wrote: > Commit e78d57b2f87c ("pinctrl: mediatek: add pinctrl-moore that > implements the generic pinctrl dt-bindings") made PINCTRL_MT7622 > depend on PINCTRL_MTK_MOORE. > > Signed-off-by: Marc Gonzalez Applied, needed touchups. -Olof

Re: [PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 06:05:24AM +, Horia Geanta wrote: > On 11/9/2018 3:11 AM, Marc Gonzalez wrote: > > Commit e8342cc7954e ("enable CAAM crypto engine on QorIQ DPAA2 SoCs") > > enabled CRYPTO_DEV_FSL_DPAA2_CAAM, which depends on FSL_MC_DPIO, > > which is not set. Enable FSL_MC_BUS, and

Re: [PATCH v3 9/9] arm64: defconfig: Drop redundant sound codec options

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:08:41AM +0100, Marc Gonzalez wrote: > SND_SOC_RK3399_GRU_SOUND selects SND_SOC_DA7219, SND_SOC_MAX98357A, > SND_SOC_RT5514, SND_SOC_RT5514_SPI. > > SND_SOC_ROCKCHIP_RT5645 selects SND_SOC_RT5645. > > SND_SOC_RL6231 is pulled in for SND_SOC_RT5514 and SND_SOC_RT5645. >

Re: [PATCH v3 0/9] Regenerate arm64 defconfig for current kernel

2018-12-12 Thread Olof Johansson
On Tue, Dec 11, 2018 at 07:41:59AM -0800, Olof Johansson wrote: > On Wed, Dec 05, 2018 at 04:33:37PM +0100, Marc Gonzalez wrote: > > On 09/11/2018 01:54, Marc Gonzalez wrote: > > > > > Hello ARM maintainers, > > > > > > v3: Keep CRYPTO_DEV_FSL_DPAA2_CAAM in patch 7/9 > > > > > > v2: Improve

Re: [PATCH v3 2/9] arm64: defconfig: Drop ARM_BIG_LITTLE_CPUFREQ

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 02:00:28AM +0100, Marc Gonzalez wrote: > Commit a7314405d83c ("drop ARM_BIG_LITTLE_CPUFREQ support for ARM64") > dropped ARM_BIG_LITTLE_CPUFREQ support for ARM64, so remove it from > the defconfig. > > Acked-by: Viresh Kumar > Acked-by: Sudeep Holla > Acked-by: Mark

Re: [PATCH v3 1/9] arm64: defconfig: Regenerate for v4.20

2018-12-12 Thread Olof Johansson
On Fri, Nov 09, 2018 at 01:56:44AM +0100, Marc Gonzalez wrote: > Run the platform defconfig through kbuild, and handle the trivial case > where options merely move around. > > Signed-off-by: Marc Gonzalez Applied, which in reality meant that I had to redo what you did and commit that, but

linux-next: Tree for Dec 13

2018-12-12 Thread Stephen Rothwell
Hi all, Changes since 20181212: The rdma tree still had its build failure so I used a supplied patch. The akpm-current tree gained a conflict aaginst the arm64 tree. Non-merge commits (relative to Linus' tree): 8282 8923 files changed, 382977 insertions(+), 220160 deletions

Re: [PATCH] opp: Add API for getting voltage from supplies

2018-12-12 Thread Viresh Kumar
On 10-12-18, 20:36, Nick Fan wrote: > For the users who only use one supply, they can use > dev_pm_opp_get_voltage to get the voltage data from an opp. > But if the users who use more than one supply, they will need this API > to get their voltage data from OPP. > The users should know about the

Re: [PATCH] PCI: imx: make msi work without pcieportbus

2018-12-12 Thread Baruch Siach
Hi Richard, Thanks for debugging this issue. One question below. Richard Zhu writes: > MSI_EN of iMX PCIe RC would be asserted when > PCIEPORTBUS driver is selected. > Thus, the MSI works fine on iMX PCIe before. > Make a double check on this bit, and assert it > when it is not set and MSI is

Re: [PATCH] Export mm_update_next_owner function for vhost-net

2018-12-12 Thread Jason Wang
On 2018/12/13 下午12:47, gchen.guo...@gmail.com wrote: From: guomin chen Under normal circumstances,When do_exit exits, mm->owner will be updated on exit_mm(). but when the kernel process calls unuse_mm() and then exits,mm->owner cannot be updated. And it will point to a task that has

Re: [f2fs-dev] [PATCH] f2fs: add an ioctl() to explicitly trigger fsck later

2018-12-12 Thread Chao Yu
On 2018/12/13 11:56, Jaegeuk Kim wrote: > On 12/07, Chao Yu wrote: >> On 2018/12/1 4:36, Jaegeuk Kim wrote: >>> On 11/30, Chao Yu wrote: On 2018/11/29 9:52, Jaegeuk Kim wrote: > This adds an option in ioctl(F2FS_IOC_SHUTDOWN) in order to trigger fsck > by > setting a NEED_FSCK

Re: [PATCH v1 2/3] perf record: apply affinity masks when reading mmap buffers

2018-12-12 Thread Alexey Budankov
Hi, On 12.12.2018 15:15, Jiri Olsa wrote: > On Wed, Dec 12, 2018 at 10:40:22AM +0300, Alexey Budankov wrote: > > SNIP > >> int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd, >> int cpu) >> { >> +int c, nr_cpus, node; >> /* >> * The last one will be done

Re: [PATCH v1 1/3] perf record: allocate affinity masks

2018-12-12 Thread Alexey Budankov
Hi, On 12.12.2018 15:15, Jiri Olsa wrote: > On Wed, Dec 12, 2018 at 10:38:23AM +0300, Alexey Budankov wrote: >> >> Allocate affinity option and masks for mmap data buffers and >> record thread as well as initialize allocated objects. >> >> Signed-off-by: Alexey Budankov >> --- >>

Re: [PATCH v1 2/3] perf record: apply affinity masks when reading mmap buffers

2018-12-12 Thread Alexey Budankov
Hi, On 12.12.2018 15:14, Jiri Olsa wrote: > On Wed, Dec 12, 2018 at 10:40:22AM +0300, Alexey Budankov wrote: > > SNIP > >> diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c >> index e68ba754a8e2..0d017ea85dcb 100644 >> --- a/tools/perf/util/mmap.c >> +++ b/tools/perf/util/mmap.c >> @@

[PATCH] tty: serial: don't do termios for BTIF

2018-12-12 Thread Ryder Lee
The MediaTek BTIF controller doesn't need to set termios so add a new capability 'UART_CAP_NMOD' for the unsupported case. Signed-off-by: Sean Wang Signed-off-by: Ryder Lee --- drivers/tty/serial/8250/8250.h | 1 + drivers/tty/serial/8250/8250_port.c | 7 ++- 2 files changed, 7

[PATCH] PCI: imx: make msi work without pcieportbus

2018-12-12 Thread Richard Zhu
MSI_EN of iMX PCIe RC would be asserted when PCIEPORTBUS driver is selected. Thus, the MSI works fine on iMX PCIe before. Make a double check on this bit, and assert it when it is not set and MSI is supported. Otherwise, the MSI wouldn't be triggered although the EP is present and the MSIs are

Re: [PATCH net] net: ipv4: do not handle duplicate fragments as overlapping

2018-12-12 Thread Eric Dumazet
On 12/12/2018 06:28 PM, Michal Kubecek wrote: > Since commit 7969e5c40dfd ("ip: discard IPv4 datagrams with overlapping > segments.") IPv4 reassembly code drops the whole queue whenever an > overlapping fragment is received. However, the test is written in a way > which detects duplicate

Re: [PATCH] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-12-12 Thread kbuild test robot
Hi Rafael, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.20-rc6 next-20181212] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

[PATCH V6] iio: light: isl29018: add optional vcc regulator operation support

2018-12-12 Thread Anson Huang
The light sensor's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the light sensor isl29023's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any operation of sensor, this patch adds optional

Re: [PATCH v5 2/2] arm: dts: mt2712: add uart APDMA to device tree

2018-12-12 Thread Yingjoe Chen
On Tue, 2018-12-11 at 13:37 +0800, Long Cheng wrote: > 1. add uart APDMA controller device node > 2. add uart 0/1/2/3/4/5 DMA function > > Signed-off-by: Long Cheng > --- > arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 50 > + > 1 file changed, 50 insertions(+) > >

Re: [PATCH V2 1/1] device-dax: check for vma range while dax_mmap.

2018-12-12 Thread Yi Zhang
On 2018-12-10 at 16:10:31 -0800, Dan Williams wrote: > On Tue, Aug 21, 2018 at 12:38 AM Yi Zhang wrote: > > > > On 2018-08-20 at 12:50:31 -0700, Dave Jiang wrote: > > > > > > > > > On 08/20/2018 10:53 AM, Verma, Vishal L wrote: > > > > > > > > On Mon, 2018-08-13 at 20:02 +0800, Zhang Yi wrote: >

Re: [RFC PATCH 3/3] PCI: iproc: Add dma reserve resources to host

2018-12-12 Thread poza
On 2018-12-12 11:16, Srinath Mannam wrote: IPROC host has the limitation that it can use only those address ranges given by dma-ranges property as inbound address. So that the memory address holes in dma-ranges should be reserved to allocate as DMA address. All such reserved addresses are

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

2018-12-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm64/mm/mmu.c between commit: 4ab215061554 ("arm64: Add memory hotplug support") from the arm64 tree and commit: 232619fcc076 ("lib/ioremap: ensure break-before-make is used for huge p4d mappings")

Re: [PATCH net V3 0/3] Fix various issue of vhost

2018-12-12 Thread David Miller
From: Jason Wang Date: Thu, 13 Dec 2018 10:53:36 +0800 > This series tries to fix various issues of vhost: > > - Patch 1 adds a missing write barrier between used idx updating and > logging. > - Patch 2-3 brings back the protection of device IOTLB through vq > mutex, this fixes possible use

Re: [PATCH] debugobjects: Move printk out of db lock critical sections

2018-12-12 Thread Dmitry Safonov
On Thu, 13 Dec 2018 at 05:19, Sergey Senozhatsky wrote: > > On (12/13/18 04:35), Dmitry Safonov wrote: > > I've tried to review it and found minor issues like missed > > debug_object_is_on_stack() for initializing already active object. > > > > But than I come to opinion that it's just generally

Re: linux-next: Signed-off-by missing for commits in the bpf-next tree

2018-12-12 Thread Alexei Starovoitov
On Thu, Dec 13, 2018 at 04:37:28PM +1100, Stephen Rothwell wrote: > Hi Alexei, > > On Wed, 12 Dec 2018 20:33:41 -0800 Alexei Starovoitov > wrote: > > > > If Stephen's scripts can recognize SOB anywhere in the log then > > --signoff can theoretically solve it. > > My script just grabs all the

Re: [PATCH] net-next: stmmac: dwmac-mediatek: add module license info

2018-12-12 Thread David Miller
From: Biao Huang Date: Thu, 13 Dec 2018 10:41:37 +0800 > Add MODULE_LICENSE info to fix this: > WARNING: modpost: missing MODULE_LICENSE() in > drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.o > > Signed-off-by: Biao Huang Applied, thanks for fixing this properly.

Re: [PATCH net] net: ipv4: do not handle duplicate fragments as overlapping

2018-12-12 Thread David Miller
From: Michal Kubecek Date: Thu, 13 Dec 2018 03:28:00 +0100 (CET) > Since commit 7969e5c40dfd ("ip: discard IPv4 datagrams with overlapping > segments.") IPv4 reassembly code drops the whole queue whenever an > overlapping fragment is received. However, the test is written in a way > which

Re: [PATCH] arm64: invalidate TLB before turning MMU on

2018-12-12 Thread Bhupesh Sharma
Hi Qian Cai, On Thu, Dec 13, 2018 at 10:53 AM Qian Cai wrote: > > On this HPE Apollo 70 arm64 server with 256 CPUs, triggering a crash > dump just hung. It has 4 threads on each core. Each 2-core share a same > L1 and L2 caches, so that is 8 CPUs shares those. All CPUs share a same > L3 cache. >

Re: [v7, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread David Miller
From: Biao Huang Date: Thu, 13 Dec 2018 09:56:11 +0800 > Changes in v7: > Add MODULE_LICENSE info in driver. Biao, I said I need a "fixup" patch, not the whole series again. I've already applied your patches, and you need to send me a small fix on top. This shows that you are not generating

Re: [LKP] [tty] c96cf923a9: WARNING:possible_circular_locking_dependency_detected

2018-12-12 Thread Sergey Senozhatsky
On (12/12/18 10:07), Peter Zijlstra wrote: > > + uart_port_lock(state, flags); > > + xmit_buf = state->xmit.buf; > > + state->xmit.buf = NULL; > > + uart_port_unlock(uport, flags); > > + > > /* > > * Free the transmit buffer page. > > */ > > - uart_port_lock(state, flags);

Re: linux-next: Signed-off-by missing for commits in the bpf-next tree

2018-12-12 Thread Stephen Rothwell
Hi Alexei, On Wed, 12 Dec 2018 20:33:41 -0800 Alexei Starovoitov wrote: > > If Stephen's scripts can recognize SOB anywhere in the log then > --signoff can theoretically solve it. My script just grabs all the Signed-off-by lines in the commit message. > Unfortunately it's "Incompatible with

Re: [PATCH] rtlwifi: Fix non-working BSS STA mode

2018-12-12 Thread Kai Heng Feng
> On Dec 13, 2018, at 08:35, Pkshih wrote: > > On Wed, 2018-12-12 at 13:13 +0800, Kai-Heng Feng wrote: >> Once BSS STA mode gets started, it can be scanned by other clients but >> cannot entablish a connection. > ^^^ typo: establish >> >> Turns out the set_bcn_reg() and its

[PATCH] arm64: invalidate TLB before turning MMU on

2018-12-12 Thread Qian Cai
On this HPE Apollo 70 arm64 server with 256 CPUs, triggering a crash dump just hung. It has 4 threads on each core. Each 2-core share a same L1 and L2 caches, so that is 8 CPUs shares those. All CPUs share a same L3 cache. It turned out that this was due to the TLB contained stale entries (or

Re: [RFC PATCH v1 0/5] Add support for O_MAYEXEC

2018-12-12 Thread Florian Weimer
* Matthew Wilcox: > On Wed, Dec 12, 2018 at 09:17:07AM +0100, Mickaël Salaün wrote: >> The goal of this patch series is to control script interpretation. A >> new O_MAYEXEC flag used by sys_open() is added to enable userland script >> interpreter to delegate to the kernel (and thus the system

Re: [PATCH] debugobjects: Move printk out of db lock critical sections

2018-12-12 Thread Sergey Senozhatsky
On (12/13/18 04:35), Dmitry Safonov wrote: > I've tried to review it and found minor issues like missed > debug_object_is_on_stack() for initializing already active object. > > But than I come to opinion that it's just generally unsafe: > debug_obj life-time is protected by bucket's spin_lock. >

[PATCH v3] mm: thp: fix flags for pmd migration when split

2018-12-12 Thread Peter Xu
When splitting a huge migrating PMD, we'll transfer all the existing PMD bits and apply them again onto the small PTEs. However we are fetching the bits unconditionally via pmd_soft_dirty(), pmd_write() or pmd_yound() while actually they don't make sense at all when it's a migration entry. Fix

Re: [RFC PATCH v1 0/5] Add support for O_MAYEXEC

2018-12-12 Thread Florian Weimer
* James Morris: > On Wed, 12 Dec 2018, Florian Weimer wrote: > >> * James Morris: >> >> > If you're depending on the script interpreter to flag that the user may >> > execute code, this seems to be equivalent in security terms to depending >> > on the user. e.g. what if the user uses ptrace

Re: [PATCH] serial: 8250: Fix clearing FIFOs in RS485 mode again

2018-12-12 Thread Paul Burton
Hi Marek, On Thu, Dec 13, 2018 at 05:18:19AM +0100, Marek Vasut wrote: > >>> I wonder whether the issue may be the JZ4780 UART not automatically > >>> resetting the FIFOs when FCR[0] changes. This is a guess, but the manual > >>> doesn't explicitly say it'll happen & the programming example it

Re: working toolchain for c-sky

2018-12-12 Thread Guenter Roeck
On 12/11/18 11:33 PM, Guo Ren wrote: On Tue, Dec 11, 2018 at 11:57:15AM -0800, Guenter Roeck wrote: Hi, can someone point me to a working c-sky toolchain ? I tried several from https://github.com/c-sky/tools/, but they all fail to build csky:defconfig with various error messages. Try this:

Re: [PATCH] ASoC: simple-card: Dereference pointer for memcpy sizeof in asoc_simple_card_probe

2018-12-12 Thread Nathan Chancellor
On Thu, Dec 13, 2018 at 02:07:42PM +0900, Kuninori Morimoto wrote: > > Hi Nathan > > > sound/soc/generic/simple-card.c:462:6: warning: argument to 'sizeof' in > > 'memcpy' call is the same pointer type 'struct asoc_simple_dai *' as the > > source; expected 'struct asoc_simple_dai' or an explicit

Re: [PATCH] ASoC: simple-card: Dereference pointer for memcpy sizeof in asoc_simple_card_probe

2018-12-12 Thread Kuninori Morimoto

Re: Can we drop upstream Linux x32 support?

2018-12-12 Thread Kevin Easton
On Tue, Dec 11, 2018 at 11:29:14AM +0100, John Paul Adrian Glaubitz wrote: ... > I can't say anything about the syscall interface. However, what I do know > is that the weird combination of a 32-bit userland with a 64-bit kernel > interface is sometimes causing issues. For example, application

[PATCH] tty/serial: do not free trasnmit buffer page under port lock

2018-12-12 Thread Sergey Senozhatsky
LKP has hit yet another circular locking dependency between uart console drivers and debugobjects [1]: CPU0CPU1 rhltable_init() __init_work()

Re: [PATCH RESEND v7 3/4] clk: meson: add sub MMC clock controller driver

2018-12-12 Thread Jianxin Pan
On 2018/12/12 0:59, Jerome Brunet wrote: > On Tue, 2018-12-11 at 00:04 +0800, Jianxin Pan wrote: >> From: Yixun Lan >> [...] >> >> +config COMMON_CLK_MMC_MESON >> +tristate "Meson MMC Sub Clock Controller Driver" >> +select MFD_SYSCON >> +select COMMON_CLK_AMLOGIC >> +select

[PATCH AUTOSEL 4.19 03/73] i2c: rcar: check bus state before reinitializing

2018-12-12 Thread Sasha Levin
From: Wolfram Sang [ Upstream commit 0b57436f15bf40e432487086c4f2d01fd3529393 ] We should check the bus state before reinitializing the IP core. Otherwise, the internal bus busy state which also tracks multi-master activity is lost. Credits go to the Renesas BSP team for suggesting this

[PATCH AUTOSEL 4.19 05/73] scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload

2018-12-12 Thread Sasha Levin
From: Cathy Avery [ Upstream commit 02f425f811cefcc4d325d7a72272651e622dc97e ] Currently pvscsi_remove calls free_irq more than once as pvscsi_release_resources and __pvscsi_shutdown both call pvscsi_shutdown_intr. This results in a 'Trying to free already-free IRQ' warning and stack trace. To

[PATCH AUTOSEL 4.19 08/73] net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM

2018-12-12 Thread Sasha Levin
From: Kunihiko Hayashi [ Upstream commit 88113957ddb7b7d5451e28cd708c82ea7e63b097 ] In commit 26a4676faa1a ("arm64: mm: define NET_IP_ALIGN to 0"), AVE controller affects this modification because the controller forces to ignore lower 2bits of buffer start address, and make 2-byte headroom,

[PATCH AUTOSEL 4.19 14/73] drm/msm: fix handling of cmdstream offset

2018-12-12 Thread Sasha Levin
From: Rob Clark [ Upstream commit 47e7f506ee6590ceb2efa1f08aca7f9f2ee5c1d3 ] Userspace hasn't used submit cmds with submit_offset != 0 for a while, but this starts cropping up again with cmdstream sub-buffer-allocation in libdrm_freedreno. Doesn't do much good to increment the buf ptr before

[PATCH AUTOSEL 4.19 09/73] net: phy: sfp: correct store of detected link modes

2018-12-12 Thread Sasha Levin
From: Baruch Siach [ Upstream commit d7f7e0018b96fd1a30a968faa9464eb57372c1ec ] The link modes that sfp_parse_support() detects are stored in the 'modes' bitmap. There is no reason to make an exception for 1000Base-PX or 1000Base-BX10. Fixes: 03145864bd0f ("sfp: support 1G BiDi (eg, FiberStore

[PATCH AUTOSEL 4.19 04/73] scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset

2018-12-12 Thread Sasha Levin
From: Fred Herard [ Upstream commit 5db6dd14b31397e8cccaaddab2ff44ebec1acf25 ] This commit addresses NULL pointer dereference in iscsi_eh_session_reset. Reference should not be made to session->leadconn when session->state is set to ISCSI_STATE_TERMINATE. Signed-off-by: Fred Herard

[PATCH AUTOSEL 4.19 10/73] drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)

2018-12-12 Thread Sasha Levin
From: Roman Li [ Upstream commit c679fd55b1ba903c2a770127edbf6aef6f27 ] [Why] More than 4x4K didn't lightup on Vega20 due to low dcfclk value. Powerplay expects valid min requirement for dcfclk from DC. [How] Update min_dcfclock_khz based on min_engine_clock value. v2: backport to 4.20

[PATCH AUTOSEL 4.19 15/73] drm/msm/dsi: configure VCO rate for 10nm PLL driver

2018-12-12 Thread Sasha Levin
From: Abhinav Kumar [ Upstream commit 8531f0587f5c9e1a74cd9543a97617349f5e0706 ] Currenty the VCO rate in the 10nm PLL driver relies on the parent rate which is not configured. Configure the VCO rate to 19.2 Mhz as required by the 10nm PLL driver. Signed-off-by: Abhinav Kumar Signed-off-by:

[PATCH AUTOSEL 4.19 18/73] drm/amdgpu: wait for IB test on first device open

2018-12-12 Thread Sasha Levin
From: Christian König [ Upstream commit 3bfa8897e4d08f822d1d58cf6cbbffbccef82e08 ] Instead of delaying that to the first query. Otherwise we could try to use the SDMA for VM updates before the IB tests are done. Signed-off-by: Christian König Reviewed-by: Chunming Zhou Reviewed-by: Junwei

[PATCH AUTOSEL 4.19 17/73] drm/ttm: fix LRU handling in ttm_buffer_object_transfer

2018-12-12 Thread Sasha Levin
From: Christian König [ Upstream commit d6e820fcd4cf08b11d291a1dd7bbd0636914647c ] We need to set the NO_EVICT flag on the ghost object or otherwise we are adding it to the LRU. When it is added to the LRU we can run into a race between destroying and evicting it again. Signed-off-by:

[PATCH AUTOSEL 4.19 16/73] drm/msm: Grab a vblank reference when waiting for commit_done

2018-12-12 Thread Sasha Levin
From: Sean Paul [ Upstream commit 3b712e43e3876b42b38321ecf790a1f5fe59c834 ] Similar to the atomic helpers, we should enable vblank while we're waiting for the commit to finish. DPU needs this, MDP5 seems to work fine without it. Reviewed-by: Abhinav Kumar Signed-off-by: Sean Paul

RE: [PATCH AUTOSEL 4.9 21/34] net: phy: Fix not to call phy_resume() if PHY is not attached

2018-12-12 Thread Yoshihiro Shimoda
Hi, > From: Sasha Levin, Sent: Thursday, December 13, 2018 1:32 PM > > From: Yoshihiro Shimoda > > [ Upstream commit ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a ] This upstream commit is reverted on mainline as I mentioned other email thread [1]. So, we should not backport this patch. [1]

[PATCH AUTOSEL 4.19 19/73] ARC: io.h: Implement reads{x}()/writes{x}()

2018-12-12 Thread Sasha Levin
From: Jose Abreu [ Upstream commit 10d443431dc2bb733cf7add99b453e3fb9047a2e ] Some ARC CPU's do not support unaligned loads/stores. Currently, generic implementation of reads{b/w/l}()/writes{b/w/l}() is being used with ARC. This can lead to misfunction of some drivers as generic functions do a

[PATCH AUTOSEL 4.19 23/73] bpf: Fix verifier log string check for bad alignment.

2018-12-12 Thread Sasha Levin
From: David Miller [ Upstream commit c01ac66b38660f2b507ccd0b75d28e3002d56fbb ] The message got changed a lot time ago. This was responsible for 36 test case failures on sparc64. Fixes: f1174f77b50c ("bpf/verifier: rework value tracking") Signed-off-by: David S. Miller Signed-off-by: Alexei

[PATCH AUTOSEL 4.19 24/73] liquidio: read sc->iq_no before release sc

2018-12-12 Thread Sasha Levin
From: Pan Bian [ Upstream commit c0f53771ba45745e5870daf880127925c93f232f ] The function lio_vf_rep_packet_sent_callback releases the occupation of sc via octeon_free_soft_command. sc should not be used after that. Unfortunately, sc->iq_no is read. To fix this, the patch stores sc->iq_no into a

[PATCH AUTOSEL 4.19 21/73] net: aquantia: fix rx checksum offload bits

2018-12-12 Thread Sasha Levin
From: Dmitry Bogdanov [ Upstream commit 37c4b91f955fdd5f4ad771956b97d35f1321098e ] The last set of csum offload fixes had a leak: Checksum enabled status bits from rx descriptor were incorrectly interpreted. Consequently all the other valid logic worked on zero bits. That caused rx checksum

[PATCH AUTOSEL 4.19 25/73] nfs: don't dirty kernel pages read by direct-io

2018-12-12 Thread Sasha Levin
From: Dave Kleikamp [ Upstream commit ad3cba223ac02dc769c3bbe88efe277bbb457566 ] When we use direct_IO with an NFS backing store, we can trigger a WARNING in __set_page_dirty(), as below, since we're dirtying the page unnecessarily in nfs_direct_read_completion(). To fix, replicate the logic

Re: [PATCH] Allow hwrng to initialize crng.

2018-12-12 Thread Louis Collard
On Sun, Nov 18, 2018 at 4:15 AM Michael Niewöhner wrote: > > Hi Louis, > > On Wed, 2018-09-26 at 11:24 +0800, Louis Collard wrote: > > Some systems, for example embedded systems, do not generate > > enough entropy on boot through interrupts, and boot may be blocked for > > several minutes waiting

[PATCH AUTOSEL 4.19 27/73] SUNRPC: Fix a potential race in xprt_connect()

2018-12-12 Thread Sasha Levin
From: Trond Myklebust [ Upstream commit 0a9a4304f3614e25d9de9b63502ca633c01c0d70 ] If an asynchronous connection attempt completes while another task is in xprt_connect(), then the call to rpc_sleep_on() could end up racing with the call to xprt_wake_pending_tasks(). So add a second test of the

[PATCH AUTOSEL 4.19 29/73] drivers/sbus/char: add of_node_put()

2018-12-12 Thread Sasha Levin
From: Yangtao Li [ Upstream commit 6bd520ab7cf69486ea81fd3cdfd2d5a390ad1100 ] use of_node_put() to release the refcount. Signed-off-by: Yangtao Li Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/sbus/char/envctrl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

RE: [PATCH AUTOSEL 4.14 25/41] net: phy: Fix not to call phy_resume() if PHY is not attached

2018-12-12 Thread Yoshihiro Shimoda
Hi, > From: Sasha Levin, Sent: Thursday, December 13, 2018 1:31 PM > > From: Yoshihiro Shimoda > > [ Upstream commit ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a ] This upstream commit is also reverted on mainline as I mentioned other email thread [1]. So, we should not backport this patch. [1]

[PATCH AUTOSEL 4.19 32/73] drm/msm/hdmi: Enable HPD after HDMI IRQ is set up

2018-12-12 Thread Sasha Levin
From: Todor Tomov [ Upstream commit ee4456359640defe3f51cc6b728bfce4bc444c9e ] SoCs that contain MDP5 have a top level wrapper called MDSS that manages locks, power and irq for the sub-blocks within it. Irq for HDMI is also routed through the MDSS. Shortly after the Hot Plug Detection (HPD)

[PATCH AUTOSEL 4.19 39/73] Input: synaptics - enable SMBus for HP 15-ay000

2018-12-12 Thread Sasha Levin
From: Teika Kazura [ Upstream commit 5a6dab15f7a79817cab4af612ddd99eda793fce6 ] SMBus works fine for the touchpad with id SYN3221, used in the HP 15-ay000 series, This device has been reported in these messages in the "linux-input" mailing list: *

  1   2   3   4   5   6   7   8   9   10   >