[PATCH v2 net-next] net: axienet: In kconfig add ARM64 as supported platform

2019-10-21 Thread Radhey Shyam Pandey
xilinx axi_emac driver is supported on ZynqMP UltraScale platform. So enable ARCH64 in kconfig. It also removes redundant ARCH_ZYNQ dependency. Basic sanity testing is done on zu+ mpsoc zcu102 evaluation board. Signed-off-by: Radhey Shyam Pandey --- Changes for v2: Remove redundant ARCH_ZYNQ depe

Re: [PATCH 5/5] rtc: rtc-rc5t583: add ricoh rc5t619 RTC driver

2019-10-21 Thread Alexandre Belloni
Hi, The subject line is weird, how is it related to rc5t583? On 21/10/2019 07:41:04+0200, Andreas Kemnade wrote: > config RTC_DRV_S35390A > tristate "Seiko Instruments S-35390A" > select BITREVERSE > diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile > index 6b09c21dc1b6..1d067

Re: pwm_bl on i.MX6Q broken on 5.4-RC1+

2019-10-21 Thread Uwe Kleine-König
Hello Ondřej, On Sun, Oct 20, 2019 at 08:24:28PM +0200, Ondřej Jirman wrote: > On Wed, Oct 16, 2019 at 02:55:54PM -0500, Adam Ford wrote: > > I have an i.MX6Q with an LCD and PWM controlled backlight. On 5.4-RC1 > > through the current master (16 Oct 2019), the backlight does not come > > on by d

Re: [PATCH] scsi: lpfc: Honor module parameter lpfc_use_adisc

