Re: [PATCH] omapfb: dss: Fix max fclk divider for omap36xx

2020-07-06 Thread Tomi Valkeinen
Hi, On 03/07/2020 22:36, Sam Ravnborg wrote: Hi Tomi. On Fri, Jul 03, 2020 at 10:17:29AM +0300, Tomi Valkeinen wrote: On 30/06/2020 21:26, Adam Ford wrote: The drm/omap driver was fixed to correct an issue where using a divider of 32 breaks the DSS despite the TRM stating 32 is a valid

Re: linux-next: manual merge of the dmaengine tree with the dmaengine-fixes tree

2020-07-06 Thread Stephen Rothwell
Hi all, On Mon, 6 Jul 2020 10:11:46 +0530 Vinod Koul wrote: > > On 05-07-20, 21:23, Dave Jiang wrote: > > > > On 7/5/2020 8:56 PM, Stephen Rothwell wrote: > > > > > > Today's linux-next merge of the dmaengine tree got a conflict in: > > > > > >drivers/dma/idxd/sysfs.c > > > > > >

[PATCH v1 0/2] scsi: ufs: Fix and simplify setup_xfer_req vop and request's completion timestamp

2020-07-06 Thread Stanley Chu
Hi, This small series fixes and simplifies setup_xfer_req vop and request's completion timestamp. Stanley Chu (2): scsi: ufs: Simplify completion timestamp for SCSI and query commands scsi: ufs: Fix and simplify setup_xfer_req variant operation drivers/scsi/ufs/ufshcd.c | 12 ++--

[PATCH v1 2/2] scsi: ufs: Fix and simplify setup_xfer_req variant operation

2020-07-06 Thread Stanley Chu
Add missing "setup_xfer_req" call in ufshcd_issue_devman_upiu_cmd() by ufs-bsg path, and collect all "setup_xfer_req" calls to an unified place, i.e., ufshcd_send_command(), to simplify the driver. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 9 + 1 file changed, 5

[PATCH v1 1/2] scsi: ufs: Simplify completion timestamp for SCSI and query commands

2020-07-06 Thread Stanley Chu
Simplify recording command completion time in __ufshcd_transfer_req_compl() by assigning lrbp->compl_time_stamp in an unified location. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c

Re: [PATCH v3] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-06 Thread Marek Szyprowski
On 05.07.2020 20:17, Krzysztof Kozlowski wrote: > There is no need to keep DMA controller nodes under AMBA bus node. > Remove the "amba" node to fix dtschema warnings like: > > amba: $nodename:0: 'amba' does not match > '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' > > Signed-off-by: Krzysztof

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-06 Thread Jan Ziak
On Sun, Jul 5, 2020 at 1:58 PM Greg KH wrote: > > On Sun, Jul 05, 2020 at 06:09:03AM +0200, Jan Ziak wrote: > > On Sun, Jul 5, 2020 at 5:27 AM Matthew Wilcox wrote: > > > > > > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > > > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox > > >

Re: INFO: rcu detected stall in netlink_sendmsg (4)

2020-07-06 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:9e50b94b Add linux-next specific files for 20200703 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=13e6ec3310 kernel config:

Re: [PATCH v5 03/14] irqchip/csky-mpintc: Fix potential resource leaks

2020-07-06 Thread Markus Elfring
> … Thus add jump targets for the completion of the desired > exception handling. By the way, do some coding-style cleanups > suggested by Markus. I propose to split these changes.

Re: [PATCH v2] kasan: fix KASAN unit tests for tag-based KASAN

2020-07-06 Thread Dmitry Vyukov
On Mon, Jul 6, 2020 at 4:21 AM Walter Wu wrote: > > We use tag-based KASAN, then KASAN unit tests don't detect out-of-bounds > memory access. They need to be fixed. > > With tag-based KASAN, the state of each 16 aligned bytes of memory is > encoded in one shadow byte and the shadow value is tag

Re: WARNING in bpf_xdp_adjust_tail

2020-07-06 Thread Jesper Dangaard Brouer
On Sun, 05 Jul 2020 00:20:18 -0700 syzbot wrote: > Hello, > > syzbot found the following crash on: It is WARN that trigger this, due to panic_on_warn set. It's great to see that syzbot report these, as the WARN_ONCE is meant to catch drivers that forget to init xdp->frame_sz. In this case it

INFO: task hung in gate_exit_net

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2b04a661 Merge branch 'cxgb4-add-mirror-action-support-for.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12d9b86b10 kernel config: https://syzkaller.appspot.com/x/.config?x=2172f4d0dbc37e27

