Re: [v6 PATCH] RISC-V: Remove unsupported isa string info print

2019-10-01 Thread Christoph Hellwig
On Mon, Sep 30, 2019 at 05:23:18PM -0700, Atish Patra wrote: > /proc/cpuinfo should just print all the isa string as an information > instead of determining what is supported or not. ELF hwcap can be > used by the userspace to figure out that. > > Simplify the isa string printing by removing the u

Re: [PATCH 2/2] pwm: stm32: add power management support

2019-10-01 Thread Uwe Kleine-König
Hello Fabrice, On Mon, Sep 30, 2019 at 05:39:11PM +0200, Fabrice Gasnier wrote: > Add suspend/resume PM sleep ops. When going to low power, enforce the PWM > channel isn't active. Let the PWM consumers disable it during their own > suspend sequence, see [1]. So, perform a check here, and handle th

Linux 5.3.2

2019-10-01 Thread Greg KH
I'm announcing the release of the 5.3.2 kernel. All users of the 5.3 kernel series must upgrade. The updated 5.3.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.3.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.3.2

2019-10-01 Thread Greg KH
diff --git a/Makefile b/Makefile index f32e8d2e09c3..13fa3a409ddd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 3 -SUBLEVEL = 1 +SUBLEVEL = 2 EXTRAVERSION = NAME = Bobtail Squid diff --git a/arch/powerpc/include/asm/opal.h b/

Re: [PATCH] x86/PAT: priority the PAT warn to error to highlight the developer

2019-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2019 at 05:00:25AM +, Zhang, Jun wrote: > Please see my comments. > Please use a normal MUA that can quote text you're replying to. This is unreadable garbage.

5.3.3??? [was Re: Linux 5.3.2]

2019-10-01 Thread Greg KH
On Tue, Oct 01, 2019 at 09:04:57AM +0200, Greg KH wrote: > I'm announcing the release of the 5.3.2 kernel. > > All users of the 5.3 kernel series must upgrade. Ok, I messed up this morning and typed "5.3" instead of "5.2" in my scripts and an "empty" 5.3.3 kernel got released. Well kind of, it g

[PATCH] Revert "Input: elantech - enable SMBus on new (2018+) systems"

2019-10-01 Thread Kai-Heng Feng
This reverts commit 883a2a80f79ca5c0c105605fafabd1f3df99b34c. Apparently use dmi_get_bios_year() as manufacturing date isn't accurate and this breaks older laptops with new BIOS update. So let's revert this patch. There are still new HP laptops still need to use SMBus to support all features, bu

