Re: [PATCH 1/2] drivers: drm: panel: Add TM5P5 NT35596 panel driver

2020-05-02 Thread Sam Ravnborg
Hi Konrad. On Fri, May 01, 2020 at 10:48:22PM +0200, Konrad Dybcio wrote: > This adds support for TMP5P5 NT35596 1080x1920 video > mode panel that can be found on some Asus Zenfone 2 > Laser (Z00T) devices. Very well-writen driver. Only a few small things in the following. Sam > > Sign

Re: [RFC, WIP, v4 07/11] media: vidtv: add MPEG TS common code

2020-05-02 Thread Mauro Carvalho Chehab
Em Sat, 2 May 2020 00:22:12 -0300 "Daniel W. S. Almeida" escreveu: > From: "Daniel W. S. Almeida" > > Add code to work with MPEG TS packets, such as TS headers, adaptation > fields, PCR packets and NULL packets. > > Signed-off-by: Daniel W. S. Almeida > --- > drivers/media/test-drivers/vidt

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Takashi Iwai
On Thu, 30 Apr 2020 19:49:03 +0200, Takashi Iwai wrote: > > On Thu, 30 Apr 2020 19:38:16 +0200, > Nicholas Johnson wrote: > > > > On Thu, Apr 30, 2020 at 07:01:08PM +0200, Takashi Iwai wrote: > > > On Thu, 30 Apr 2020 18:52:20 +0200, > > > Nicholas Johnson wrote: > > > > > > > > On Thu, Apr 30,

Re: Linux 5.4.37

2020-05-02 Thread Greg KH
diff --git a/Makefile b/Makefile index 947bf9e3a954..33690285d6aa 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 36 +SUBLEVEL = 37 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/arm/boot/dts/bcm283x

Linux 5.4.37

2020-05-02 Thread Greg KH
I'm announcing the release of the 5.4.37 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Linux 5.6.9