2019-10-21 Thread Hannes Reinecke
On 10/21/19 12:05 PM, Daniel Wagner wrote: > The initial lpfc_desc_set_adisc implementation dea3101e0a5c ("lpfc: > add Emulex FC driver version 8.0.28") enabled ADISC if > > cfg_use_adisc && RSCN_MODE && FCP_2_DEVICE > > In commit 92d7f7b0cde3 ("[SCSI] lpfc: NPIV: add NPIV support on top of

Re: [PATCH v2] include/linux/byteorder/generic.h: fix signed/unsigned warnings

2019-10-21 Thread Anatol Belski
On Mon, 2019-10-21 at 12:38 +0300, Andy Shevchenko wrote: > We have explicitly disabled this warnings in the kernel Makefile. > How did you achieve this? (yes, I know the possible answer, perhaps > this has to be mentioned as well) Added W=12 to the make command, used GCC 9.1.0. There are quite som

[PATCH] lib/vdso: Make clock_getres() POSIX compliant again

2019-10-21 Thread Thomas Gleixner
A recent commit removed the NULL pointer check from the clock_getres() implementation causing a test case to fault. POSIX requires an explicit NULL pointer check for clock_getres() aside of the validity check of the clock_id argument for obscure reasons. Add it back for both 32bit and 64bit. Not

[PATCH] scsi: lpfc: Honor module parameter lpfc_use_adisc

2019-10-21 Thread Daniel Wagner
The initial lpfc_desc_set_adisc implementation dea3101e0a5c ("lpfc: add Emulex FC driver version 8.0.28") enabled ADISC if cfg_use_adisc && RSCN_MODE && FCP_2_DEVICE In commit 92d7f7b0cde3 ("[SCSI] lpfc: NPIV: add NPIV support on top of SLI-3") this changed to (cfg_use_adisc && R

Re: [PATCH] perf/core: fix multiplexing event scheduling issue

2019-10-21 Thread Peter Zijlstra
On Thu, Oct 17, 2019 at 05:27:46PM -0700, Stephane Eranian wrote: > @@ -2153,6 +2157,7 @@ __perf_remove_from_context(struct perf_event *event, > void *info) > { > unsigned long flags = (unsigned long)info; > + int was_necessary = ctx->rotate_necessary; > >

[PATCH] ia64: remove stale paravirt leftovers

2019-10-21 Thread Juergen Gross
Remove the last leftovers from IA64 Xen pv-guest support. PARAVIRT is long gone from IA64 Kconfig and Xen IA64 support, too. Due to lack of infrastructure no testing done. Signed-off-by: Juergen Gross --- arch/ia64/include/asm/irqflags.h | 4 --- arch/ia64/include/uapi/asm/gcc_intrin

Re: [PATCH] pwm: cros-ec: Let cros_ec_pwm_get_state() return the last applied state

2019-10-21 Thread Thierry Reding
On Mon, Oct 21, 2019 at 11:42:05AM +0200, Enric Balletbo i Serra wrote: > Hi Thierry, > On 17/10/19 13:35, Thierry Reding wrote: > > On Wed, Oct 09, 2019 at 03:47:43PM +0200, Enric Balletbo i Serra wrote: > > [snip] > > > > > --- >8 --- > > From 15245e5f0dc02af021451b098df93901c9f49373 Mon Sep 1

Re: [RFC 1/2] vhost: IFC VF hardware operation layer

2019-10-21 Thread Zhu, Lingshan
On 10/16/2019 4:40 PM, Jason Wang wrote: On 2019/10/16 上午9:30, Zhu Lingshan wrote: This commit introduced ifcvf_base layer, which handles IFC VF NIC hardware operations and configurations. It's better to describe the difference between ifc vf and virtio in the commit log or is there a ope

Re: [PATCH] proc: fix inode uid/gid writeback race

2019-10-21 Thread Marco Elver
On Mon, 21 Oct 2019 at 11:24, Marco Elver wrote: > > On Sun, 20 Oct 2019 at 19:30, Alexey Dobriyan wrote: > > > > (euid, egid) pair is snapshotted correctly from task under RCU, > > but writeback to inode can be done in any order. > > > > Fix by doing writeback under inode->i_lock where necessary

Re: [PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-21 Thread Alexey Budankov
On 21.10.2019 10:59, Ingo Molnar wrote: > > * Alexey Budankov wrote: > >> +/* >> + * PMU specific parts of task perf context may require >> + * additional synchronization, at least for proper Intel >> + * LBR calls

Re: [RFC 1/2] vhost: IFC VF hardware operation layer

2019-10-21 Thread Zhu, Lingshan
On 10/16/2019 4:45 PM, Jason Wang wrote: On 2019/10/16 上午9:30, Zhu Lingshan wrote: + */ +#define IFCVF_TRANSPORT_F_START 28 +#define IFCVF_TRANSPORT_F_END   34 + +#define IFC_SUPPORTED_FEATURES \ +    ((1ULL << VIRTIO_NET_F_MAC)    | \ + (1ULL << VIRTIO_F_ANY_LAYOUT)  

Re: [PATCH] pwm: cros-ec: Let cros_ec_pwm_get_state() return the last applied state

2019-10-21 Thread Uwe Kleine-König
On Mon, Oct 21, 2019 at 11:42:05AM +0200, Enric Balletbo i Serra wrote: > Hi Thierry, > On 17/10/19 13:35, Thierry Reding wrote: > > On Wed, Oct 09, 2019 at 03:47:43PM +0200, Enric Balletbo i Serra wrote: > > [snip] > > > > > --- >8 --- > > From 15245e5f0dc02af021451b098df93901c9f49373 Mon Sep 1

Re: [RFC 1/2] vhost: IFC VF hardware operation layer

2019-10-21 Thread Zhu, Lingshan
On 10/16/2019 5:53 PM, Simon Horman wrote: Hi Zhu, thanks for your patch. On Wed, Oct 16, 2019 at 09:10:40AM +0800, Zhu Lingshan wrote: This commit introduced ifcvf_base layer, which handles IFC VF NIC hardware operations and configurations. Signed-off-by: Zhu Lingshan --- drivers/vhost/

Re: [PATCH V9 2/2] arm64/mm: Enable memory hot remove

2019-10-21 Thread Anshuman Khandual
On 10/21/2019 03:23 PM, Anshuman Khandual wrote: > > On 10/18/2019 03:18 PM, Catalin Marinas wrote: >> On Fri, Oct 11, 2019 at 08:26:32AM +0530, Anshuman Khandual wrote: >>> On 10/10/2019 05:04 PM, Catalin Marinas wrote: Mark Rutland mentioned at some point that, as a preparatory patch to

[PATCH v6 2/2] phy: intel-lgm-emmc: Add support for eMMC PHY

2019-10-21 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add support for eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan Reviewed-by: Andy Shevchenko --- drivers/phy/Kconfig| 1 + drivers/phy/Makefile | 1 + drivers/phy/intel/Kconfig |

[PATCH v6 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY

2019-10-21 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- --- .../bindings/phy/intel,lgm-emmc-phy.yaml | 63 ++ 1 file changed, 63 insert

[PATCH v6 0/2] phy: intel,lgm-emmc-phy: Add support for eMMC PHY on Intel LGM SoC

2019-10-21 Thread Ramuthevar,Vadivel MuruganX
Rebased to kernel verson 5.4 dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY changes in v6: - cobined comaptible strings - added as contiguous and can be a single entry for reg properties changes in v5: - earlier Review-by tag given by Rob - rework done with syscon

RE: [EXT] [RFT] dmaengine: fsl-qdma: Handle invalid qdma-queue0 IRQ

2019-10-21 Thread Peng Ma
Hi Krzysztof, Thanks for your patch. Reviewed-by: Peng Ma Tested-by: Peng Ma Best Regards, Peng >-Original Message- >From: Krzysztof Kozlowski >Sent: 2019年10月4日 23:08 >To: Vinod Koul ; Dan Williams ; >Peng Ma ; Wen He ; Jiaheng Fan >; Krzysztof Kozlowski ; >dmaeng...@vger.kernel.org; l

Re: [RFC 2/2] vhost: IFC VF vdpa layer

2019-10-21 Thread Zhu, Lingshan
On 10/16/2019 6:19 PM, Jason Wang wrote: On 2019/10/16 上午9:30, Zhu Lingshan wrote: This commit introduced IFC VF operations for vdpa, which complys to vhost_mdev interfaces, handles IFC VF initialization, configuration and removal. Signed-off-by: Zhu Lingshan ---   drivers/vhost/ifcvf/ifcvf

Re: [PATCH V9 2/2] arm64/mm: Enable memory hot remove

2019-10-21 Thread Anshuman Khandual
On 10/18/2019 03:18 PM, Catalin Marinas wrote: > On Fri, Oct 11, 2019 at 08:26:32AM +0530, Anshuman Khandual wrote: >> On 10/10/2019 05:04 PM, Catalin Marinas wrote: >>> Mark Rutland mentioned at some point that, as a preparatory patch to >>> this series, we'd need to make sure we don't hot-remo

[PATCH 17/16] mm,hwpoison: introduce MF_MSG_UNSPLIT_THP

2019-10-21 Thread Naoya Horiguchi
On Mon, Oct 21, 2019 at 07:04:40AM +, Naoya Horiguchi wrote: > On Thu, Oct 17, 2019 at 04:21:16PM +0200, Oscar Salvador wrote: > > Place the THP's page handling in a helper and use it > > from both hard and soft-offline machinery, so we get rid > > of some duplicated code. > > > > Signed-off-b

Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1

2019-10-21 Thread Marco Felsch
On 19-10-21 09:46, Peng Fan wrote: > > Subject: Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for > > fec1 > > > > Hi, > > > > On 19-10-21 09:21, Peng Fan wrote: > > > From: Peng Fan > > > > > > We should not rely on U-Boot to configure the phy reset. nitpick: s/U-Boot/bootloader/

[PATCH 3/3] mm, pcpu: Make zone pcp updates and reset internal to the mm

2019-10-21 Thread Mel Gorman
Memory hotplug needs to be able to reset and reinit the pcpu allocator batch and high limits but this action is internal to the VM. Move the declaration to internal.h Signed-off-by: Mel Gorman Acked-by: Michal Hocko --- include/linux/mm.h | 3 --- mm/internal.h | 3 +++ 2 files changed, 3

[PATCH 2/3] mm, pcp: Share common code between memory hotplug and percpu sysctl handler

2019-10-21 Thread Mel Gorman
Both the percpu_pagelist_fraction sysctl handler and memory hotplug have a common requirement of updating the pcpu page allocation batch and high values. Split the relevant helper to share common code. No functional change. Signed-off-by: Mel Gorman Acked-by: Michal Hocko --- mm/page_alloc.c |

[PATCH 1/3] mm, meminit: Recalculate pcpu batch and high limits after init completes

2019-10-21 Thread Mel Gorman
Deferred memory initialisation updates zone->managed_pages during the initialisation phase but before that finishes, the per-cpu page allocator (pcpu) calculates the number of pages allocated/freed in batches as well as the maximum number of pages allowed on a per-cpu list. As zone->managed_pages i

[PATCH 0/3] Recalculate per-cpu page allocator batch and high limits after deferred meminit v2

2019-10-21 Thread Mel Gorman
This is an updated series that addresses some review feedback and an LKP warning. I did not preserve Michal Hocko's ack for the fix as it has changed. This series replaces the following patches in mmotm mm-pcp-share-common-code-between-memory-hotplug-and-percpu-sysctl-handler.patch mm-meminit-re

Re: drivers/usb/usbip/vhci_tx.c:150:8-18: ERROR: reference preceded by free on line 150 (fwd)

2019-10-21 Thread Julia Lawall
On Mon, 21 Oct 2019, Suwan Kim wrote: > On Sat, Oct 19, 2019 at 07:49:29PM +0200, Julia Lawall wrote: > > Is it guaranteed that if usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS (line > > 123) is true on one iteration, then it will be true on all iterations? If > > not, then it could be good to se

[PATCH v3] tools/lib/traceevent, perf tools: Handle %pU format correctly

2019-10-21 Thread Qu Wenruo
[BUG] For btrfs related events, there is a field for fsid, but perf never parse it correctly. # perf trace -e btrfs:qgroup_meta_convert xfs_io -f -c "pwrite 0 4k" \ /mnt/btrfs/file1 0.000 xfs_io/77915 btrfs:qgroup_meta_reserve:(nil)U: refroot=5(FS_TREE) type=0x0 diff=2

Re: [PATCH v2 05/11] ASoC: wcd934x: add playback dapm widgets

2019-10-21 Thread Srinivas Kandagatla
Thanks Rojewski for taking time to review. On 20/10/2019 21:05, Cezary Rojewski wrote: On 2019-10-18 02:18, Srinivas Kandagatla wrote: +static int wcd934x_codec_enable_slim(struct snd_soc_dapm_widget *w, + struct snd_kcontrol *kc, +   int event) +{ +    s

RE: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1

2019-10-21 Thread Peng Fan
> Subject: Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for > fec1 > > Hi, > > On 19-10-21 09:21, Peng Fan wrote: > > From: Peng Fan > > > > We should not rely on U-Boot to configure the phy reset. > > So introduce phy-reset-gpios property to let Linux handle phy reset > > itself.

Re: drivers/usb/usbip/vhci_tx.c:150:8-18: ERROR: reference preceded by free on line 150 (fwd)

2019-10-21 Thread Suwan Kim
On Sat, Oct 19, 2019 at 07:49:29PM +0200, Julia Lawall wrote: > Is it guaranteed that if usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS (line > 123) is true on one iteration, then it will be true on all iterations? If > not, then it could be good to set iso_buffer to NULL after the kfree on > line 150

Re: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1

2019-10-21 Thread Marco Felsch
Hi, On 19-10-21 09:21, Peng Fan wrote: > From: Peng Fan > > We should not rely on U-Boot to configure the phy reset. > So introduce phy-reset-gpios property to let Linux handle phy reset > itself. > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 1 + > 1 file

Re: [PATCH v2 2/2] mm/memory-failure.c: Don't access uninitialized memmaps in memory_failure()

2019-10-21 Thread David Hildenbrand
On 19.10.19 04:05, Andrew Morton wrote: On Thu, 10 Oct 2019 09:17:42 +0200 David Hildenbrand wrote: - pgmap = get_dev_pagemap(pfn, NULL); - if (pgmap) - return memory_failure_dev_pagemap(pfn, flags, pgmap); - - p = pfn_to_page(pfn); This change seems to assume

Re: [PATCH] pwm: cros-ec: Let cros_ec_pwm_get_state() return the last applied state

2019-10-21 Thread Enric Balletbo i Serra
Hi Thierry, On 17/10/19 13:35, Thierry Reding wrote: > On Wed, Oct 09, 2019 at 03:47:43PM +0200, Enric Balletbo i Serra wrote: [snip] > > --- >8 --- > From 15245e5f0dc02af021451b098df93901c9f49373 Mon Sep 17 00:00:00 2001 > From: Thierry Reding > Date: Thu, 17 Oct 2019 13:21:15 +0200 > Subject:

Re: [RFC PATCH v2 15/16] mm/hwpoison-inject: Rip off duplicated checks

2019-10-21 Thread David Hildenbrand
On 17.10.19 16:21, Oscar Salvador wrote: > memory_failure() already performs the same checks, so leave it > to the main routine. > > Signed-off-by: Oscar Salvador > --- > mm/hwpoison-inject.c | 33 +++-- > 1 file changed, 3 insertions(+), 30 deletions(-) > > diff -

Re: [PATCH v2] include/linux/byteorder/generic.h: fix signed/unsigned warnings

2019-10-21 Thread Andy Shevchenko
On Mon, Oct 21, 2019 at 09:27:37AM +, Anatol Belski wrote: > From: Anatol Belski > > This fixes the warnings like below, thrown by GCC > > warning: comparison of integer expressions of different signedness: \ > ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] > 195 | for (i =

[tip: perf/urgent] perf/aux: Fix tracking of auxiliary trace buffer allocation

2019-10-21 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 5e6c3c7b1ec217c1c4c95d9148182302b9969b97 Gitweb: https://git.kernel.org/tip/5e6c3c7b1ec217c1c4c95d9148182302b9969b97 Author:Thomas Richter AuthorDate:Mon, 21 Oct 2019 10:33:54 +02:00 Commit

Re: [PATCH v4 10/16] x86/alternative: Shrink text_poke_loc

2019-10-21 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Oct 21, 2019 at 11:01:04AM +0200, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > Employ the fact that all text must be within a s32 displacement of one > > > another to shrink the text_poke_loc::addr field. Make it relative to > > > _stext. > >

Re: [PATCH 2/2] ASoC: msm8916-wcd-analog: Add earpiece

2019-10-21 Thread Srinivas Kandagatla
On 20/10/2019 16:30, Stephan Gerhold wrote: PM8916 supports an earpiece as another (small) speaker. The earpiece is routed through RX MIX1 similarly to the headphones, except that RDAC2 MUX is set to RX1. Signed-off-by: Stephan Gerhold Looks good to me. Acked-by: Srinivas Kandagatla -

Re: [PATCH] lib/vdso: Use __arch_use_vsyscall() to indicate fallback

2019-10-21 Thread Thomas Gleixner
On Sun, 20 Oct 2019, Andy Lutomirski wrote: > On Sat, Oct 19, 2019 at 3:01 AM Thomas Gleixner wrote: > > __arch_use_vsyscall() is a pointless exercise TBH. The VDSO data should be > > updated unconditionally so all the trivial interfaces like time() and > > getres() just work independently of the

[PATCH] perf tools: Use of the macro IS_ERR_OR_NULL

2019-10-21 Thread Yi Li
From: Yi Li This patch introduces the use of the macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The following Coccinelle semantic patch was used for making the change: @@ expression e; @@ - !e || IS_ERR(e) + IS_ERR_OR_NULL(e) || ... Signed-off-by: Yi Li --- tools/perf/util/bpf

Re: [PATCH 1/2] ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX

2019-10-21 Thread Srinivas Kandagatla
On 20/10/2019 16:30, Stephan Gerhold wrote: According to the PM8916 Hardware Register Description, CDC_D_CDC_CONN_HPHR_DAC_CTL has only a single bit (RX_SEL) to switch between RX1 (0) and RX2 (1). It is not possible to disable it entirely to achieve the "ZERO" state. However, at the moment th

Re: byteorder: cpu_to_le32_array vs cpu_to_be32_array function API differences

2019-10-21 Thread Andy Shevchenko
On Sun, Oct 20, 2019 at 12:02:52PM -0700, Joe Perches wrote: > There's an argument inconsistency between these 4 functions > in include/linux/byteorder/generic.h > > It'd be more a consistent API with one form and not two. This is done in order to: - avoid changing existing code - start a very

Re: [PATCH 00/18] add support for Clang's Shadow Call Stack

2019-10-21 Thread Masami Hiramatsu
Hi, On Fri, 18 Oct 2019 09:10:15 -0700 Sami Tolvanen wrote: > This patch series adds support for Clang's Shadow Call Stack (SCS) > mitigation, which uses a separately allocated shadow stack to protect > against return address overwrites. More information can be found here: > > https://clang.l

[PATCH v2] include/linux/byteorder/generic.h: fix signed/unsigned warnings

2019-10-21 Thread Anatol Belski
From: Anatol Belski This fixes the warnings like below, thrown by GCC warning: comparison of integer expressions of different signedness: \ ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 195 | for (i = 0; i < len; i++) |^ Signed-off-by: Anatol Belski ---

Re: [PATCH v4 10/16] x86/alternative: Shrink text_poke_loc

2019-10-21 Thread Peter Zijlstra
On Mon, Oct 21, 2019 at 11:01:04AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > Employ the fact that all text must be within a s32 displacement of one > > another to shrink the text_poke_loc::addr field. Make it relative to > > _stext. > > > > This then shrinks struct text_poke_l

Re: [PATCH] proc: fix inode uid/gid writeback race

2019-10-21 Thread Marco Elver
On Sun, 20 Oct 2019 at 19:30, Alexey Dobriyan wrote: > > (euid, egid) pair is snapshotted correctly from task under RCU, > but writeback to inode can be done in any order. > > Fix by doing writeback under inode->i_lock where necessary > (/proc/* , /proc/*/fd/* , /proc/*/map_files/* revalidate). >

Re: [PATCH v4 5/5] media: platform: Add jpeg dec/enc feature

2019-10-21 Thread Hans Verkuil
Hi Xia, Some comments about the selection code: On 10/17/19 10:40 AM, Xia Jiang wrote: > Add mtk jpeg encode v4l2 driver based on jpeg decode, because that jpeg > decode and encode have great similarities with function operation. > > Signed-off-by: Xia Jiang > --- > v4: split mtk_jpeg_try_fmt_m

Re: [PATCH v4 03/16] x86/alternatives,jump_label: Provide better text_poke() batching interface

2019-10-21 Thread Peter Zijlstra
On Mon, Oct 21, 2019 at 10:48:02AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > --- a/arch/x86/kernel/jump_label.c > > +++ b/arch/x86/kernel/jump_label.c > > @@ -35,18 +35,19 @@ static void bug_at(unsigned char *ip, in > > BUG(); > > } > > > > -static void __jump_label_set_

Re: [RFC PATCH v2 14/16] mm,hwpoison: Return 0 if the page is already poisoned in soft-offline

2019-10-21 Thread Naoya Horiguchi
On Thu, Oct 17, 2019 at 04:21:21PM +0200, Oscar Salvador wrote: > Currently, there is an inconsistency when calling soft-offline from > different paths on a page that is already poisoned. > > 1) madvise: > > madvise_inject_error skips any poisoned page and continues > the loop. >

[PATCH 2/2] arm64: dts: imx8mn-ddr4-evk: add phy-reset-gpios for fec1

2019-10-21 Thread Peng Fan
From: Peng Fan We should not rely on U-Boot to configure the phy reset. So introduce phy-reset-gpios property to let Linux handle phy reset itself. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/

[PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1

2019-10-21 Thread Peng Fan
From: Peng Fan We should not rely on U-Boot to configure the phy reset. So introduce phy-reset-gpios property to let Linux handle phy reset itself. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/f

Re: [PATCH] mmc: fix mmc dma operation

2019-10-21 Thread Jerome Brunet
On Mon 21 Oct 2019 at 09:57, Neil Armstrong wrote: > Hi, > > Thanks for the fix. > > First, you should add "mmc: meson-gx:" in the subject. > > On 21/10/2019 07:59, Jianxin Pan wrote: >> From: Nan Li >> >> In MMC dma transfer, the region requested by dma_map_sg() may be released >> by dma_unm

Re: [PATCH 11/18] kprobes: disable kretprobes with SCS

2019-10-21 Thread Masami Hiramatsu
On Fri, 18 Oct 2019 13:04:29 -0400 Steven Rostedt wrote: > > [ Added Masami ] > > On Fri, 18 Oct 2019 09:10:26 -0700 > Sami Tolvanen wrote: > > > With CONFIG_KRETPROBES, function return addresses are modified to > > redirect control flow to kretprobe_trampoline. This is incompatible with > >

[tip: sched/core] sched/fair: Rename sg_lb_stats::sum_nr_running to sum_h_nr_running

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: a34983470301018324f0110791da452fee1318c2 Gitweb: https://git.kernel.org/tip/a34983470301018324f0110791da452fee1318c2 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:29 +02:00 Commit

[PATCH v2 2/2] watchdog: sama5d4_wdt: addition of sam9x60 compatible watchdog

2019-10-21 Thread Eugen.Hristev
From: Eugen Hristev Add support for SAM9X60 WDT into sama5d4_wdt. This means that this driver will have a platform data that will hold differences. Added definitions of different bits. The ops functions will differentiate between the two hardware blocks. Signed-off-by: Eugen Hristev --- Hello,

[tip: sched/core] sched/fair: Remove meaningless imbalance calculation

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: fcf0553db6f4c79387864f6e4ab4a891601f395e Gitweb: https://git.kernel.org/tip/fcf0553db6f4c79387864f6e4ab4a891601f395e Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:30 +02:00 Commit

[tip: sched/core] sched/fair: Spread out tasks evenly when not overloaded

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: 2ab4092fc82d6001fdd9d51dbba27d04dec967e0 Gitweb: https://git.kernel.org/tip/2ab4092fc82d6001fdd9d51dbba27d04dec967e0 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:34 +02:00 Commit

[PATCH v2 1/2] dt-bindings: watchdog: sama5d4_wdt: add microchip,sam9x60-wdt compatible

2019-10-21 Thread Eugen.Hristev
From: Eugen Hristev The Atmel sama5d4_wdt needs to be compatible with microchip,sam9x60-wdt The sama5d4_wdt driver is updated to work with both hardware blocks (sama5d4/sama5d2 and sam9x60 based blocks) Signed-off-by: Eugen Hristev --- Documentation/devicetree/bindings/watchdog/atmel-sama5d4-w

Re: [PATCH 10/18] kprobes: fix compilation without CONFIG_KRETPROBES

2019-10-21 Thread Masami Hiramatsu
On Fri, 18 Oct 2019 13:02:57 -0400 Steven Rostedt wrote: > > Added Masami who's the maintainer of kprobes. > > -- Steve > > > On Fri, 18 Oct 2019 09:10:25 -0700 > Sami Tolvanen wrote: > > > kprobe_on_func_entry and arch_kprobe_on_func_entry need to be available > > even if CONFIG_KRETPROBES

[tip: sched/core] sched/fair: Optimize find_idlest_group()

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: fc1273f4cefe6670d528715581c848abf64f391c Gitweb: https://git.kernel.org/tip/fc1273f4cefe6670d528715581c848abf64f391c Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:37 +02:00 Commit

[tip: sched/core] sched/fair: Use utilization to select misfit task

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: c63be7be59de65d12ff7b4329acea99cf734d6de Gitweb: https://git.kernel.org/tip/c63be7be59de65d12ff7b4329acea99cf734d6de Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:35 +02:00 Commit

[tip: sched/core] sched/fair: Use load instead of runnable load in load_balance()

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: b0fb1eb4f04ae4768231b9731efb1134e22053a4 Gitweb: https://git.kernel.org/tip/b0fb1eb4f04ae4768231b9731efb1134e22053a4 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:33 +02:00 Commit

[tip: sched/core] sched/fair: Use rq->nr_running when balancing load

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: 5e23e474431529b7d1480f649ce33d0e9c1b2e48 Gitweb: https://git.kernel.org/tip/5e23e474431529b7d1480f649ce33d0e9c1b2e48 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:32 +02:00 Commit

[tip: sched/core] sched/fair: Use load instead of runnable load in wakeup path

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: 11f10e5420f6cecac7d4823638bff040c257aba9 Gitweb: https://git.kernel.org/tip/11f10e5420f6cecac7d4823638bff040c257aba9 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:36 +02:00 Commit

[tip: sched/core] sched/fair: Rework load_balance()

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: 0b0695f2b34a4afa3f6e9aa1ff0e5336d8dad912 Gitweb: https://git.kernel.org/tip/0b0695f2b34a4afa3f6e9aa1ff0e5336d8dad912 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:31 +02:00 Commit

[tip: sched/core] sched/fair: Rework find_idlest_group()

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: 57abff067a084889b6e06137e61a3dc3458acd56 Gitweb: https://git.kernel.org/tip/57abff067a084889b6e06137e61a3dc3458acd56 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:38 +02:00 Commit

[tip: sched/core] sched/fair: Clean up asym packing

2019-10-21 Thread tip-bot2 for Vincent Guittot
The following commit has been merged into the sched/core branch of tip: Commit-ID: 490ba971d8b498ba3a47999ab94c6a0d1830ad41 Gitweb: https://git.kernel.org/tip/490ba971d8b498ba3a47999ab94c6a0d1830ad41 Author:Vincent Guittot AuthorDate:Fri, 18 Oct 2019 15:26:28 +02:00 Commit

[PATCH] seccomp: fix SECCOMP_USER_NOTIF_FLAG_CONTINUE test

2019-10-21 Thread Christian Brauner
The ifndef for SECCOMP_USER_NOTIF_FLAG_CONTINUE was placed under the ifndef for the SECCOMP_FILTER_FLAG_NEW_LISTENER feature. This will not work on systems that do support SECCOMP_FILTER_FLAG_NEW_LISTENER but do not support SECCOMP_USER_NOTIF_FLAG_CONTINUE. So move the latter ifndef out of the form

Re: [PATCH 1/2] arm64: dts: rockchip: Add core dts for RK3308 SOC

2019-10-21 Thread Andy Yan
Hi Heiko: Thanks for your kindly review. On 10/18/19 7:30 AM, Heiko Stuebner wrote: Hi Andy, Am Donnerstag, 17. Oktober 2019, 05:04:49 CEST schrieb Andy Yan: + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; Please also provide a ATF impl

Re: [PATCH V2 1/3] firmware: broadcom: add OP-TEE based BNXT f/w manager

2019-10-21 Thread Sheetal Tigadoli
Hi Jakub, Thanks for your comments. On Fri, Oct 18, 2019 at 12:46 AM Jakub Kicinski wrote: > > On Thu, 17 Oct 2019 17:31:20 +0530, Sheetal Tigadoli wrote: > > From: Vikas Gupta > > > > This driver registers on TEE bus to interact with OP-TEE based > > BNXT firmware management modules > > > > Si

Re: [PATCH v4 00/16] Rewrite x86/ftrace to use text_poke (and more)

2019-10-21 Thread Ingo Molnar
* Peter Zijlstra wrote: > Ftrace was one of the last W^X violators (and KLP it seems). These here > patches > move it over to the generic text_poke() interface and thereby get rid of this > oddity. > > The first 6 or so patches are more or less the same as in v3, except it has > the > bugs f

Re: [PATCH 2/5] mfd: rn5t618: add irq support

2019-10-21 Thread Alexandre Belloni
Hi, On 21/10/2019 07:41:01+0200, Andreas Kemnade wrote: > +#if 0 > +/* > + * REVISIT when implementing charger: > + * according to some other implementation it needs special treatment, > + * inverted but experiments seem not to confirm that. > + */ > + [RN5T618_IRQ_CHG] = { > + .re

Re: [PATCH RFC 2/3] mtd: rawnand: Add support Macronix Block Protection function

2019-10-21 Thread masonccyang
Hi Boris, > > Assign mtd lock/unlock/is_locked hooks to the generic wrappers in > nand_scan_tail(): > >mtd->_lock = nand_lock; >mtd->_unlock = nand_unlock; >mtd->_is_locked = nand_is_locked; > > Seriously, we've almost implemented the thing for you with all the > details we've giv

Re: [RFC PATCH power-supply] power: supply: cpcap-charger: cpcap_charger_voltage_to_regval() can be static

2019-10-21 Thread Sebastian Reichel
Hi, On Mon, Oct 21, 2019 at 06:20:52AM +0800, kbuild test robot wrote: > Fixes: d4ee021c410f ("power: supply: cpcap-charger: Limit voltage to 4.2V for > battery") > Signed-off-by: kbuild test robot > --- Thanks, I added a long description and queued it to power-supply's -next branch. I did not

Re: [PATCH v4 09/16] x86/alternative: Remove text_poke_loc::len

2019-10-21 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > * Second step: update all but the first byte of the patched range. > > */ > > for (do_sync = 0, i = 0; i < nr_entries; i++) { > > - if (tp[i].len - sizeof(int3) > 0) { > > + int len = text_opcode_size(tp

Re: [PATCH v4 10/16] x86/alternative: Shrink text_poke_loc

2019-10-21 Thread Ingo Molnar
* Peter Zijlstra wrote: > Employ the fact that all text must be within a s32 displacement of one > another to shrink the text_poke_loc::addr field. Make it relative to > _stext. > > This then shrinks struct text_poke_loc to 16 bytes, and consequently > increases TP_VEC_MAX from 170 to 256. >

Re: [PATCH v4 4/6] cpufreq: Initialize cpufreq-dt driver earlier

2019-10-21 Thread Amit Kucheria
On Mon, Oct 21, 2019 at 1:38 PM Ingo Molnar wrote: > > > * Amit Kucheria wrote: > > > This allows HW drivers that depend on cpufreq-dt to initialise earlier. > > My obsessive-compulsive in-brain spellchecker noticed that the title says > 'initialize' (US spelling), while the comment uses 'initial

Re: [PATCH v4 09/16] x86/alternative: Remove text_poke_loc::len

2019-10-21 Thread Ingo Molnar
* Peter Zijlstra wrote: >* Second step: update all but the first byte of the patched range. >*/ > for (do_sync = 0, i = 0; i < nr_entries; i++) { > - if (tp[i].len - sizeof(int3) > 0) { > + int len = text_opcode_size(tp[i].opcode); > + > +

Re: [PATCH 0/7] add support for clocksource/clockevent DT selection

2019-10-21 Thread Claudiu.Beznea
Hi Daniel, On 18.10.2019 23:24, Daniel Lezcano wrote: > Hi Claudiu, > > On 15/10/2019 11:23, claudiu.bez...@microchip.com wrote: > > [ ... ] > >> The timer clock source could be divided by MR.PRES + 1. >> >> So, I used the clock-frequency DT binding to let user choose the timer's >> frequency.

Re: [PATCH v2] KVM: remove redundant code in kvm_arch_vm_ioctl

2019-10-21 Thread Paolo Bonzini
On 21/10/19 10:52, Miaohe Lin wrote: > If we reach here with r = 0, we will reassign r = 0 > unnecesarry, then do the label set_irqchip_out work. > If we reach here with r != 0, then we will do the label > work directly. So this if statement and r = 0 assignment > is redundant. We remove them and t

Re: [PATCH RFC 2/3] mtd: rawnand: Add support Macronix Block Protection function

2019-10-21 Thread Boris Brezillon
On Mon, 21 Oct 2019 16:40:57 +0800 masonccy...@mxic.com.tw wrote: > Hi Boris, > > > > > > > > > Then fill-in these two hooks from the manufacturer code, > without > > > the > > > > > > > postponed init. > > > > > > > > > > > > > > > > > > > But in the final of nand_scan_tail(), mtd->_

Re: [PATCH] KVM: remove redundant code in kvm_arch_vm_ioctl

2019-10-21 Thread Paolo Bonzini
On 21/10/19 10:16, Thomas Gleixner wrote: > Can you please get rid of that odd jump label completely? > > if (irqchip_kernel(kvm)) > r = kvm_vm_ioctl_set_irqchip(kvm, chip); Keeping the label has the advantage of making the get and set cases a bit more similar

Re: [PATCH RFC v2 2/2] USB: ldusb: fix ring-buffer locking

2019-10-21 Thread Johan Hovold
On Fri, Oct 18, 2019 at 11:54:58AM -0700, Greg Kroah-Hartman wrote: > On Fri, Oct 18, 2019 at 05:19:55PM +0200, Johan Hovold wrote: > > The custom ring-buffer implementation was merged without any locking > > whatsoever, but a spinlock was later added by commit 9d33efd9a791 > > ("USB: ldusb bugfix"

Re: [PATCH v1 1/5] staging: wfx: fix warnings of no space is necessary

2019-10-21 Thread Joe Perches
On Mon, 2019-10-21 at 08:52 +0200, Julia Lawall wrote: > > btw2: > > > > I really dislike all the code inconsistencies and > > unnecessary code duplication with miscellaneous changes > > in the rtl staging drivers > > > > Horrid stuff. > > I'm not sure what you mean by "miscellaneous changes

linux-kernel@vger.kernel.org

2019-10-21 Thread zhuguangqing83
From: zhuguangqing After commit 00ee22c28915 (PM / wakeup: Use seq_open() to show wakeup stats), print_wakeup_source_stats(m, &deleted_ws) is deleted in function wakeup_sources_stats_seq_show(). Because deleted_ws is one of wakeup sources, so it should also be showed. This patch add it to the en

[PATCH v2] KVM: remove redundant code in kvm_arch_vm_ioctl

2019-10-21 Thread Miaohe Lin
If we reach here with r = 0, we will reassign r = 0 unnecesarry, then do the label set_irqchip_out work. If we reach here with r != 0, then we will do the label work directly. So this if statement and r = 0 assignment is redundant. We remove them and therefore we can get rid of odd set_irqchip_out

[PATCH v2 2/4] arm64: dts: rockchip: Add core dts for RK3308 SOC

2019-10-21 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. This patch add basic core dtsi file for it. Signed-off-by: Andy Yan --- Changes in v2: - Address Heiko's com

Re: [PATCH] arm64: kprobes: Drop open-coded exception fixup

2019-10-21 Thread Masami Hiramatsu
Hi Robin, On Thu, 17 Oct 2019 16:31:42 +0100 Robin Murphy wrote: > The short-circuit call to fixup_exception() from kprobe_fault_handler() > poses a problem now that the former wants to consume the fault address > too, since the common kprobes API offers us no way to pass it through. > Fortunate

Re: [RFC 2/2] vhost: IFC VF vdpa layer

2019-10-21 Thread Zhu, Lingshan
On 10/16/2019 5:53 PM, Simon Horman wrote: Hi Zhu, thanks for your patch. On Wed, Oct 16, 2019 at 09:03:18AM +0800, Zhu Lingshan wrote: This commit introduced IFC VF operations for vdpa, which complys to vhost_mdev interfaces, handles IFC VF initialization, configuration and removal. Signed

[PATCH v2 0/4] Add basic dts support for RK3308

2019-10-21 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. As the clk and pinctrl drivers are landed, we post the basic dts support, make it convenient for other module de

Re: [PATCH v4 03/16] x86/alternatives,jump_label: Provide better text_poke() batching interface

2019-10-21 Thread Ingo Molnar
* Peter Zijlstra wrote: > --- a/arch/x86/kernel/jump_label.c > +++ b/arch/x86/kernel/jump_label.c > @@ -35,18 +35,19 @@ static void bug_at(unsigned char *ip, in > BUG(); > } > > -static void __jump_label_set_jump_code(struct jump_entry *entry, > -enu

Re: [PATCH] fs/dax: Fix pmd vs pte conflict detection

2019-10-21 Thread Jan Kara
On Sat 19-10-19 09:26:19, Dan Williams wrote: > Check for NULL entries before checking the entry order, otherwise NULL > is misinterpreted as a present pte conflict. The 'order' check needs to > happen before the locked check as an unlocked entry at the wrong order > must fallback to lookup the cor

[PATCH v2 4/4] arm64: dts: rockchip: Add basic dts for RK3308 EVB

2019-10-21 Thread Andy Yan
This board use uart4 as debug port and arm core voltage is modulated by pwm, logic voltage is fixed to 1.05V. Signed-off-by: Andy Yan --- Changes in v2: - Split binding to a separate patch - Power tree update. arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/r

Re: WARNING in check_corruption

2019-10-21 Thread Dmitry Vyukov
On Fri, Oct 18, 2019 at 4:13 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:8ada228a Add linux-next specific files for 20191011 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=144265ab60 > kernel config: https:

[PATCH v2 3/4] dt-bindings: Add doc for rk3308-evb

2019-10-21 Thread Andy Yan
Add compatible for RK3308 Evaluation board Signed-off-by: Andy Yan --- Changes in v2: - Split with the dts file Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/dev

[PATCH v2 1/4] dt-bindings: Add doc about rk3308 General Register Files

2019-10-21 Thread Andy Yan
RK3308 GRF is divided into four sections: GRF, SGRF, DETECTGRF, COREGRF. This patch add documentation for it. Signed-off-by: Andy Yan --- Changes in v2: None .../devicetree/bindings/soc/rockchip/grf.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/de

<    6   7   8   9   10   11   12   >