Re: [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-10-01 Thread Pierre Yves MORDRET
Hi, Reviewed-by: Pierre-Yves MORDRET Thx On 9/30/19 5:28 PM, Fabrice Gasnier wrote: > The slave-interface documentation [1] states "the bus driver should > transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: > - 'val': backend returns first byte to be sent > The driver currently

lift the xfs writepage code into iomap v5

2019-10-01 Thread Christoph Hellwig
Hi all, this series cleans up the xfs writepage code and then lifts it to fs/iomap.c so that it could be use by other file system. I've been wanting to this for a while so that I could eventually convert gfs2 over to it, but I never got to it. Now Damien has a new zonefs file system for semi-raw

Re: Linux 4.19.76

2019-10-01 Thread Greg KH
diff --git a/Makefile b/Makefile index 4bf6f24916bf..9cb471a75a1b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 75 +SUBLEVEL = 76 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/powerpc/include/asm/opa

Linux 4.19.76

2019-10-01 Thread Greg KH
I'm announcing the release of the 4.19.76 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

[PATCH 09/11] xfs: remove the fork fields in the writepage_ctx and ioend

2019-10-01 Thread Christoph Hellwig
In preparation for moving the writeback code to iomap.c, replace the XFS-specific COW fork concept with the iomap IOMAP_F_SHARED flag. Signed-off-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- fs/xfs/xfs_aops.c | 42 ++---

[PATCH 11/11] iomap: move struct iomap_page out of iomap.h

2019-10-01 Thread Christoph Hellwig
Now that all the writepage code is in the iomap code there is no need to keep this structure public. Signed-off-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- fs/iomap/buffered-io.c | 17 + include/linux/iomap.h | 17 - 2 fi

[PATCH 08/11] xfs: use a struct iomap in xfs_writepage_ctx

2019-10-01 Thread Christoph Hellwig
In preparation for moving the XFS writeback code to fs/iomap.c, switch it to use struct iomap instead of the XFS-specific struct xfs_bmbt_irec. Signed-off-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- fs/xfs/libxfs/xfs_bmap.c | 14 +-- fs/xfs/libxfs/xf

[PATCH 06/11] xfs: remove the readpage / readpages tracing code

2019-10-01 Thread Christoph Hellwig
The actual iomap implementations now have equivalent trace points. Signed-off-by: Christoph Hellwig --- fs/xfs/xfs_aops.c | 2 -- fs/xfs/xfs_trace.h | 26 -- 2 files changed, 28 deletions(-) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index f16d5f196c6b..b610167

[PATCH 03/11] iomap: warn on inline maps in iomap_writepage_map

2019-10-01 Thread Christoph Hellwig
And inline mapping should never mark the page dirty and thus never end up in writepages. Add a check for that condition and warn if it happens. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- fs/iomap/buffered-io.c | 2 ++ 1 file changed, 2 ins

[PATCH 02/11] iomap: copy the xfs writeback code to iomap.c

2019-10-01 Thread Christoph Hellwig
Takes the xfs writeback code and copies it to iomap.c. A new structure with three methods is added as the abstraction from the generic writeback code to the file system. These methods are used to map blocks, submit an ioend, and cancel a page that encountered an error before it was added to an io

[PATCH 05/11] iomap: zero newly allocated mapped blocks

2019-10-01 Thread Christoph Hellwig
File systems like gfs2 don't support delayed allocations or unwritten extents and thus allocate normal mapped blocks to fill holes. To cover the case of such file systems allocating new blocks to fill holes also zero out mapped blocks with the new flag. Signed-off-by: Christoph Hellwig Reviewed-

[PATCH 07/11] xfs: initialize iomap->flags in xfs_bmbt_to_iomap

2019-10-01 Thread Christoph Hellwig
Currently we don't overwrite the flags field in the iomap in xfs_bmbt_to_iomap. This works fine with 0-initialized iomaps on stack, but is harmful once we want to be able to reuse an iomap in the writeback code. Replace the shared paramter with a set of initial flags an thus ensures the flags fie

[PATCH 04/11] xfs: set IOMAP_F_NEW more carefully

2019-10-01 Thread Christoph Hellwig
Don't set IOMAP_F_NEW if we COW over and existing allocated range, as these aren't strictly new allocations. This is required to be able to use IOMAP_F_NEW to zero newly allocated blocks, which is required for the iomap code to fully support file systems that don't do delayed allocations or use un

[PATCH 01/11] iomap: add tracing for the readpage / readpages

2019-10-01 Thread Christoph Hellwig
Lift the xfs code for tracing address space operations to the iomap layer. Signed-off-by: Christoph Hellwig --- fs/iomap/buffered-io.c | 7 +++ include/trace/events/iomap.h | 27 +++ 2 files changed, 34 insertions(+) create mode 100644 include/trace/events/iom

[PATCH 10/11] xfs: use the iomap write page code

2019-10-01 Thread Christoph Hellwig
Use the new iomap writeback code that was copied from XFS to perform writeback. Signed-off-by: Christoph Hellwig [darrick: reduce this patch only to convert the xfs writeback code] Signed-off-by: Darrick J. Wong --- fs/xfs/xfs_aops.c | 667 + fs/xfs/

Re:⏰Hi

2019-10-01 Thread nik_bin_nek_alwi
Grandios! http://knrsbwy.Merissa836.xyz/index ___ Bis bald nik_bin_nek_a...@yahoo.com

Re: [PATCH] get_maintainer: Add signatures from Fixes: lines in commit message

2019-10-01 Thread Dan Carpenter
Looks good! Thanks for this, Joe. regards, dan carpenter

Re: [GIT PULL] scheduler fixes

2019-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2019 at 04:45:49PM -0700, John Stultz wrote: > Reverting the following patches: > "sched/membarrier: Fix p->mm->membarrier_state racy load" ARGH, I fudged it... please try: diff --git a/kernel/sched/membarrier.c b/kernel/sched/membarrier.c index a39bed2c784f..168479a7d61b 1006

Re: [PATCH] mm, vmpressure: Fix a signedness bug in vmpressure_register_event()

2019-10-01 Thread Dan Carpenter
Sorry, for not replying. I got sick last week so I was out of office. Feeling better now. regards, dan carpenter

Linux 5.2.18

2019-10-01 Thread Greg KH
I'm announcing the release of the 5.2.18 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.2.18

2019-10-01 Thread Greg KH
diff --git a/Makefile b/Makefile index 32226d81fbb5..440e473687eb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 17 +SUBLEVEL = 18 EXTRAVERSION = NAME = Bobtail Squid diff --git a/arch/powerpc/include/asm/opal.h

Re: [PATCH net v3] vsock: Fix a lockdep warning in __vsock_release()

2019-10-01 Thread Stefano Garzarella
On Mon, Sep 30, 2019 at 06:43:50PM +, Dexuan Cui wrote: > Lockdep is unhappy if two locks from the same class are held. > > Fix the below warning for hyperv and virtio sockets (vmci socket code > doesn't have the issue) by using lock_sock_nested() when __vsock_release() > is called recursively

Re: [PATCH v2 0/3] Add support for SBI v0.2

2019-10-01 Thread Atish Patra
On Tue, 2019-10-01 at 12:58 +0800, Alan Kao wrote: > On Fri, Sep 27, 2019 at 10:57:45PM +, Atish Patra wrote: > > On Fri, 2019-09-27 at 15:19 -0700, Christoph Hellwig wrote: > > > On Thu, Sep 26, 2019 at 05:09:12PM -0700, Atish Patra wrote: > > > > The Supervisor Binary Interface(SBI) specifica

[PATCH] fs: cifs: mute -Wunused-const-variable message

2019-10-01 Thread Austin Kim
After 'Initial git repository build' commit, 'mapping_table_ERRHRD' variable has not been used. So 'mapping_table_ERRHRD' const variable could be removed to mute below warning message: fs/cifs/netmisc.c:120:40: warning: unused variable 'mapping_table_ERRHRD' [-Wunused-const-variable] stati

[PATCH] m68k: defconfig: Update defconfigs for v5.4-rc1

2019-10-01 Thread Geert Uytterhoeven
Actual changes: -# CONFIG_BACKLIGHT_CLASS_DEVICE is not set -CONFIG_CRYPTO_AEGIS128L=m -CONFIG_CRYPTO_AEGIS256=m -CONFIG_CRYPTO_MORUS1280=m -CONFIG_CRYPTO_MORUS640=m +CONFIG_DM_CLONE=m +CONFIG_EROFS_FS=m -# CONFIG_LCD_CLASS_DEVICE is not set Signed-off-by: Geert Uyt

[PATCHv3 RESEND-next 0/3] Odroid c2 missing regulator linking

2019-10-01 Thread Anand Moon
Looks like this changes got lost so resend these changes again. Below small changes help re-configure or fix missing inter linking of regulator node. Re-based on *next-20191001* Changes from previous patch's series. Build using Cross Compiler. Added missing Reviewed-by Neil's and Mar

[PATCHv3 RESEND-next 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-10-01 Thread Anand Moon
As per schematics HDMI_P5V0 is supplied by P5V0 so add missing link. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous Patchv1 - As per Martin's suggestion added the HD

[PATCHv3 RESEND-next 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-10-01 Thread Anand Moon
As per schematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: fixed regulator output which is supplied by P5V0. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous.

[PATCHv3 RESEND-next 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-10-01 Thread Anand Moon
As per schematics TFLASH_VDD, TF_IO, VCC3V3 fixed regulator output which is supplied by VDDIO_AO3V3. While here, move the comment name with the signal name in the schematics above the gpio property to make it consistent with other regulators. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil A

Re: [PATCH v6 1/1] memory_hotplug: Add a bounds check to __add_pages

2019-10-01 Thread David Hildenbrand
On 30.09.19 08:23, Alastair D'Silva wrote: > From: Alastair D'Silva > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > are allocated from firmware. These address ranges may be higher > than what older kernels permit, as we increased the maximum > permissable address in commit 4

Re: [PATCH] x86/kdump: Fix 'kmem -s' reported an invalid freepointer when SME was active

2019-10-01 Thread Baoquan He
On 09/30/19 at 05:14am, Eric W. Biederman wrote: > Baoquan He writes: > >> needs a little better description. I know it is not a lot on modern > >> systems but reserving an extra 1M of memory to avoid having to special > >> case it later seems in need of calling out. > >> > >> I have an old syst

Re: [PATCH 2/2] can: C_CAN: add bus recovery events

2019-10-01 Thread Kurt Van Dijck
On do, 26 sep 2019 08:50:51 +, Jeroen Hofstee wrote: > While the state is update when the error counters increase and decrease, > there is no event when the bus recovers and the error counters decrease > again. So add that event as well. > > Change the state going downward to be ERROR_PASSIVE

Re: [Patch 1/3] media: ov5640: add PIXEL_RATE control

2019-10-01 Thread Sakari Ailus
Hi Benoit, On Wed, Sep 25, 2019 at 10:22:59AM -0500, Benoit Parrot wrote: > Add v4l2 controls to report the pixel rates of each mode. This is > needed by some CSI2 receiver in order to perform proper DPHY > configuration. > > Signed-off-by: Benoit Parrot > --- > drivers/media/i2c/ov5640.c | 25

Re: KMSAN: uninit-value in adu_disconnect

2019-10-01 Thread Johan Hovold
On Mon, Sep 30, 2019 at 08:29:07PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:014077b5 DO-NOT-SUBMIT: usb-fuzzer: main usb gadget fuzzer.. > git tree: https://github.com/google/kmsan.git master > console output: https://syzkaller.appspot.com/x

[PATCH] sunrpc: fix crash when cache_head become valid before update

2019-10-01 Thread Pavel Tikhomirov
I was investigating a crash in our Virtuozzo7 kernel which happened in in svcauth_unix_set_client. I found out that we access m_client field in ip_map structure, which was received from sunrpc_cache_lookup (we have a bit older kernel, now the code is in sunrpc_cache_add_entry), and these field look

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Vlastimil Babka
On 10/1/19 1:49 AM, Qian Cai wrote: > > >> On Sep 30, 2019, at 5:43 PM, Vlastimil Babka wrote: >> >> Well, my use case is shipping production kernels with CONFIG_PAGE_OWNER >> and CONFIG_DEBUG_PAGEALLOC enabled, and instructing users to boot-time >> enable only for troubleshooting a crash or mem

Re: [PATCH v3] PCI: aardvark: Use LTSSM state to build link training flag

2019-10-01 Thread Andrew Murray
On Mon, Sep 30, 2019 at 06:52:30PM +0200, Remi Pommarel wrote: > On Mon, Sep 30, 2019 at 04:40:18PM +0100, Andrew Murray wrote: > > On Wed, May 22, 2019 at 11:33:51PM +0200, Remi Pommarel wrote: > > > Aardvark's PCI_EXP_LNKSTA_LT flag in its link status register is not > > > implemented and does no

Re: [PATCH 0/2] scsi: ufs: Add driver for TI wrapper for Cadence UFS IP

2019-10-01 Thread Vignesh Raghavendra
On 01/10/19 9:27 AM, Martin K. Petersen wrote: > > Vignesh, > >> This series add DT bindings and driver for TI wrapper for Cadence UFS >> IP that is present on TI's J721e SoC > > Will need some reviews from DT and ufs folks respectively before I can > queue this up. > Ok, thanks for the upd

WARNING in rcu_note_context_switch

2019-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:54ecb8f7 Linux 5.4-rc1 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14972bf360 kernel config: https://syzkaller.appspot.com/x/.config?x=fb0b431ccdf08c1c dashboard link: https://syzkaller.appspo

WARNING: lock held when returning to user space in membarrier_private_expedited

2019-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:afb37288 Add linux-next specific files for 20191001 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1761963560 kernel config: https://syzkaller.appspot.com/x/.config?x=659cb5bf73e72c6c

Re: [PATCH v3 04/10] sched/fair: rework load_balance

2019-10-01 Thread Vincent Guittot
On Mon, 30 Sep 2019 at 18:24, Dietmar Eggemann wrote: > > Hi Vincent, > > On 19/09/2019 09:33, Vincent Guittot wrote: > > these are just some comments & questions based on a code study. Haven't > run any tests with it yet. > > [...] > > > The type of sched_group has been extended to better reflect

Re: [PATCH v3 04/10] sched/fair: rework load_balance

2019-10-01 Thread Dietmar Eggemann
On 19/09/2019 09:33, Vincent Guittot wrote: [...] > @@ -8042,14 +8104,24 @@ static inline void update_sg_lb_stats(struct lb_env > *env, > } > } > > - /* Adjust by relative CPU capacity of the group */ > + /* Check if dst cpu is idle and preferred to this group */ >

Re: [PATCH v5 0/3] mfd: mc13xxx: Fixes and enhancements for NXP's mc34708

2019-10-01 Thread Lukasz Majewski
Hi Lee, > On Mon, 30 Sep 2019, Lukasz Majewski wrote: > > > Dear Lee, > > > > > This patch set provides several enhancements to mc13xxx MFD family > > > of devices by introducing mc34708 as a separate device. > > > > > > This IC has dedicated pen detection feature, which allows better > > > t

Re: [PATCH 2/2] pwm: stm32: add power management support

2019-10-01 Thread Fabrice Gasnier
On 10/1/19 9:04 AM, Uwe Kleine-König wrote: > Hello Fabrice, > > On Mon, Sep 30, 2019 at 05:39:11PM +0200, Fabrice Gasnier wrote: >> Add suspend/resume PM sleep ops. When going to low power, enforce the PWM >> channel isn't active. Let the PWM consumers disable it during their own >> suspend seque

Re: [PATCH 2/3] KVM: x86/vPMU: Reuse perf_event to avoid unnecessary pmc_reprogram_counter

2019-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2019 at 03:22:56PM +0800, Like Xu wrote: > diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c > index 46875bbd0419..74bc5c42b8b5 100644 > --- a/arch/x86/kvm/pmu.c > +++ b/arch/x86/kvm/pmu.c > @@ -140,6 +140,35 @@ static void pmc_reprogram_counter(struct kvm_pmc *pmc, > u32 type,

Re: [PATCH 0/4] USB: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
On Mon, Sep 30, 2019 at 01:36:03PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 30 Sep 2019 18:12:01 +0200 > Johan Hovold escreveu: > > > A recent change in USB core broke runtime-PM after driver unbind in > > several drivers (when counting all USB serial drivers). Specifically, > > drivers whic

Re: [v6 PATCH] RISC-V: Remove unsupported isa string info print

2019-10-01 Thread Atish Patra
On Tue, 2019-10-01 at 00:02 -0700, Christoph Hellwig wrote: > On Mon, Sep 30, 2019 at 05:23:18PM -0700, Atish Patra wrote: > > /proc/cpuinfo should just print all the isa string as an > > information > > instead of determining what is supported or not. ELF hwcap can be > > used by the userspace to

Re: [PATCH 3/3] KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMC

2019-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2019 at 03:22:57PM +0800, Like Xu wrote: > + union { > + u8 event_count :7; /* the total number of created perf_events */ > + bool enable_cleanup :1; That's atrocious, don't ever create a bitfield with base _Bool. > + } state;

Re: [PATCH] ARM: fix __get_user_check() in case uaccess_* calls are not inlined

2019-10-01 Thread Masahiro Yamada
Hi Russell, On Tue, Oct 1, 2019 at 2:50 AM Russell King - ARM Linux admin wrote: > > On Mon, Sep 30, 2019 at 02:59:25PM +0900, Masahiro Yamada wrote: > > KernelCI reports that bcm2835_defconfig is no longer booting since > > commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING > > forc

[PATCH] xen/efi: have a common runtime setup function

2019-10-01 Thread Juergen Gross
Today the EFI runtime functions are setup in architecture specific code (x86 and arm), with the functions themselves living in drivers/xen as they are not architecture dependent. As the setup is exactly the same for arm and x86 move the setup to drivers/xen, too. This at once removes the need to m

Re: [PATCH] ARM: fix __get_user_check() in case uaccess_* calls are not inlined

2019-10-01 Thread Masahiro Yamada
Hi Nick, On Tue, Oct 1, 2019 at 7:19 AM Nick Desaulniers wrote: > > On Sun, Sep 29, 2019 at 11:00 PM Masahiro Yamada > wrote: > > > > KernelCI reports that bcm2835_defconfig is no longer booting since > > commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING > > forcibly"): > > > > h

[PATCH 0/3] Pine64+ specific hacks for RTL8211E Ethernet PHY

2019-10-01 Thread Icenowy Zheng
There're some Pine64+ boards known to have broken RTL8211E chips, and a hack is given by Pine64+, which is said to be from Realtek. This patchset adds the hack. The hack is taken from U-Boot, and it contains magic numbers without any document. Icenowy Zheng (3): dt-bindings: add binding for RT

[PATCH 1/3] dt-bindings: add binding for RTL8211E Ethernet PHY

2019-10-01 Thread Icenowy Zheng
From: Icenowy Zheng Some RTL8211E Ethernet PHY have an issue that needs a workaround, and a way to indicate the need of the workaround should be added. Add the binding for a DT property that indicates this workaround. Signed-off-by: Icenowy Zheng --- .../bindings/net/realtek,rtl8211e.yaml

Re: [PATCH v2] fs: affs: fix a memory leak in affs_remount

2019-10-01 Thread Markus Elfring
> The allocated memory for new_opts is only released if pare_options fail. Can the following wording be nicer? The allocated memory for the buffer “new_opts” will be released only if a call of the function “parse_options” failed. > The release for new_opts is added. * How do you think abou

[PATCH 3/3] arm64: allwinner: a64: dts: apply hack for RTL8211E on Pine64+

2019-10-01 Thread Icenowy Zheng
Some of the Pine64+ boards are known to use a batch of broken RTL8211E PHYs. A magic number that is in an undocumented field of a register is passed from Realtek via Pine64. Add the property to apply the hack to the Pine64+ device tree. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwi

Re: [PATCH v4 1/2] edac: Add an API for edac device to report for multiple errors

2019-10-01 Thread Borislav Petkov
On Tue, Oct 01, 2019 at 06:56:58AM +, Robert Richter wrote: > It is *not* the counterpart. The __* version already has the... Lemme cut to the chase: "Make the main workhorse the "count" functions which can log a @count of errors. Have the current APIs edac_device_handle_{ce,ue}() call the _c

[PATCH 2/3] net: phy: realtek: add config hack for broken RTL8211E on Pine64+ boards

2019-10-01 Thread Icenowy Zheng
Some RTL8211E chips have broken GbE function, which needs a hack to fix. Currently only some Pine64+ boards are known to used this broken batch of RTL8211E chips. Enable this hack when a certain device tree property is set. As this hack is not documented on the datasheet at all, it contains magi

Re: [PATCH] pinctrl: cherryview: restore Strago DMI workaround for all versions

2019-10-01 Thread Mika Westerberg
On Mon, Sep 23, 2019 at 07:49:58PM -0700, Dmitry Torokhov wrote: > This is essentially a revert of: > > e3f72b749da2 pinctrl: cherryview: fix Strago DMI workaround > 86c5dd6860a6 pinctrl: cherryview: limit Strago DMI workarounds to version 1.0 > > because even with 1.1 versions of BIOS there are

Re: [Xen-devel] [PATCH] xen/efi: have a common runtime setup function

2019-10-01 Thread Jan Beulich
On 01.10.2019 10:25, Juergen Gross wrote: > @@ -281,4 +270,26 @@ void xen_efi_reset_system(int reset_type, efi_status_t > status, > BUG(); > } > } > -EXPORT_SYMBOL_GPL(xen_efi_reset_system); > + > +/* > + * Set XEN EFI runtime services function pointers. Other fields of struct

Re: [PATCH 1/3] KVM: X86: Add "nopvspin" parameter to disable PV spinlocks

2019-10-01 Thread Vitaly Kuznetsov
Zhenzhong Duan writes: > On 2019/9/30 23:41, Vitaly Kuznetsov wrote: >> Zhenzhong Duan writes: >> >>> There are cases where a guest tries to switch spinlocks to bare metal >>> behavior (e.g. by setting "xen_nopvspin" on XEN platform and >>> "hv_nopvspin" on HYPER_V). >>> >>> That feature is miss

Re: [patch for-5.3 0/4] revert immediate fallback to remote hugepages

2019-10-01 Thread Michal Hocko
On Tue 01-10-19 07:43:43, Michal Hocko wrote: [...] > I also didn't really get to test any NUMA aspect of the change yet. I > still do hope that David can share something I can play with > because I do not want to create something completely artificial. I have split out my kvm machine into two nod

[PATCH v2] ARM: add __always_inline to functions called from __get_user_check()

2019-10-01 Thread Masahiro Yamada
KernelCI reports that bcm2835_defconfig is no longer booting since commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING forcibly") (https://lkml.org/lkml/2019/9/26/825). I also received a regression report from Nicolas Saenz Julienne (https://lkml.org/lkml/2019/9/27/263). This problem

Re: [PATCH] iio: trigger: stm32-timer: fix the usage of uninitialized variables

2019-10-01 Thread Jonathan Cameron
On Mon, 30 Sep 2019 13:44:49 -0700 Yizhuo wrote: > Several functions in this file are trying to use regmap_read() to > initialize the specific variable, however, if regmap_read() fails, > the variable could be uninitialized but used directly, which is > potentially unsafe. The return value of reg

Re: [tip: sched/urgent] sched/membarrier: Fix p->mm->membarrier_state racy load

2019-10-01 Thread Ingo Molnar
* tip-bot2 for Mathieu Desnoyers wrote: > The following commit has been merged into the sched/urgent branch of tip: > > Commit-ID: 227a4aadc75ba22fcb6c4e1c078817b8cbaae4ce > Gitweb: > https://git.kernel.org/tip/227a4aadc75ba22fcb6c4e1c078817b8cbaae4ce > Author:Mathieu Desno

Re: WARNING in rcu_note_context_switch

2019-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2019 at 01:09:07AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:54ecb8f7 Linux 5.4-rc1 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=14972bf360 > kernel config: https://syzkaller.appspot.co

Re: WARNING: lock held when returning to user space in membarrier_private_expedited

2019-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2019 at 01:09:07AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:afb37288 Add linux-next specific files for 20191001 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17

Re: [PATCH] iio: adc: imx25-gcq: fix uninitialized variable usage

2019-10-01 Thread Jonathan Cameron
On Mon, 30 Sep 2019 12:53:54 -0700 Yizhuo wrote: > In function mx25_gcq_irq(), local variable "stats" could > be uninitialized if function regmap_read() returns -EINVAL. > However, this value is used in if statement, which is > potentially unsafe. The same case applied to the variable > "data" in

[PATCH v2 2/4] USB: usblp: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
Since commit c2b71462d294 ("USB: core: Fix bug caused by duplicate interface PM usage counter") USB drivers must always balance their runtime PM gets and puts, including when the driver has already been unbound from the interface. Leaving the interface with a positive PM usage counter would preven

[PATCH v2 4/4] media: stkwebcam: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
Since commit c2b71462d294 ("USB: core: Fix bug caused by duplicate interface PM usage counter") USB drivers must always balance their runtime PM gets and puts, including when the driver has already been unbound from the interface. Leaving the interface with a positive PM usage counter would preven

[PATCH v2 0/4] USB: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
A recent change in USB core broke runtime-PM after driver unbind in several drivers (when counting all USB serial drivers). Specifically, drivers which took care not modify the runtime-PM usage counter after their disconnect callback had returned, would now fail to be suspended when a driver is lat

[PATCH v2 3/4] USB: serial: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
Since commit c2b71462d294 ("USB: core: Fix bug caused by duplicate interface PM usage counter") USB drivers must always balance their runtime PM gets and puts, including when the driver has already been unbound from the interface. Leaving the interface with a positive PM usage counter would preven

[PATCH v2 1/4] USB: usb-skeleton: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
Since commit c2b71462d294 ("USB: core: Fix bug caused by duplicate interface PM usage counter") USB drivers must always balance their runtime PM gets and puts, including when the driver has already been unbound from the interface. Leaving the interface with a positive PM usage counter would preven

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-10-01 Thread Juri Lelli
On 30/09/19 11:24, Scott Wood wrote: > On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote: [...] > > Hummm, I was actually more worried about the fact that we call free_old_ > > cpuset_bw_dl() only if p->state != TASK_WAKING. > > Oh, right. :-P Not sure what I had in mind there; we want to cal

[PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-01 Thread Fabrice Gasnier
When in slave mode, an arbitration loss (ARLO) may be detected before the slave had a chance to detect the stop condition (STOPF in ISR). This is seen when two master + slave adapters switch their roles. It provokes the i2c bus to be stuck, busy as SCL line is stretched. - the I2C_SLAVE_STOP event

Re: [tip: sched/urgent] sched/membarrier: Fix p->mm->membarrier_state racy load

2019-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2019 at 10:44:05AM +0200, Ingo Molnar wrote: > > * tip-bot2 for Mathieu Desnoyers wrote: > > > The following commit has been merged into the sched/urgent branch of tip: > > > > Commit-ID: 227a4aadc75ba22fcb6c4e1c078817b8cbaae4ce > > Gitweb: > > https://git.kernel.org

Re: [PATCH 4/5] efi: Export Runtime Configuration Interface table to sysfs

2019-10-01 Thread Geert Uytterhoeven
Hi Ard, Narendra, On Mon, Aug 12, 2019 at 5:07 PM Ard Biesheuvel wrote: > From: Narendra K > > System firmware advertises the address of the 'Runtime > Configuration Interface table version 2 (RCI2)' via > an EFI Configuration Table entry. This code retrieves the RCI2 > table from the address an

Re: [PATCH v6 1/5] dt-bindings: media: Add Allwinner A10 CSI binding

2019-10-01 Thread Maxime Ripard
Hi, Thanks for looking into this. On Sun, Sep 15, 2019 at 04:54:16PM +0800, Chen-Yu Tsai wrote: > On Thu, Aug 15, 2019 at 4:34 PM Chen-Yu Tsai wrote: > > > > Hi, > > > > Sorry for chiming in so late. > > > > On Thu, Jul 11, 2019 at 8:15 PM Maxime Ripard > > wrote: > > > > > > The Allwinner A10

Re: [PATCH 3/4 RESEND] perf inject --jit: Remove //anon mmap events

2019-10-01 Thread Jiri Olsa
On Mon, Sep 30, 2019 at 09:00:01PM +, Steve MacLean wrote: > While a JIT is jitting code it will eventually need to commit more pages and > change these pages to executable permissions. > > Typically the JIT will want these collocated to minimize branch displacements. > > The kernel will coal

[PATCH] netfilter:get_next_corpse():No need to double check the *bucket

2019-10-01 Thread wh_bin
From: Hongbin Wang The *bucket is in for loops,it has been checked. Signed-off-by: Hongbin Wang --- net/netfilter/nf_conntrack_core.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index

Re: [PATCH 4/5] efi: Export Runtime Configuration Interface table to sysfs

2019-10-01 Thread Ard Biesheuvel
On Tue, 1 Oct 2019 at 10:51, Geert Uytterhoeven wrote: > > Hi Ard, Narendra, > > On Mon, Aug 12, 2019 at 5:07 PM Ard Biesheuvel > wrote: > > From: Narendra K > > > > System firmware advertises the address of the 'Runtime > > Configuration Interface table version 2 (RCI2)' via > > an EFI Configur

Re: [PATCH] iio: adc: imx25-gcq: Variable could be uninitialized if regmap_read() fails

2019-10-01 Thread Jonathan Cameron
On Mon, 30 Sep 2019 09:44:12 +0200 Marco Felsch wrote: > Hi Yizhuo, > > thanks for your patch. > > On 19-09-27 17:28, Yizhuo wrote: > > In function mx25_gcq_irq(), local variable "stats" could > > be uninitialized if function regmap_read() returns -EINVAL. > > However, this value is used in if

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-10-01 Thread Karol Herbst
On Tue, Oct 1, 2019 at 10:47 AM Mika Westerberg wrote: > > On Mon, Sep 30, 2019 at 06:36:12PM +0200, Karol Herbst wrote: > > On Mon, Sep 30, 2019 at 6:30 PM Mika Westerberg > > wrote: > > > > > > On Mon, Sep 30, 2019 at 06:05:14PM +0200, Karol Herbst wrote: > > > > still happens with your patch a

[PATCH] spi: spi-fsl-qspi: Introduce variable to fix different invalid master Id

2019-10-01 Thread Kuldeep Singh
Different platforms have different Master with different SourceID on AHB bus. The 0X0E Master ID is used by cluster 3 in case of LS2088A. So, patch introduce an invalid master id variable to fix invalid mastered on different platforms. Signed-off-by: Suresh Gupta Signed-off-by: Kuldeep Singh ---

[PATCH v1 1/3] xen/balloon: Drop __balloon_append()

2019-10-01 Thread David Hildenbrand
Let's simply use balloon_append() directly. Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Signed-off-by: David Hildenbrand --- drivers/xen/balloon.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c ind

[PATCH v1 0/3] xen/balloon: PG_offline cleanups

2019-10-01 Thread David Hildenbrand
Some cleanups based on top of: [PATCH v1] xen/balloon: Set pages PageOffline() in balloon_add_region() Make the PG_offline less error prone, by simply setting PG_offline when they enter the page list and clearing PG_offline when they leave the page list. Only compile-tested. David Hildenbran

[PATCH v1 3/3] xen/balloon: Clear PG_offline in balloon_retrieve()

2019-10-01 Thread David Hildenbrand
Let's move the clearing to balloon_retrieve(). In bp_state increase_reservation(), we now clear the flag a little earlier than before, however, this should not matter for XEN. Suggested-by: Boris Ostrovsky Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Signed-off-by: David Hilden

Re: [PATCH] RDMA/iw_cgxb4: Fix an error handling path in 'c4iw_connect()'

2019-10-01 Thread Dan Carpenter
On Mon, Sep 23, 2019 at 09:07:46PM +0200, Christophe JAILLET wrote: > We should jump to fail3 in order to undo the 'xa_insert_irq()' call. > > Signed-off-by: Christophe JAILLET > --- > Not sure which Fixes tag to use because of the many refactorings in this > area. So I've choosen to use none :).

[PATCH v1 2/3] xen/balloon: Mark pages PG_offline in balloon_append()

2019-10-01 Thread David Hildenbrand
Let's move the __SetPageOffline() call which all callers perform into balloon_append(). In bp_state decrease_reservation(), pages are now marked PG_offline a little later than before, however, this should not matter for XEN. Suggested-by: Boris Ostrovsky Cc: Boris Ostrovsky Cc: Juergen Gross C

Re: [PATCH v2] ARM: add __always_inline to functions called from __get_user_check()

2019-10-01 Thread Nicolas Saenz Julienne
On Tue, 2019-10-01 at 17:37 +0900, Masahiro Yamada wrote: > KernelCI reports that bcm2835_defconfig is no longer booting since > commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING > forcibly") (https://lkml.org/lkml/2019/9/26/825). > > I also received a regression report from Nicolas

Re: [PATCH v6 1/5] dt-bindings: media: Add Allwinner A10 CSI binding

2019-10-01 Thread Chen-Yu Tsai
On Tue, Oct 1, 2019 at 4:52 PM Maxime Ripard wrote: > > Hi, > > Thanks for looking into this. > > On Sun, Sep 15, 2019 at 04:54:16PM +0800, Chen-Yu Tsai wrote: > > On Thu, Aug 15, 2019 at 4:34 PM Chen-Yu Tsai wrote: > > > > > > Hi, > > > > > > Sorry for chiming in so late. > > > > > > On Thu, Jul

Re: [PATCH 18/29] arm64: Move EXCEPTION_TABLE to RO_DATA segment

2019-10-01 Thread Will Deacon
Hi Kees, On Thu, Sep 26, 2019 at 10:55:51AM -0700, Kees Cook wrote: > The EXCEPTION_TABLE is read-only, so collapse it into RO_DATA. > > Signed-off-by: Kees Cook > --- > arch/arm64/kernel/vmlinux.lds.S | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/ke

Re: [PATCH 14/29] vmlinux.lds.h: Allow EXCEPTION_TABLE to live in RO_DATA

2019-10-01 Thread Will Deacon
On Thu, Sep 26, 2019 at 10:55:47AM -0700, Kees Cook wrote: > Many architectures have an EXCEPTION_TABLE that needs only to be > read-only. As such, it should live in RO_DATA. This creates a macro to > identify this case for the architectures that can move EXCEPTION_TABLE > into RO_DATA. > > Signed

[PATCH] spi: Avoid calling spi_slave_abort() with kfreed spidev

2019-10-01 Thread Lukasz Majewski
Call spi_slave_abort() only when the spidev->spi is !NULL and the structure hasn't already been kfreed. Reported-by: kbuild test robot Reported-by: Julia Lawall Reported-by: Dan Carpenter Signed-off-by: Lukasz Majewski --- This fix applies on: repo: https://kernel.googlesource.com/pub/scm/lin

  1   2   3   4   5   6   7   8   9   10   >