2020-05-02 Thread Greg KH
I'm announcing the release of the 5.6.9 kernel. All users of the 5.6 kernel series must upgrade. The updated 5.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.6.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Lukas Wunner
On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > @@ -673,6 +673,12 @@ static int amdgpu_dm_audio_component_bind(struct device > *kdev, > struct amdgpu_device *ad

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Takashi Iwai
On Sat, 02 May 2020 09:17:28 +0200, Lukas Wunner wrote: > > On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > @@ -673,6 +673,12 @@ static int amdgpu_dm_audio_comp

Re: [PATCH 07/14] docs: add IRQ documentation at the core-api book

2020-05-02 Thread Mike Rapoport
Hello Mauro, On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote: > There are 4 IRQ documentation files under Documentation/*.txt. > > Move them into a new directory (core-api/irq) and add a new > index file for it. Just curious, why IRQ docs got their subdirectory and DMA didn

Re: [PATCH 11/14] docs: move other kAPI documents to core-api

2020-05-02 Thread Mike Rapoport
Hello Mauro, On Fri, May 01, 2020 at 05:37:55PM +0200, Mauro Carvalho Chehab wrote: > There are a number of random documents that seem to be > describing some aspects of the core-api. Move them to such > directory, adding them at the core-api/index.rst file. > > Signed-off-by: Mauro Carvalho Cheh

Re: [PATCH v3 1/5] scsi: ufs: enable WriteBooster on some pre-3.1 UFS devices

2020-05-02 Thread Can Guo
Hi Stanley, On 2020-05-01 22:38, Stanley Chu wrote: WriteBooster feature can be supported by some pre-3.1 UFS devices by upgrading firmware. To enable WriteBooster feature in such devices, introduce a device quirk to relax the entrance condition of ufshcd_wb_probe() to allow host driver to chec

Re: [PATCH v9 0/3] IT6505 cover letter

2020-05-02 Thread Sam Ravnborg
Hi Allen. On Mon, Apr 27, 2020 at 05:16:51PM +0800, allen wrote: > The IT6505 is a high-performance DisplayPort 1.1a transmitter, fully > compliant with DisplayPort 1.1a, HDCP 1.3 specifications. The IT6505 supports > color depth of up to 36 bits (12 bits/color) and ensures robust transmission

Can i trust you?

2020-05-02 Thread Mr Suleman Bello
Dear Friend, Please i want you to read this letter very carefully and i must apologize for berging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and i know that this message will come to you as a surprise, Please this is not a jok

Re: [PATCH 4/4 v2] firmware: stratix10-svc: Slightly simplify code

2020-05-02 Thread Christophe JAILLET
Le 01/05/2020 à 18:55, Richard Gong a écrit : Hi, On 5/1/20 10:48 AM, Christophe JAILLET wrote: Le 01/05/2020 à 17:40, Richard Gong a écrit : Hi, On 4/29/20 1:52 AM, Christophe JAILLET wrote: Replace 'devm_kmalloc_array(... | __GFP_ZERO)' with the equivalent and shorter 'devm_kcalloc(...)'.

Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-02 Thread Guoqing Jiang
On 5/2/20 2:41 AM, Matthew Wilcox wrote: On Sat, May 02, 2020 at 12:42:15AM +0200, Guoqing Jiang wrote: On 5/2/20 12:16 AM, Matthew Wilcox wrote: On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: include/linux/pagemap.h: introduce attach/clear_page_private md: remove __cle

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

2020-05-02 Thread Nishad Kamdar
On Mon, Apr 27, 2020 at 12:25:27AM -0700, Christoph Hellwig wrote: > On Sat, Apr 25, 2020 at 07:05:09PM +0530, Nishad Kamdar wrote: > > This patch corrects the SPDX License Identifier style in > > header files related to XFS File System support. > > For C header files Documentation/process/license-

KASAN: global-out-of-bounds Read in inet_diag_bc_sk

2020-05-02 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4b4976a6 Merge branch 'net-ReST-part-three' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=13e3824c10 kernel config: https://syzkaller.appspot.com/x/.config?x=b1494ce3fbc02154 dashboard link: http

Re: [PATCH] arm: Drop CONFIG_MTD_M25P80 in various defconfig files

2020-05-02 Thread Russell King - ARM Linux admin
On Fri, May 01, 2020 at 09:23:28PM -0700, Bin Meng wrote: > From: Bin Meng > > Drop CONFIG_MTD_M25P80 that was removed in > commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") Have you checked whether these defconfigs contain the new symbol? It seems at least one does not. $ gre

Re: [PATCH v7 2/4] firmware: raspberrypi: Introduce vl805 init routine

2020-05-02 Thread Stefan Wahren
Hi Nicolas, Am 29.04.20 um 18:47 schrieb Nicolas Saenz Julienne: > The Raspberry Pi 4 gets its USB functionality from VL805, a PCIe chip > that implements xHCI. After a PCI reset, VL805's firmware may either be > loaded directly from an EEPROM or, if not present, by the SoC's > co-processor, Video

Re: [RFC PATCH v11 5/9] psci: Add hypercall service for ptp_kvm.

2020-05-02 Thread Jianyong Wu
On 2020/4/30 6:36 PM, Mark Rutland wrote: > On Tue, Apr 28, 2020 at 07:14:52AM +0100, Jianyong Wu wrote: >> On 2020/4/24 6:39 PM, Mark Rutland wrote: >>> On Fri, Apr 24, 2020 at 03:50:22AM +0100, Jianyong Wu wrote: On 2020/4/21 5:57 PM, Mark Rutland wrote: > On Tue, Apr 21, 2020 at 11:23:0

[PATCH v2] kvm: ioapic: Introduce arch-specific check for lazy update EOI mechanism

2020-05-02 Thread Suravee Suthikulpanit
commit f458d039db7e ("kvm: ioapic: Lazy update IOAPIC EOI") introduces the following regression. BUG: stack guard page was hit at 8f595917 \ (stack is bdefe5a4..ae2b06f5) kernel stack overflow (double-fault): [#1] SMP NOPTI RIP: 0010:kvm_set_irq+0x51/0x160 [kvm] Call T

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-02 Thread David Hildenbrand
>> Now, let's clarify what I want regarding virtio-mem: >> >> 1. kexec should not add virtio-mem memory to the initial firmware >>memmap. The driver has to be in charge as discussed. >> 2. kexec should not place kexec images onto virtio-mem memory. That >>would end badly. >> 3. kexec should

[PATCH v2] xfs: Use the correct style for SPDX License Identifier

2020-05-02 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header files related to XFS File System support. For C header files Documentation/process/license-rules.rst mandates C-like comments. (opposed to C source files where C++ style should be used). Changes made by using a script provided by Joe

[PATCH] stmmac: fix pointer check after utilization in stmmac_interrupt

2020-05-02 Thread Maxim Petrov
The paranoidal pointer check in IRQ handler looks very strange - it really protects us only against bogus drivers which request IRQ line with null pointer dev_id. However, the code fragment is incorrect because the dev pointer is used before the actual check. That leads to undefined behavior thus c

Re: [PATCH] kernel/sys: do not use tasklist_lock to set/get scheduling priorities

2020-05-02 Thread Peter Zijlstra
On Fri, May 01, 2020 at 08:05:39PM -0700, Davidlohr Bueso wrote: > For both setpriority(2) and getpriority(2) there's really no need > to be taking the tasklist_lock at all - for which both share it > for the entirety of the syscall. The tasklist_lock does not protect > reading/writing the p->stati

Re: [PATCH] riscv: force __cpu_up_ variables to put in data section

2020-05-02 Thread Zong Li
On Sat, May 2, 2020 at 2:13 PM Anup Patel wrote: > > On Sat, May 2, 2020 at 11:30 AM Zong Li wrote: > > > > On Fri, May 1, 2020 at 2:23 AM Atish Patra wrote: > > > > > > On Thu, Apr 30, 2020 at 2:53 AM Zong Li wrote: > > > > > > > > Put __cpu_up_stack_pointer and __cpu_up_task_pointer in data s

Re: [PATCH v2] MIPS: tools: Show result for loongson3-llsc-check

2020-05-02 Thread Thomas Bogendoerfer
On Sat, May 02, 2020 at 11:55:01AM +0800, Tiezhu Yang wrote: > It is better to show the result before loongson3-llsc-check exit, > otherwise we can see nothing if the return status is EXIT_SUCCESS, > it seems confusing. > > E.g. without this patch: > > [loongson@localhost tools]$ ./loongson3-llsc

[PATCH] iio: light: ltr501: Constify structs

2020-05-02 Thread Rikard Falkeborn
Constify some data structs that are never changed. In order to do so, also update a couple of functions that now need to accept pointers to const struct instead of struct. While at it, update a few more functions to accept pointers to const struct instead of pointers. This allows the compiler to p

Re: possible deadlock in lock_trace (3)

2020-05-02 Thread syzbot
syzbot suspects this bug was fixed by commit: commit 2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 Author: Bernd Edlinger Date: Fri Mar 20 20:27:24 2020 + proc: Use new infrastructure to fix deadlocks in execve bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17222ec410 sta

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Takashi Iwai
On Sat, 02 May 2020 09:27:31 +0200, Takashi Iwai wrote: > > On Sat, 02 May 2020 09:17:28 +0200, > Lukas Wunner wrote: > > > > On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > > > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > > +++ b/drivers/gpu/drm/amd/display/amdgpu_

Re: [PATCH] sh: Drop CONFIG_MTD_M25P80 in sh7757lcr_defconfig

2020-05-02 Thread Geert Uytterhoeven
Hi Bin, On Sat, May 2, 2020 at 6:27 AM Bin Meng wrote: > From: Bin Meng > > Drop CONFIG_MTD_M25P80 that was removed in > commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") > > Signed-off-by: Bin Meng Thanks for your patch! Blindly removing config options from defconfig files

Re: [PATCH 07/14] docs: add IRQ documentation at the core-api book

2020-05-02 Thread Mauro Carvalho Chehab
Em Sat, 2 May 2020 10:41:33 +0300 Mike Rapoport escreveu: > Hello Mauro, > > On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote: > > There are 4 IRQ documentation files under Documentation/*.txt. > > > > Move them into a new directory (core-api/irq) and add a new > > index fi

cgroup pointed by sock is leaked on mode switch

2020-05-02 Thread Yang Yingliang
Hi, I got an oom panic because cgroup is leaked. Here is the steps :   - run a docker with --cap-add sys_admin parameter and the systemd process in the docker uses both cgroupv1 and cgroupv2   - ssh/exit from host to docker repeately I find the number nr_dying_descendants is increasing: linux

Re: [PATCH 14/14] docs: staging: use small font for literal includes

2020-05-02 Thread Mauro Carvalho Chehab
Em Fri, 01 May 2020 17:10:00 -0700 Joe Perches escreveu: > On Fri, 2020-05-01 at 17:37 +0200, Mauro Carvalho Chehab wrote: > > The normal font is too big to display 80 columns, causing extra > > breaks to be added at weird places. > > > > change to the footnotesize, as this would fit a little bi

[PATCH v2] arm: Drop CONFIG_MTD_M25P80 in various defconfig files

2020-05-02 Thread Bin Meng
From: Bin Meng Drop CONFIG_MTD_M25P80 that was removed in commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") Signed-off-by: Bin Meng --- Changes in v2: - add CONFIG_MTD_SPI_NOR=y in axm55xx_defconfig arch/arm/configs/axm55xx_defconfig | 2 +- arch/arm/configs/davinci_al

Re: [PATCH 1/2] clk: vc5: Add support for IDT VersaClock 5P49V6965

2020-05-02 Thread Adam Ford
On Sat, Apr 4, 2020 at 11:15 AM Adam Ford wrote: > > Update IDT VersaClock 5 driver to support 5P49V6965. > > Signed-off-by: Adam Ford > Gentle ping. Rob H has given the 2nd which adds the bindings his 'signed-of-by' Once this has been approved, I'll be issuing an update to an another patch s

Re: [PATCH V2] ASoC: Intel: boards: Use FS as nau8825 sysclk in nau88125_* machine

2020-05-02 Thread kbuild test robot
suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Radoslaw-Biernacki/ASoC-Intel-boards-Use-FS-as-nau8825-sysclk-in-nau88125_-machine/20200502-044538 base: https://git.

[GIT PULL]: dmaengine fixes for v5.7-rc4

2020-05-02 Thread Vinod Koul
Hello Linus, Please pull to recived few fixes for dmaengine. A core fix, with documentation fixes as well as driver fixes: The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://gi

[PATCH v2] sh: Replace CONFIG_MTD_M25P80 with CONFIG_MTD_SPI_NOR in sh7757lcr_defconfig

2020-05-02 Thread Bin Meng
From: Bin Meng CONFIG_MTD_M25P80 was removed and replaced by CONFIG_MTD_SPI_NOR in commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") Signed-off-by: Bin Meng --- Changes in v2: - add CONFIG_MTD_SPI_NOR=y arch/sh/configs/sh7757lcr_defconfig | 2 +- 1 file changed, 1 insertio

Re: [PATCH] sh: Drop CONFIG_MTD_M25P80 in sh7757lcr_defconfig

2020-05-02 Thread Bin Meng
Hi Geert, On Sat, May 2, 2020 at 6:09 PM Geert Uytterhoeven wrote: > > Hi Bin, > > On Sat, May 2, 2020 at 6:27 AM Bin Meng wrote: > > From: Bin Meng > > > > Drop CONFIG_MTD_M25P80 that was removed in > > commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") > > > > Signed-off-by:

Re: Re: [PATCH] clk/meson: fixes memleak issue in init err branch

2020-05-02 Thread Martin Blumenstingl
Hi Bernhard, On Thu, Apr 30, 2020 at 5:33 AM 赵军奎 wrote: [...] > I am not sure whether my understanding is correct. > I feels that the failure of our module can not block the entire kernel from > starting. > Maybe we should throw an exception, clear the status, as "old way", > and continue to exe

Re: [PATCH 1/2] drivers: drm: panel: Add TM5P5 NT35596 panel driver

2020-05-02 Thread Sam Ravnborg
Hi Konrad. On Sat, May 02, 2020 at 12:09:45PM +0200, Konrad Dybcio wrote: > Hi, > > Thanks for your review. I'll send a v2 soon, however we need to solve the > compat string issue first. > > How should I document tm5p5? I think it's rather some kind of a model no. > along with the nt35596 IC tha

Re: [PATCH 07/14] docs: add IRQ documentation at the core-api book

2020-05-02 Thread Mike Rapoport
On Sat, May 02, 2020 at 12:16:41PM +0200, Mauro Carvalho Chehab wrote: > Em Sat, 2 May 2020 10:41:33 +0300 > Mike Rapoport escreveu: > > > Hello Mauro, > > > > On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote: > > > There are 4 IRQ documentation files under Documentation/*.t

Re: linux-next: build warning after merge of the soundwire tree

2020-05-02 Thread Vinod Koul
On 29-04-20, 18:14, Stephen Rothwell wrote: > Hi all, > > [Sorry that I did not report this earlier.] > > After merging the soundwire tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/soundwire/intel_init.c:193:14: warning: 'sdw_intel_init' defined but >

Re: [RFC 1/3] powernv/cpuidle : Support for pre-entry and post exit of stop state in firmware

2020-05-02 Thread Nicholas Piggin
Excerpts from Abhishek's message of April 30, 2020 3:52 pm: > Hi Nick, > > Have you posted out the kernel side of "opal v4" patchset? > I could only find the opal patchset. I just posted some new ones. I have some change sfor the cpuidle side but I haven't really looked to see what needs reconcil

[PATCH 3/6] phy: amlogic: meson8b-usb2: Use a MMIO regmap

2020-05-02 Thread Martin Blumenstingl
Using a MMIO regmap and switch to regmap_update_bits() to simplify the code in the driver. Also switch to devm_platform_ioremap_resource() instead of open-coding it. No functional changes intended. Signed-off-by: Martin Blumenstingl --- drivers/phy/amlogic/Kconfig| 1 + drivers/phy/

[PATCH 2/6] dt-bindings: phy: meson8b-usb2: Add compatible string for Meson8m2

2020-05-02 Thread Martin Blumenstingl
The USB2 PHY on Meson8m2 is identical to the one on Meson8b but different to the one on Meson8. The only known difference is that Meson8 does not set the ACA_ENABLE bit while Meson8b and Meson8m2 do. Add an explicit compatible string for Meson8m2 so those differences can be taken care of. Signed-o

[PATCH 0/6] phy: meson8b-usb2: small fixes and improvements

2020-05-02 Thread Martin Blumenstingl
This is a batch of fixes and improvements for the phy-meson8b-usb2 driver: - convert the existing dt-bindings to json-schema and add a fallback compatible string which is already in existing .dtsi files - differentiate between Meson8 and Meson8m2 using a new compatible string for the latter - s

[PATCH 6/6] phy: amlogic: meson8b-usb2: Add a compatible string for Meson8m2

2020-05-02 Thread Martin Blumenstingl
The 3.10 vendor kernel sets the ACA_ENABLE bit on Meson8b, Meson8m2 and GXBB, but not on Meson8. Add a compatible string for Meson8m2 which also sets that bit. While here, also update the Kconfig text and MODULE_DESCRIPTION. Signed-off-by: Martin Blumenstingl --- drivers/phy/amlogic/Kconfig

[PATCH 5/6] phy: amlogic: meson8b-usb2: unset the IDDQ bit during PHY power-on

2020-05-02 Thread Martin Blumenstingl
The vendor driver unsets the set_iddig bit during power-on as well and sets it when suspending the PHY. I did not notice this in the vendor driver first, because it's part of the dwc_otg driver there (instead of their PHY code). While here, also add all other REG_DBG_UART register bit definitions.

[PATCH 1/6] dt-bindings: phy: meson8b-usb2: Convert to json-schema

2020-05-02 Thread Martin Blumenstingl
Now that we have the DT validation in place, let's convert the device tree bindings for the Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY over to a YAML schema. While here, also add the fallback compatible string "amlogic,meson-gxbb-usb2-phy" which is already used in arch/arm/boot/dts/meson{

Re: [PATCH] soundwire: qcom: fix error handling in probe

2020-05-02 Thread Vinod Koul
On 30-04-20, 02:50, Bard Liao wrote: > From: Pierre-Louis Bossart > > Make sure all error cases are properly handled and all resources freed. Applied, thanks -- ~Vinod

[PATCH 4/6] phy: amlogic: meson8b-usb2: Don't set REG_ADP_BC_ACA_ENABLE on Meson8

2020-05-02 Thread Martin Blumenstingl
Skip setting REG_ADP_BC_ACA_ENABLE on Meson8 SoCs and polling for the REG_ADP_BC_ACA_PIN_FLOAT bit. The vendor also skips this part on Meson8 SoCs. This fixes initialization of the host-only USB PHY on Meson8 which would otherwise fail with "USB ID detect failed!". Fixes: 4a3449d1a0a10c ("phy: mes

Re: [PATCH 1/4] Documentation: SoundWire: clarify TDM mode support

2020-05-02 Thread Vinod Koul
On 20-04-20, 02:51, Bard Liao wrote: > From: Pierre-Louis Bossart > > The current description of stream topologies does not explicitly > mention 'mirror' topologies used for audio amplifiers, where all > amplifiers see the same data and generate a different output based on > configuration or dyna

[PATCH] powerpc/powernv: Fix a warning message

2020-05-02 Thread Christophe JAILLET
Fix a cut'n'paste error in a warning message. This should be 'cpu-idle-state-residency-ns' to match the property searched in the previous 'of_property_read_u32_array()' Fixes: 9c7b185ab2fe ("powernv/cpuidle: Parse dt idle properties into global structure") Signed-off-by: Christophe JAILLET ---

[PATCH 1/3] io_uring: trigger timeout after any sqe->off CQEs

2020-05-02 Thread Pavel Begunkov
sequence mode timeouts wait not for sqe->off CQEs, but rather sqe->off + number of prior inflight requests with a quirk ignoring other timeouts completions. Wait exactly for sqe->off using completion count (tail) for accounting. Reported-by: Jens Axboe Signed-off-by: Pavel Begunkov --- fs/io_ur

[PATCH 2/3] io_uring: don't trigger timeout with another t-out

2020-05-02 Thread Pavel Begunkov
When deciding whether to fire a timeout basing on number of completions, ignore CQEs emitted by other timeouts. Signed-off-by: Pavel Begunkov --- fs/io_uring.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index 148f6173457

[PATCH 0/3] timeout fixes

2020-05-02 Thread Pavel Begunkov
Nothing changed from the last time, just resending. [1,2] CQ vs SQ for timeout offset accounting [3] fixes timeout flushing with batched commits Pavel Begunkov (3): io_uring: trigger timeout after any sqe->off CQEs io_uring: don't trigger timeout with another t-out io_uring: fix timeout off

[PATCH 3/3] io_uring: fix timeout offset with batch CQ commit

2020-05-02 Thread Pavel Begunkov
Completions may be done in batches, where io_commit_cqring() is called only once at the end. It means, that timeout sequence checks are done only once and don't consider events in between, so potentially failing to trigger some timeouts. Do a separate CQ sequence accounting in u64. On timeout sequ

[PATCH 2/2] io_uring: add tee(2) support

2020-05-02 Thread Pavel Begunkov
Add IORING_OP_TEE implementing tee(2) support. Almost identical to splice bits, but without offsets. Signed-off-by: Pavel Begunkov --- fs/io_uring.c | 64 +-- include/uapi/linux/io_uring.h | 1 + 2 files changed, 62 insertions(+), 3 deletions(-)

[PATCH 1/2] splice: export do_tee()

2020-05-02 Thread Pavel Begunkov
export do_tee() for use in io_uring Signed-off-by: Pavel Begunkov --- fs/splice.c| 3 +-- include/linux/splice.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/splice.c b/fs/splice.c index 4735defc46ee..000be62c5146 100644 --- a/fs/splice.c +++ b/fs/splice

[PATCH 0/2] add tee(2) support

2020-05-02 Thread Pavel Begunkov
Add tee() reusing splice() bits. Pretty straightforward. Pavel Begunkov (2): splice: export do_tee() io_uring: add tee(2) support fs/io_uring.c | 64 +-- fs/splice.c | 3 +- include/linux/splice.h| 3 ++ include/uapi

[PATCH] i2c: use my kernel.org address from now on

2020-05-02 Thread Wolfram Sang
The old email is still active, but for easier handling, I am going to use my kernel.org address from now on. Also, add a mailmap for the now defunct Pengutronix address. Signed-off-by: Wolfram Sang --- .mailmap| 2 ++ MAINTAINERS | 2 +- drivers/i2c/i2c-core-b

[PATCH V2 2/3] clk: vc5: Enable addition output configurations of the Versaclock

2020-05-02 Thread Adam Ford
The existing driver is expecting the Versaclock to be pre-programmed, and only sets the output frequency. Unfortunately, not all devices are pre-programmed, and the Versaclock chip has more options beyond just the frequency. This patch enables the following additional features: - Programmable

Re: [PATCH] net: dsa: sja1105: fix speed setting for 10 MBPS

2020-05-02 Thread Sergei Shtylyov
Hello! On 01.05.2020 16:43, Colin King wrote: From: Colin Ian King The current logic for speed checking will never set the speed to 10 MBPS because bmcr & BMCR_SPEED10 is always 0 since BMCR_SPEED10 is 0. Also the erroneous setting where BMCR_SPEED1000 and BMCR_SPEED100 are both set causes th

[PATCH V2 3/3] dt: Add additional option bindings for IDT VersaClock

2020-05-02 Thread Adam Ford
The VersaClock driver now supports some additional bindings to support child nodes which can configure optional settings like mode, voltage and slew. This patch updates the binding document to describe what is available in the driver. Signed-off-by: Adam Ford Reviewed-by: Rob Herring diff --gi

[PATCH V2 1/3] clk: vc5: Allow Versaclock driver to support multiple instances

2020-05-02 Thread Adam Ford
Currently, the Versaclock driver is only expecting one instance and uses hard-coded names for the various clock names. Unfortunately, this is a problem when there is more than one instance of the driver, because the subsequent instantiations of the driver use the identical name. Each clock after

Re: [PATCH v3 1/1] dma: actions: Fix lockdep splat for owl-dma

2020-05-02 Thread Vinod Koul
Hi Cristian, On 29-04-20, 18:28, Cristian Ciocaltea wrote: > When the kernel is built with lockdep support and the owl-dma driver is > used, the following message is shown: First the patch title needs upate, we describe the patch in the title and not the cause. So use correct lock, or use od lock

Re: [PATCH] arm64: defconfig: Enable IMX27 PWM controller

2020-05-02 Thread Adam Ford
On Fri, Mar 6, 2020 at 4:38 AM Adam Ford wrote: > > The i.MX8M Mini and others use the i.MX27 PWM controller. > This patch enables it as a module so various boards can use it. > > Signed-off-by: Adam Ford I don't know who the right person is to ping for this, but it's still awaiting approval. >

Re: [PATCH] arm64: defconfig: Enable AT24 EEPROM as module

2020-05-02 Thread Adam Ford
On Fri, Mar 6, 2020 at 4:59 AM Adam Ford wrote: > > The Beacon EmbeddedWorks Kit based on i.MX8M Mini uses an AT24 > EEPROM on one of its I2C buses. > > This patch enables the AT24 as a module. > > Signed-off-by: Adam Ford > Gentle ping. I don't know who the right person is to ask for this. >

Re: [PATCH] arm64: defconfig: Enable IMX/FSL Audio Support for WM8962

2020-05-02 Thread Adam Ford
On Fri, Mar 6, 2020 at 4:38 AM Adam Ford wrote: > > The Beacon EmbeddedWorks i.MX8M Mini kit has a WM8962 audio codec. > This patch enables the required drivers as modules to enable sound. > > Signed-off-by: Adam Ford > Gentle ping. I don't know who the right person is to ask for this. adam >

Re: [PATCH] dma: zynqmp_dma: Initialize descriptor list after freeing during reset

2020-05-02 Thread Vinod Koul
Hello Rafał, On 28-04-20, 16:32, Rafał Hibner wrote: > List elements are not formally removed from list therefore > list head is not initialized during zynqmp_dma_reset. > > Signed-off-by: Rafal Hibner > > This BUG causes kernel panic when transaction is unsuccessful: > [ cut here

Re: [PATCH v2 1/4] capability: add ns_capable_cred()

2020-05-02 Thread Eric W. Biederman
Christian Brauner writes: > On Thu, Apr 30, 2020 at 01:09:30PM -0500, Eric W. Biederman wrote: >> Christian Brauner writes: >> >> > Add a simple capability helper which makes it possible to determine >> > whether a set of creds is ns capable wrt to the passed in credentials. >> > This is not so

[PATCH] ubi: Fix seq_file usage in detailed_erase_block_info debugfs file

2020-05-02 Thread Richard Weinberger
3bfa7e141b0b ("fs/seq_file.c: seq_read(): add info message about buggy .next functions") showed that we don't use seq_file correctly. So make sure that our ->next function always updates the position. Fixes: 7bccd12d27b7 ("ubi: Add debugfs file for tracking PEB state") Signed-off-by: Richard Wein

[PATCH] arm64: defconfig: Enable some audio drivers on i.MX8M Mini

2020-05-02 Thread Adam Ford
The i.MX8M Mini has SAI and micfil support but the drivers are not being loaded. This patch updates the defconfig to add support CONFIG_SND_SOC_FSL_SAI and CONFIG_SND_SOC_FSL_MICFIL to support these drivers. Signed-off-by: Adam Ford diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs

[PATCH] arm64: dts: imx8mm: Add support for micfil

2020-05-02 Thread Adam Ford
The i.MX8M Mini has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. This patch adds the micfil node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi

My Dear friend I am looking forward to hear from you immediately for further information you can reply to my private email address at

2020-05-02 Thread Dr. John Ben
>From Dr. John Ben Bank of Africa (B.O.A) Burkina Faso Ouagadougou My Dear Friend, please I want you to read this letter very carefully and I must apologize for barging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and I know tha

Re: [PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-02 Thread Rasmus Villemoes
On 01/05/2020 22.29, Peter Zijlstra wrote: > Extend the static_call infrastructure to optimize the following common > pattern: > > if (func_ptr) > func_ptr(args...) > > + > #define static_call(name)__static_call(name) > +#define static_cond_call(name) (void)__static

Re: [PATCH] dma: zynqmp_dma: Initialize descriptor list after freeing during reset

2020-05-02 Thread Rafał Hibner
Hello Vinod, On 02.05.2020 14:32, Vinod Koul wrote: > Would it not be better to use list_del_init() where we delete it rather > than do the init here? > It is not a problem of list element itself not being initialized. The problem is that during fault conditions (zynqmp_dma_reset) all elements ar

Re: [PATCH] KVM: x86: Fixes posted interrupt check for IRQs delivery modes

2020-05-02 Thread Maxim Levitsky
On Tue, 2020-04-07 at 01:13 -0500, Suravee Suthikulpanit wrote: > Current logic incorrectly uses the enum ioapic_irq_destination_types > to check the posted interrupt destination types. However, the value > was > set using APIC_DM_XXX macros, which are left-shifted by 8 bits. > > Fixes by using th

Lieber Freund (Assalamu Alaikum),?

2020-05-02 Thread AISHA GADDAFI
-- Lieber Freund (Assalamu Alaikum), Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende Mutter und eine Witwe mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen Präsident (verstorbener Oberst

[PATCH] arm64: dts: imx8mm: Add node for SPDIF

2020-05-02 Thread Adam Ford
The i.MX8M Mini can support SPIDF which is very similar to the IP used on the i.MX35. This patch adds the SPIF node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index d46e727fc362..00aad55ece65 100644 --- a/arch/ar

Re: [PATCH] streamline_config.pl: add LOCALMODCONFIG_PRESERVE to preserve some kconfigs

2020-05-02 Thread Changbin Du
On Fri, May 01, 2020 at 09:51:17AM -0700, Randy Dunlap wrote: > On 4/30/20 7:37 PM, Changbin Du wrote: > > Sometimes it is useful to preserve batches of configs when making > > localmodconfig. For example, I usually don't want any usb and fs > > modules to be disabled. Now we can do it by: > > > >

Re: [PATCH 3/3] mm/swapfile.c: count won't be bigger than SWAP_MAP_MAX

2020-05-02 Thread Wei Yang
On Fri, May 01, 2020 at 03:48:53PM -0700, Andrew Morton wrote: >On Fri, 1 May 2020 01:52:59 + Wei Yang wrote: > >> When the condition is true, there are two possibilities: > >I'm struggling with this one. > >>1. count == SWAP_MAP_BAD >>2. count == (SWAP_MAP_MAX & COUNT_CONTINUED) == S

Re: [PATCH] streamline_config.pl: add LOCALMODCONFIG_PRESERVE to preserve some kconfigs

2020-05-02 Thread Changbin Du
On Fri, May 01, 2020 at 01:07:29PM -0400, Steven Rostedt wrote: > On Fri, 1 May 2020 10:37:08 +0800 > Changbin Du wrote: > > > Sometimes it is useful to preserve batches of configs when making > > localmodconfig. For example, I usually don't want any usb and fs > > modules to be disabled. Now we

[PATCH v2] streamline_config.pl: add LOCALMODCONFIG_PRESERVE to preserve some kconfigs

2020-05-02 Thread Changbin Du
Sometimes it is useful to preserve batches of configs when making localmodconfig. For example, I usually don't want any usb and fs modules to be disabled. Now we can do it by: $ make LOCALMODCONFIG_PRESERVE="drivers/usb;fs" localmodconfig Signed-off-by: Changbin Du --- v2: fix typo in document

[PATCH V3 03/16] arm64/cpufeature: Make doublelock a signed feature in ID_AA64DFR0

2020-05-02 Thread Anshuman Khandual
Double lock feature can have the following possible values. 0b - Double lock implemented 0b - Double lock not implemented But in case of a conflict the safe value should be 0b. Hence this must be a signed feature instead. Also change FTR_EXACT to FTR_LOWER_SAFE. Cc: Catalin Marinas

[PATCH V3 02/16] arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register

2020-05-02 Thread Anshuman Khandual
ID_DFR0 based TraceFilt feature should not be exposed to guests. Hence lets drop it. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier Cc: Mark Rutland Cc: James Morse Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Suggested-by: Mark Rutlan

[GIT PULL] Please pull NFS client bugfixes

2020-05-02 Thread Trond Myklebust
Hi Linus, The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-4 for you to fetch changes up to 9c07b75b80eeff71

[PATCH V3 00/16] arm64/cpufeature: Introduce ID_PFR2, ID_DFR1, ID_MMFR5 and other changes

2020-05-02 Thread Anshuman Khandual
This series is primarily motivated from an adhoc list from Mark Rutland during our previous ID_ISAR6 discussion [1]. The current proposal also accommodates some more suggestions from Will and Suzuki. This series adds missing 32 bit system registers (ID_PFR2, ID_DFR1 and ID_MMFR5), adds missing fea

[PATCH V3 06/16] arm64/cpufeature: Introduce ID_MMFR5 CPU register

2020-05-02 Thread Anshuman Khandual
This adds basic building blocks required for ID_MMFR5 CPU register which provides information about the implemented memory model and memory management support in AArch32 state. This is added per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier Cc: Mark Rutland

[PATCH V3 01/16] arm64/cpufeature: Add explicit ftr_id_isar0[] for ID_ISAR0 register

2020-05-02 Thread Anshuman Khandual
ID_ISAR0[31..28] bits are RES0 in ARMv8, Reserved/UNK in ARMv7. Currently these bits get exposed through generic_id_ftr32[] which is not desirable. Hence define an explicit ftr_id_isar0[] array for ID_ISAR0 register where those bits can be hidden. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rut

[PATCH V3 04/16] arm64/cpufeature: Introduce ID_PFR2 CPU register

2020-05-02 Thread Anshuman Khandual
This adds basic building blocks required for ID_PFR2 CPU register which provides information about the AArch32 programmers model which must be interpreted along with ID_PFR0 and ID_PFR1 CPU registers. This is added per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Z

[PATCH V3 16/16] arm64/cpufeature: Replace all open bits shift encodings with macros

2020-05-02 Thread Anshuman Khandual
There are many open bits shift encodings for various CPU ID registers that are scattered across cpufeature. This replaces them with register specific sensible macro definitions. This should not have any functional change. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier Cc: Mark Rutland Cc

[PATCH V3 13/16] arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR1 register

2020-05-02 Thread Anshuman Khandual
Enable ETS, TWED, XNX and SPECSEI features bits in ID_AA64MMFR1 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Suggested-by: Will Deacon Signed-

[PATCH V3 14/16] arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR2 register

2020-05-02 Thread Anshuman Khandual
Enable EVT, BBM, TTL, IDS, ST, NV and CCIDX features bits in ID_AA64MMFR2 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Suggested-by: Will Deaco

[PATCH V3 15/16] arm64/cpufeature: Add remaining feature bits in ID_AA64DFR0 register

2020-05-02 Thread Anshuman Khandual
Enable MTPMU and TRACEFILT features bits in ID_AA64DFR0 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Suggested-by: Will Deacon Signed-off-by:

[PATCH V3 11/16] arm64/cpufeature: Add remaining feature bits in ID_AA64PFR1 register

2020-05-02 Thread Anshuman Khandual
Enable the following features bits in ID_AA64PFR1 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Suggested-by: Will Deacon Signed-off-by: Anshum

[PATCH V3 09/16] arm64/cpufeature: Add remaining feature bits in ID_AA64ISAR0 register

2020-05-02 Thread Anshuman Khandual
Enable TLB features bit in ID_AA64ISAR0 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Suggested-by: Will Deacon Signed-off-by: Anshuman Khandua

[PATCH V3 07/16] arm64/cpufeature: Add remaining feature bits in ID_PFR0 register

2020-05-02 Thread Anshuman Khandual
Enable DIT and CSV2 feature bits in ID_PFR0 register as per ARM DDI 0487F.a specification. Except RAS and AMU, all other feature bits are now enabled. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel

  1   2   3   4   >