BUG: unable to handle kernel NULL pointer dereference in bpf_prog_ADDR_L

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:cb8e59cc Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1446cfd310 kernel config: https://syzkaller.appspot.com/x/.config?x=a16ddbc78955e3a9

KASAN: use-after-free Read in wg_get_device_start

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=123532a710 kernel config: https://syzkaller.appspot.com/x/.config?x=183dd243398ba7ec

[PATCH] Replace HTTP links with HTTPS ones: RTC

2020-07-06 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: EP93XX

2020-07-06 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

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

2020-07-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: drivers/s390/crypto/ap_bus.h between commit: 74ecbef7b908 ("s390/zcrypt: code beautification and struct field renames") from the s390 tree and commit: a0062965cc01 ("mm, treewide: rename kzfree() to

Re: [PATCH v2] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-06 Thread Alexandre Belloni
On 06/07/2020 05:18:39+, Johnson CH Chen (陳昭勳) wrote: > > > #endif /*CONFIG_RTC_DRV_DS1374_WDT*/ > > > /* > > > @@ -653,15 +514,25 @@ static int ds1374_probe(struct i2c_client > > > *client, > > > > > > #ifdef CONFIG_RTC_DRV_DS1374_WDT > > > save_client = client; > > > - ret =

[rcu:rcu/next] BUILD SUCCESS 856cb917f3b3edc8f81cfdff77fb2cad0c631376

2020-07-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: 856cb917f3b3edc8f81cfdff77fb2cad0c631376 doc: Drop doubled words from RCU requirements documentation elapsed time: 1825m configs tested: 193 configs skipped: 25 The following configs

Re: [PATCH] eventfd: Enlarge recursion limit to allow vhost to work

2020-07-06 Thread Juri Lelli
On 03/07/20 19:11, He Zhe wrote: > > > On 7/3/20 4:12 PM, Juri Lelli wrote: > > Hi, > > > > On 10/04/20 19:47, zhe...@windriver.com wrote: > >> From: He Zhe > >> > >> commit b5e683d5cab8 ("eventfd: track eventfd_signal() recursion depth") > >> introduces a percpu counter that tracks the percpu

RE: [PATCH v2] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-06 Thread 陳昭勳
Hi, > > > > + ret = devm_watchdog_register_device(>dev, >wdt); > > > > if (ret) { > > > > - misc_deregister(_miscdev); > > > > + dev_err(>dev, "failed to register DS1374 > > > > watchdog > > > > +device\n"); > > There was no error message before, I

Re: [PATCH v2] kasan: fix KASAN unit tests for tag-based KASAN

2020-07-06 Thread Walter Wu
On Mon, 2020-07-06 at 08:19 +0200, Dmitry Vyukov wrote: > On Mon, Jul 6, 2020 at 4:21 AM Walter Wu wrote: > > > > We use tag-based KASAN, then KASAN unit tests don't detect out-of-bounds > > memory access. They need to be fixed. > > > > With tag-based KASAN, the state of each 16 aligned bytes of

[PATCH] misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC

2020-07-06 Thread ricky_wu
From: Ricky Wu In order to support new chip rts5228, the definitions of some internal registers and workflow have to be modified. Added rts5228.c rts5228.h for independent functions of the new chip rts5228 Signed-off-by: Ricky Wu --- drivers/misc/cardreader/Makefile | 2 +-

Re: [PATCH v3 3/4] thermal: core: genetlink support for events/cmd/sampling

2020-07-06 Thread Daniel Lezcano
On 05/07/2020 08:03, Zhang Rui wrote: > On Fri, 2020-07-03 at 10:53 +0200, Daniel Lezcano wrote: >> Initially the thermal framework had a very simple notification >> mechanism to send generic netlink messages to the userspace. >> >> The notification function was never called from anywhere and the

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread NeilBrown
On Sat, Jul 04 2020, Matthew Wilcox wrote: > Another suggestion for "slave" replacement should be "device". This is in > the context of the w1 bus which is by far the largest user of the > master/slave terminology in the kernel. Ugh. Please, no. "device" doesn't mean anything, in that you can

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread NeilBrown
On Sat, Jul 04 2020, Matthew Wilcox wrote: > Another suggestion for "slave" replacement should be "device". This is in > the context of the w1 bus which is by far the largest user of the > master/slave terminology in the kernel. Ugh. Please, no. "device" doesn't mean anything, in that you can

Re: [PATCH 3/8] backlight: ili922x: Add missing kerneldoc descriptions for CHECK_FREQ_REG() args

2020-07-06 Thread Lee Jones
On Thu, 25 Jun 2020, Daniel Thompson wrote: > On Wed, Jun 24, 2020 at 03:57:16PM +0100, Lee Jones wrote: > > Kerneldoc syntax is used, but not complete. Descriptions required. > > > > Prevents warnings like: > > > > drivers/video/backlight/ili922x.c:116: warning: Function parameter or > >

Re: [PATCH 5/8] backlight: ili922x: Add missing kerneldoc description for ili922x_reg_dump()'s arg

2020-07-06 Thread Lee Jones
On Thu, 25 Jun 2020, Daniel Thompson wrote: > On Wed, Jun 24, 2020 at 03:57:18PM +0100, Lee Jones wrote: > > Kerneldoc syntax is used, but not complete. Descriptions required. > > > > Prevents warnings like: > > > > drivers/video/backlight/ili922x.c:298: warning: Function parameter or > >

Re: [PATCH 0/8] Fix a bunch of W=1 warnings in Backlight

2020-07-06 Thread Lee Jones
On Wed, 24 Jun 2020, Lee Jones wrote: > Attempting to clean-up W=1 kernel builds, which are currently > overwhelmingly riddled with niggly little warnings. > > Lee Jones (8): > backlight: lms501kf03: Remove unused const variables > backlight: lcd: Add missing kerneldoc entry for 'struct

Re: [PATCH v4 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-07-06 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves driver provides an ioctl interface to the user space for enclave lifetime management e.g. enclave creation / termination and setting enclave resources such as memory and CPU. This ioctl interface is mapped to a Nitro Enclaves misc

[PATCH v3 1/3] ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC

2020-07-06 Thread Jian-Hong Pan
The Acer desktop vCopperbox with ALC269VC cannot detect the MIC of headset, the line out and internal speaker until ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS quirk applied. Signed-off-by: Jian-Hong Pan Signed-off-by: Chris Chiu --- v3: Change the chained ID to ALC269_FIXUP_HEADSET_MIC according to

[PATCH v3 2/3] ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC

2020-07-06 Thread Jian-Hong Pan
The Acer Aspire C20-820 AIO's audio (1025:1065) with ALC269VC can't detect the headset microphone until ALC269VC_FIXUP_ACER_HEADSET_MIC quirk maps the NID 0x18 as the headset mic pin. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake --- v3: Change the chained ID to

[PATCH v3 3/3] ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC

2020-07-06 Thread Jian-Hong Pan
The Acer Veriton N4660G desktop's audio (1025:1248) with ALC269VC cannot detect the headset microphone until ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE quirk maps the NID 0x18 as the headset mic pin. Signed-off-by: Jian-Hong Pan --- v3: Change the chained ID to ALC269_FIXUP_HEADSET_MIC according to

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Greg Kroah-Hartman
On Mon, Jul 06, 2020 at 05:10:37PM +1000, NeilBrown wrote: > On Sat, Jul 04 2020, Matthew Wilcox wrote: > > > Another suggestion for "slave" replacement should be "device". This is in > > the context of the w1 bus which is by far the largest user of the > > master/slave terminology in the kernel.

[PATCH v3] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-06 Thread 陳昭勳
Let ds1374 watchdog use watchdog core functions. It also includes improving watchdog timer setting and nowayout, and just uses ioctl() of watchdog core. Signed-off-by: Johnson Chen Reported-by: kernel test robot v2->v3: - Fix a problem reported by WATCHDOG_CORE if WATCHDOG - Remove save_client

Re: [PATCH v5 00/14] irqchip: Fix potential resource leaks

2020-07-06 Thread Marc Zyngier
On 2020-07-06 02:19, Tiezhu Yang wrote: When I test the irqchip code of Loongson, I read the related code of other chips in drivers/irqchip and I find some potential resource leaks in the error path, I think it is better to fix them. v2: - Split the first patch into a new patch series which

Re: [PATCH v1 4/9] s390/vmemmap: cleanup when vmemmap_populate() fails

2020-07-06 Thread David Hildenbrand
On 03.07.20 19:09, kernel test robot wrote: > Hi David, > > I love your patch! Yet something to improve: > > [auto build test ERROR on s390/features] > [also build test ERROR on next-20200703] > [cannot apply to linux/master kvms390/next linus/master v5.8-rc3] > [If your patch is applied to the

Re: [PATCH v5 14/14] irqchip/xilinx-intc: Fix potential resource leak

2020-07-06 Thread Markus Elfring
> In the function xilinx_intc_of_init(), system resource "irqc->root_domain" > was not released in an error case. Thus add a jump target to call the > function "irq_domain_remove" for the completion of the desired exception > handling. Do the corresponding diff hunks express also a renaming of

Re: [PATCH 5/5] mfd: axp20x-i2c: Do not define 'struct acpi_device_id' when !CONFIG_ACPI

2020-07-06 Thread Lee Jones
On Mon, 29 Jun 2020, Chen-Yu Tsai wrote: > Adding Hans to the list as he's the one that deals with all the x86 > platforms that use this series of chips. > > On Mon, Jun 29, 2020 at 8:32 PM Lee Jones wrote: > > > > Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, > > struct

Re: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-06 Thread Lu Baolu
Hi Kevin, On 2020/7/6 9:29, Tian, Kevin wrote: From: Lu Baolu Sent: Monday, July 6, 2020 8:26 AM A pasid might be bound to a page table from a VM guest via the iommu ops.sva_bind_gpasid. In this case, when a DMA page fault is detected on the physical IOMMU, we need to inject the page fault

[PATCH v1 1/1] power: supply: axp20x_usb_power: fix spelling mistake

2020-07-06 Thread Flavio Suligoi
Fix typo: "triger" --> "trigger" Signed-off-by: Flavio Suligoi Acked-by: Chen-Yu Tsai --- v1: add Acked-by: Chen-Yu Tsai drivers/power/supply/axp20x_usb_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/axp20x_usb_power.c

linux-next: Tree for Jul 6

2020-07-06 Thread Stephen Rothwell
Hi all, Changes since 20200703: My fixes tree contains: dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") b236d81d9e4f ("powerpc/boot/dts: Fix dtc "pciex" warnings") The jc_docs tree gained a conflict against the arm64 tree. The tip tree still had one build failure for which

Re: [PATCH] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread Greg KH
On Sun, Jul 05, 2020 at 09:59:41AM +0800, qiang.zh...@windriver.com wrote: > From: Zhang Qiang > > Signed-off-by: Zhang Qiang No changelog text? I can't take patches like that, sorry. greg k-h

Re: [PATCH v5 00/14] irqchip: Fix potential resource leaks

2020-07-06 Thread Markus Elfring
>> v5: >>   - Modify the commit messages and do some code cleanups > > Please stop replying to Markus Elfring, and give people who actually > care a chance to review this code. You got the usual chances for the desired patch review. >Elfring will keep asking

Re: [PATCH 1/2] arm64: dts: Add the Kontron i.MX8M-Mini SoMs and baseboards

2020-07-06 Thread Frieder Schrempf
Hi Marcel, On 03.07.20 09:56, Marcel Ziswiler wrote: Hi Frieder Nice to see some more i.MX 8M Mini action. Much appreciated! On Thu, 2020-07-02 at 16:33 +0200, Schrempf Frieder wrote: From: Frieder Schrempf Kontron Electronics GmbH offers small and powerful SoMs based on the i.MX8MM To

[tip:x86/urgent] BUILD SUCCESS a4c0e91d1d65bc58f928b80ed824e10e165da22c

2020-07-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: a4c0e91d1d65bc58f928b80ed824e10e165da22c x86/entry/32: Fix XEN_PV build dependency elapsed time: 722m configs tested: 78 configs skipped: 89 The following configs have been built successfully.

Re: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-06 Thread Lu Baolu
On 2020/7/6 9:36, Tian, Kevin wrote: From: Tian, Kevin Sent: Monday, July 6, 2020 9:30 AM From: Lu Baolu Sent: Monday, July 6, 2020 8:26 AM A pasid might be bound to a page table from a VM guest via the iommu ops.sva_bind_gpasid. In this case, when a DMA page fault is detected on the

Re: [PATCH 3/3] mm/memory_hotplug: fix unpaired mem_hotplug_begin/done

2020-07-06 Thread David Hildenbrand
On 06.07.20 03:19, Jia He wrote: > When check_memblock_offlined_cb() returns failed rc(e.g. the memblock is > online at that time), mem_hotplug_begin/done is unpaired in such case. > > Therefore a warning: > Call Trace: > percpu_up_write+0x33/0x40 > try_remove_memory+0x66/0x120 > ?

Re: [PATCH v4 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-07-06 Thread Paraschiv, Andra-Irina
On 06/07/2020 10:13, Alexander Graf wrote: On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves driver provides an ioctl interface to the user space for enclave lifetime management e.g. enclave creation / termination and setting enclave resources such as memory and CPU. This ioctl

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Geert Uytterhoeven
On Mon, Jul 6, 2020 at 9:22 AM Greg Kroah-Hartman wrote: > On Mon, Jul 06, 2020 at 05:10:37PM +1000, NeilBrown wrote: > > On Sat, Jul 04 2020, Matthew Wilcox wrote: > > > Another suggestion for "slave" replacement should be "device". This is in > > > the context of the w1 bus which is by far the

Re: [PATCH v4 08/18] nitro_enclaves: Add logic for enclave vm creation

2020-07-06 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: Add ioctl command logic for enclave VM creation. It triggers a slot allocation. The enclave resources will be associated with this slot and it will be used as an identifier for triggering enclave run. Return a file descriptor, namely enclave fd. This

linux-next: Signed-off-by missing for commit in the dmaengine-fixes tree

2020-07-06 Thread Stephen Rothwell
Hi all, Commit 09c6b5536361 ("dmaengine: fsl-edma: fix wrong tcd endianness for big-endian cpu") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpa_Gf_eSF4S.pgp Description: OpenPGP digital signature

drivers/scsi/hptiop.c:643:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 3 weeks ago config: arm-randconfig-s032-20200706 (attached

drivers/net/ethernet/freescale/dpaa2/dpmac.c:180:18: sparse: sparse: cast to restricted __le64

2020-07-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 commit: 991df1fbb0dc3b44a88b4775b32d95839bf779e6 dpaa2-eth: add ethtool MAC counters date: 8 months ago config: arm64-randconfig-s032-20200706 (attached as .config

Re: [PATCH 2/3] mm/memory_hotplug: harden try_offline_node against bogus nid

2020-07-06 Thread David Hildenbrand
On 06.07.20 03:19, Jia He wrote: > When testing the remove_memory path of dax pmem, there will be a panic with > call trace: > try_remove_memory+0x84/0x170 > remove_memory+0x38/0x58 > dev_dax_kmem_remove+0x3c/0x84 [kmem] > device_release_driver_internal+0xfc/0x1c8 >

[PATCH] drm/of: Consider the state in which the ep is disabled

2020-07-06 Thread Sandy Huang
don't mask possible_crtcs if remote-point is disabled. Signed-off-by: Sandy Huang --- drivers/gpu/drm/drm_of.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c index fdb05fbf72a0..f5f250435add 100644 --- a/drivers/gpu/drm/drm_of.c +++

Re: [PATCH v4 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-07-06 Thread Alexander Graf
On 06.07.20 09:49, Paraschiv, Andra-Irina wrote: On 06/07/2020 10:13, Alexander Graf wrote: On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves driver provides an ioctl interface to the user space for enclave lifetime management e.g. enclave creation / termination and setting

回复: [PATCH] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread Zhang, Qiang
Sorry, I will add changelog and resend. Zhang Qiang 发件人: Greg KH 发送时间: 2020年7月6日 15:40 收件人: Zhang, Qiang 抄送: ba...@kernel.org; colin.k...@canonical.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] usb: gadget: function: fix

[PATCH v2] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread qiang.zhang
From: Zhang Qiang Add a missing spinlock protection to the add operation of the "audio->play_queue" in "f_audio_out_ep_complete" function. Signed-off-by: Zhang Qiang --- v1->v2: Add changelog text. drivers/usb/gadget/function/f_uac1_legacy.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH 1/3] arm64/numa: set numa_off to false when numa node is fake

2020-07-06 Thread David Hildenbrand
On 06.07.20 03:19, Jia He wrote: > Previously, numa_off is set to true unconditionally in dummy_numa_init(), > even if there is a fake numa node. > > But acpi will translate node id to NUMA_NO_NODE(-1) in acpi_map_pxm_to_node() > because it regards numa_off as turning off the numa node. > >

[PATCH 2/3] iio: dac: ad5592r: un-indent code-block for scale read

2020-07-06 Thread Alexandru Ardelean
The next rework may require an unindentation of a code block in ad5592r_read_raw(), which would make review a bit more difficult. This change unindents the code block for reading the scale of the non-temperature channels. Signed-off-by: Alexandru Ardelean --- drivers/iio/dac/ad5592r-base.c |

[PATCH 3/3] iio: dac: ad5592r: localize locks only where needed in ad5592r_read_raw()

2020-07-06 Thread Alexandru Ardelean
Since there was a recently discovered issue with these locks, it probably makes sense to cleanup the code a bit, to prevent it from being used as an example/reference. This change moves the lock only where it is explicitly needed to protect resources from potential concurrent accesses. It also

Re: [PATCH v2 1/4] regulator: pca9450: add pca9450 pmic driver

2020-07-06 Thread Frieder Schrempf
On 03.07.20 18:19, Robin Gong wrote: Add NXP pca9450 pmic driver. Signed-off-by: Robin Gong Reviewed-by: Frieder Schrempf --- drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile| 1 + drivers/regulator/pca9450-regulator.c | 843

[PATCH 1/3] iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()

2020-07-06 Thread Alexandru Ardelean
There are 2 exit paths where the lock isn't held, but try to unlock the mutex when exiting. In these places we should just return from the function. A neater approach would be to cleanup the ad5592r_read_raw(), but that would make this patch more difficult to backport to stable versions. Fixes

Re: [PATCH 0/3] arm64: perf: add support for Cortex-A55/A75/A76

2020-07-06 Thread Jisheng Zhang
Hi Will, On Fri, 3 Jul 2020 13:33:47 +0100 Will Deacon wrote: > > > On Fri, Jun 19, 2020 at 06:44:37PM +0800, Jisheng Zhang wrote: > > The Cortex-A55/A75/A76 use some implementation defined perf events. > > Add the support. > > > > Jisheng Zhang (3): > > arm64: perf: add support for

[tip:irq/core] BUILD SUCCESS 8fa88a88d573093868565a1afba43b5ae5b3a316

2020-07-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: 8fa88a88d573093868565a1afba43b5ae5b3a316 genirq: Remove preflow handler support elapsed time: 2881m configs tested: 235 configs skipped: 34 The following configs have been built successfully. More

[PATCH] regulator: fan53880: Add missing .owner field in regulator_desc

2020-07-06 Thread Axel Lin
Add missing .owner field in regulator_desc, which is used for refcounting. Signed-off-by: Axel Lin --- drivers/regulator/fan53880.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/regulator/fan53880.c b/drivers/regulator/fan53880.c index 285acc705a55..575d289b8e04 100644 ---

[RESEND PATCH] irqchip/stm32-exti: Use the hwspin_lock_timeout_in_atomic() API

2020-07-06 Thread Alexandre Torgue
From: Fabien Dessenne Now that the hwspin_lock_timeout_in_atomic() API is available use it. Signed-off-by: Fabien Dessenne Signed-off-by: Alexandre Torgue diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index faa8482c8246..c7ab69694931 100644 ---

[PATCH v2] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread qiang.zhang
From: Zhang Qiang Add a missing spinlock protection to the add operation of the play_queue in "f_audio_out_ep_complete" function. Signed-off-by: Zhang Qiang --- v1->v2: Add missing changelog. drivers/usb/gadget/function/f_uac1_legacy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v3 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-07-06 Thread David Hildenbrand
On 01.07.20 21:33, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: e900a918b098 ("mm: shuffle initial free memory to improve > memory-side-cache utilization"). > > The bot has tested the following

[PATCH] irqchip/stm32-exti: map direct event to irq parent

2020-07-06 Thread Alexandre Torgue
EXTI lines are mainly used to wake-up system from CStop low power mode. Currently, if a device wants to use a EXTI (direct) line as wakeup line, it has to declare 2 interrupts: - one for EXTI used to wake-up system (with dedicated_wake_irq api). - one for GIC used to get the wake up reason

Re: [PATCH v3] serial: samsung: Re-factors UART IRQ resource for various Samsung SoC

2020-07-06 Thread Krzysztof Kozlowski
On Sat, Jul 04, 2020 at 07:36:46PM +0530, Tamseel Shams wrote: > In few older Samsung SoCs like s3c2410, s3c2412 > and s3c2440, UART IP is having 2 interrupt lines. > However, in other SoCs like s3c6400, s5pv210, > exynos5433, and exynos4210 UART is having only 1 > interrupt line. Due to this,

Re: ptrace: seccomp: Return value when the call was already invalid

2020-07-06 Thread Will Deacon
On Sat, Jul 04, 2020 at 09:56:50PM -0700, Kees Cook wrote: > On Sat, Jul 04, 2020 at 01:33:56PM +0100, Will Deacon wrote: > > On Fri, Jul 03, 2020 at 08:52:05AM -0700, Kees Cook wrote: > > > On Fri, Jul 03, 2020 at 04:44:27PM +0100, Will Deacon wrote: > > > > On Fri, Jul 03, 2020 at 08:17:19AM

Re: [PATCH 0/3] Dynamic CPU frequency switching for the HiFive

2020-07-06 Thread Andreas Schwab
On Jul 03 2020, Yash Shah wrote: > Yes, you are right. The userspace governor is the only one supported. That doesn't make sense to me. How is the userspace governor different from any other governor? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

Re: [PATCH] exfat: implement "quiet" option for setattr

2020-07-06 Thread Ju Hyung Park
Hi Namjae. Looks like I ported this incorrectly from the previous sdFAT base. I'll fix, test again and send v2. Thanks. On Thu, Jul 2, 2020 at 2:16 PM Namjae Jeon wrote: > > > > > if (((attr->ia_valid & ATTR_UID) && > >!uid_eq(attr->ia_uid, sbi->options.fs_uid)) || @@ -322,6

Re: [PATCH RFC 5/5] f2fs: support age threshold based garbage collection

2020-07-06 Thread Chao Yu
Jaegeuk, This is a commercialized feature in huawei products for years, I think it's time to try to upstream it, could you please take a look at this idea, to see whether it could be a formal feature of f2fs? On 2020/6/30 18:04, Chao Yu wrote: > There are several issues in current background GC

Re: [PATCH v3 6/8] mm/gup: use a standard migration target allocation callback

2020-07-06 Thread Joonsoo Kim
2020년 7월 4일 (토) 오전 12:56, Vlastimil Babka 님이 작성: > > On 6/23/20 8:13 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > There is a well-defined migration target allocation callback. > > It's mostly similar with new_non_cma_page() except considering CMA pages. > > > > This patch adds a CMA

[PATCH] arm64: dts: mt8173: Re-measure capacity-dmips-mhz

2020-07-06 Thread Hsin-Yi Wang
Re measure capacity-dmips-mhz on elm and hana: cpu 1: 9502 DMIPS @ 1703 Mhz cpu 3: 16250 DMIPS @ 2106 Mhz ==> 740 : 1024 Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Linux v5.8-rc4] objtool warnings with gcc-10

2020-07-06 Thread Peter Zijlstra
On Mon, Jul 06, 2020 at 09:09:55AM +0200, Sedat Dilek wrote: > [ Please CC me I am not subscribed to this mailing-list ] > > Hi Josh and Peter, > > today I switched over from Linux v5.7.y to Linux v5.8-rc4 and built > the first time with GCC version 10 on Debian/testing AMD64. > > $ cat

Re: [PATCH v8 4/4] powerpc: Book3S 64-bit "heavyweight" KASAN support

2020-07-06 Thread kernel test robot
to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Daniel-Axtens/KASAN-for-powerpc64-radix/20200702-105552 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc64-randconfig-s031-20200706

Re: [PATCH entry v2 3/6] x86/entry/xen: Route #DB correctly on Xen PV

2020-07-06 Thread Michal Kubecek
On Fri, Jul 03, 2020 at 10:02:55AM -0700, Andy Lutomirski wrote: > On Xen PV, #DB doesn't use IST. We still need to correctly route it > depending on whether it came from user or kernel mode. > > This patch gets rid of DECLARE/DEFINE_IDTENTRY_XEN -- it was too > hard to follow the logic.

Re: [Linux v5.8-rc4] objtool warnings with gcc-10

2020-07-06 Thread Sedat Dilek
On Mon, Jul 6, 2020 at 10:39 AM Peter Zijlstra wrote: > > On Mon, Jul 06, 2020 at 09:09:55AM +0200, Sedat Dilek wrote: > > [ Please CC me I am not subscribed to this mailing-list ] > > > > Hi Josh and Peter, > > > > today I switched over from Linux v5.7.y to Linux v5.8-rc4 and built > > the first

Re: [PATCH v3 8/8] mm/page_alloc: remove a wrapper for alloc_migration_target()

2020-07-06 Thread Joonsoo Kim
2020년 7월 4일 (토) 오전 1:18, Vlastimil Babka 님이 작성: > > On 6/23/20 8:13 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > There is a well-defined standard migration target callback. > > Use it directly. > > > > Signed-off-by: Joonsoo Kim > > Acked-by: Vlastimil Babka > > But you could move

[PATCH] mm/hugetlb: avoid hardcoding while checking if cma is reserved

2020-07-06 Thread Barry Song
hugetlb_cma[0] can be NULL due to various reasons, for example, node0 has no memory. Thus, NULL hugetlb_cma[0] doesn't necessarily mean cma is not enabled. gigantic pages might have been reserved on other nodes. Fixes: cf11e85fc08c ("mm: hugetlb: optionally allocate gigantic hugepages using

[PATCH] ARM: dts: imx6qdl: only enable pcie in the pcie dts file

2020-07-06 Thread Richard Zhu
Since iMX6Q/DL PCIe has the PM limitation (ERR005723 "PCIe PCIe does not support L2 Power Down"). System suspend/resume would be broken by PCIe, if PCIe is enabled. Only enable PCIe in the xxx-pcie.dts files to avoid the brokens when other xxx.dtb files are used on sabresd and sabreauto boards.

Re: [PATCH v9 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-06 Thread Neil Armstrong
Hi, On 03/07/2020 11:08, Simon Ser wrote: > Thanks for the update! > > The driver should also disallow importing a AMLOGIC_FBC_LAYOUT_SCATTER > DMA-BUF from another device, but I guess this is clear enough ("not > transferrable between Amlogic SoCs"). Good idea, I'll experiment disabling import

[PATCH] media: cros-ec-cec: disable the device wakeup on remove

2020-07-06 Thread Dariusz Marcinkiewicz
The device is enabled for wake up while the driver is loaded. For symmetry, disable wakeup when it is removed. Signed-off-by: Dariusz Marcinkiewicz --- drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Michael Shigorin
Hi guys, do you think playing with words will really get you anywhere or help anyone? > +On the triviality of replacing words You're not going to make white black, make a native African white, or fix age-old crimes by this "triviality". You're only going to sort of please those who

Re: [PATCH] watchdog: bcm_kona_wdt: Use correct return value for bcm_kona_wdt_probe()

2020-07-06 Thread Tiezhu Yang
On 05/25/2020 09:47 PM, Guenter Roeck wrote: On 5/25/20 12:31 AM, Tiezhu Yang wrote: When call function devm_platform_ioremap_resource(), we should use IS_ERR() to check the return value and return PTR_ERR() if failed. Signed-off-by: Tiezhu Yang Reviewed-by: Guenter Roeck Hi, Could you

Re: [PATCH entry v2 3/6] x86/entry/xen: Route #DB correctly on Xen PV

2020-07-06 Thread Jürgen Groß
On 06.07.20 10:41, Michal Kubecek wrote: On Fri, Jul 03, 2020 at 10:02:55AM -0700, Andy Lutomirski wrote: On Xen PV, #DB doesn't use IST. We still need to correctly route it depending on whether it came from user or kernel mode. This patch gets rid of DECLARE/DEFINE_IDTENTRY_XEN -- it was too

[PATCH v1 0/3] ethernet: sun: use generic power management

2020-07-06 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from sun ethernet drivers. The callbacks performing suspend() and resume() operations are still calling pci_save_state(), pci_set_power_state(), etc. and handling

[PATCH v1 2/3] sun/niu: use generic power management

2020-07-06 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. The driver was calling

[PATCH v1 3/3] sun/cassini: use generic power management

2020-07-06 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Compile-tested only.

[PATCH v1 1/3] sun/sungem: use generic power management

2020-07-06 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. And they use PCI helper functions to do it. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific

Re: [PATCH] media: cros-ec-cec: disable the device wakeup on remove

2020-07-06 Thread Alexandre Belloni
On 06/07/2020 10:52:38+0200, Dariusz Marcinkiewicz wrote: > The device is enabled for wake up while the driver is loaded. > For symmetry, disable wakeup when it is removed. > This is not necessary as it is handled by the core properly. There are currently 73 calls to device_init_wakeup that are

Re: [PATCH] serial: Remove duplicated macro definition of port type

2020-07-06 Thread Tiezhu Yang
On 05/11/2020 02:40 PM, Jiri Slaby wrote: On 07. 05. 20, 14:03, Tiezhu Yang wrote: There exists the same macro definition of port type from 0 to 13 in include/uapi/linux/serial.h, remove these duplicated code in include/uapi/linux/serial_core.h which includes the former header. Signed-off-by:

Re: [Linux v5.8-rc4] objtool warnings with gcc-10

2020-07-06 Thread Sedat Dilek
On Mon, Jul 6, 2020 at 10:43 AM Sedat Dilek wrote: > > On Mon, Jul 6, 2020 at 10:39 AM Peter Zijlstra wrote: > > > > On Mon, Jul 06, 2020 at 09:09:55AM +0200, Sedat Dilek wrote: > > > [ Please CC me I am not subscribed to this mailing-list ] > > > > > > Hi Josh and Peter, > > > > > > today I

Re: [PATCH V4 1/3] mm/sparsemem: Enable vmem_altmap support in vmemmap_populate_basepages()

2020-07-06 Thread David Hildenbrand
> return 0; > @@ -1505,7 +1505,7 @@ int __meminit vmemmap_populate(unsigned long start, > unsigned long end, int node, > int err; > > if (end - start < PAGES_PER_SECTION * sizeof(struct page)) > - err = vmemmap_populate_basepages(start, end, node); > +

net/netfilter/nf_conntrack_netlink.c:3414:29: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 3 weeks ago config: s390-randconfig-s032-20200706 (attached

Re: [PATCH v2 01/12] kexec_file: allow archs to handle special regions while locating memory hole

2020-07-06 Thread Dave Young
On 07/03/20 at 01:24am, Hari Bathini wrote: > Some architectures may have special memory regions, within the given > memory range, which can't be used for the buffer in a kexec segment. > Implement weak arch_kexec_locate_mem_hole() definition which arch code > may override, to take care of special

  1   2   3   4   5   6   7   8   9   10   >