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 m

[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 +- drivers/misc/ca

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 u

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 u

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 > > mem

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 > > mem

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 devic

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 d

[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 ALC269_FIXUP_HEADSET_M

[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 w

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 the

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 axp20

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 req

[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 b/drivers/power/supply/

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 I

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 y

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 av

[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. Mo

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 physical

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 > ? _cond_re

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 l

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 > device_release_driver+

[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 +++ b

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 en

回复: [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 mi

[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. > > Witho

[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 | 26

[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

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 56

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 Cortex-A5

[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 --- a/dri

[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 --- a/drivers/irq

[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 a/d

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 tr

[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 inside

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, "pla

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 -070

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 1

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 a

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 c

[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 a/arch/arm64/boot/dts/mediate

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 /proc/ve

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. Instead

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 t

[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 cma")

[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. Si

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 a/drivers/media/cec/pla

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 actua

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 pl

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 t

[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 pci_save/

[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. Signed-off

[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 o

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 n

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: T

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 swit

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); > + e

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

[tip:master] BUILD SUCCESS 220dbf4aaa5b574f67ce23fa4d7b0104515bc60e

2020-07-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 220dbf4aaa5b574f67ce23fa4d7b0104515bc60e Merge branch 'WIP.core/headers' elapsed time: 804m configs tested: 156 configs skipped: 16 The following configs have been built successfully. More configs may

Re: [RFC PATCH v2 11/18] media: tegra-video: Add support for external sensor capture

2020-07-06 Thread Hans Verkuil
Hi Sowjanya, As promised, here is the review of this remaining patch. I've now reviewed and tested the whole series. I have some more patches pending for the imx274 but some of that needs a bit more testing. I hope to be able to post those soon. On 17/06/2020 03:41, Sowjanya Komatineni wrote: >

Re: [PATCH v14 07/20] mm/thp: narrow lru locking

2020-07-06 Thread Alex Shi
Hi Kirill & Johannes & Matthew, Would you like to give some comments or share your concern of this patchset, specialy for THP part? Many Thanks Alex 在 2020/7/3 下午1:07, Alex Shi 写道: > lru_lock and page cache xa_lock have no reason with current sequence, > put them together isn't necessary. let's

[PATCH v1 2/2] scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu()

2020-07-06 Thread Bean Huo
From: Bean Huo ufshcd_comp_devman_upiu() alwasy make me confuse that it is a request completion calling function. Change it to ufshcd_compose_devman_upiu(). Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH v1 1/2] scsi: ufs: differentiate dev_cmd trace message

2020-07-06 Thread Bean Huo
From: Bean Huo fshcd_exec_dev_cmd() can send query request and NOP request, and it is confusing that ufshcd_add_query_upiu_trace() prints us the "query_send" string in the trace log. Change it and add NOP key message in the trace print according to the dev_cmd type. Signed-off-by: Bean Huo ---

[PATCH v1 0/2] make UFS dev_cmd more readable

2020-07-06 Thread Bean Huo
From: Bean Huo Bean Huo (2): scsi: ufs: differentiate dev_cmd trace message scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu() drivers/scsi/ufs/ufshcd.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) -- 2.17.1

[PATCH net-next 01/12] switchdev: mrp: Extend switchdev API for MRP Interconnect

2020-07-06 Thread Horatiu Vultur
Extend switchdev API to add support for MRP interconnect. The HW is notified in the following cases: SWITCHDEV_OBJ_ID_IN_ROLE_MRP: This is used when the interconnect role of the node changes. The supported roles are MIM and MIC. SWITCHDEV_OBJ_ID_IN_STATE_MRP: This is used when the interconnect

Re: [PATCH] SPI LPC information kernel module

2020-07-06 Thread Arnd Bergmann
On Fri, Jul 3, 2020 at 10:43 PM Daniel Gutson wrote: > On Tue, Jun 30, 2020 at 5:58 PM Arnd Bergmann wrote: > > After analyzing the intel-spi driver, I came up to these observations that led > me conclude that it is not what I need to use: > > * Some SPI Controllers have 0x as their VID DID b

[PATCH net-next 02/12] bridge: uapi: mrp: Extend MRP attributes for MRP interconnect

2020-07-06 Thread Horatiu Vultur
Extend the existing MRP netlink attributes to allow to configure MRP Interconnect: IFLA_BRIDGE_MRP_IN_ROLE - the parameter type is br_mrp_in_role which contains the interconnect id, the ring id, the interconnect role(MIM or MIC) and the port ifindex that represents the interconnect port. IFLA

[PATCH net-next 00/12] bridge: mrp: Add support for interconnect ring

2020-07-06 Thread Horatiu Vultur
This patch series extends existing MRP to add support for interconnect ring. An interconnect ring is a ring that connects 2 rings. In this way is possible to connect multiple rings. Each interconnect ring is form of 4 nodes, in which 3 have the role MIC(Media Redundancy Interconnect Client) and on

[PATCH net-next 04/12] bridge: mrp: Extend br_mrp for MRP interconnect

2020-07-06 Thread Horatiu Vultur
This patch extends the 'struct br_mrp' to contain information regarding the MRP interconnect. It contains the following: - the interconnect port 'i_port', which is NULL if the node doesn't have a interconnect role - the interconnect id, which is similar with the ring id, but this field is also

[PATCH net-next 08/12] bridge: mrp: Implement the MRP Interconnect API

2020-07-06 Thread Horatiu Vultur
Thie patch adds support for MRP Interconnect. Similar with the MRP ring, if the HW can't generate MRP_InTest frames, then the SW will try to generate them. And if also the SW fails to generate the frames then an error is return to userspace. The forwarding/termination of MRP_In frames is happening

[PATCH net-next 12/12] net: bridge: Add port attribute IFLA_BRPORT_MRP_IN_OPEN

2020-07-06 Thread Horatiu Vultur
This patch adds a new port attribute, IFLA_BRPORT_MRP_IN_OPEN, which allows to notify the userspace when the node lost the contiuity of MRP_InTest frames. Signed-off-by: Horatiu Vultur --- include/uapi/linux/if_link.h | 1 + net/bridge/br_netlink.c| 3 +++ tools/include/uapi/li

[PATCH net-next 05/12] bridge: mrp: Rename br_mrp_port_open to br_mrp_ring_port_open

2020-07-06 Thread Horatiu Vultur
This patch renames the function br_mrp_port_open to br_mrp_ring_port_open. In this way is more clear that a ring port lost the continuity because there will be also a br_mrp_in_port_open. Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp.c | 6 +++--- net/bridge/br_mrp_netlink.c | 2 +-

[PATCH net-next 09/12] bridge: mrp: Extend MRP netlink interface for configuring MRP interconnect

2020-07-06 Thread Horatiu Vultur
This patch extends the existing MRP netlink interface with the following attributes: IFLA_BRIDGE_MRP_IN_ROLE, IFLA_BRIDGE_MRP_IN_STATE and IFLA_BRIDGE_MRP_START_IN_TEST. These attributes are similar with their ring attributes but they apply to the interconnect port. Signed-off-by: Horatiu Vultur

[PATCH net-next 10/12] bridge: uapi: mrp: Extend MRP_INFO attributes for interconnect status

2020-07-06 Thread Horatiu Vultur
Extend the existing MRP_INFO to return status of MRP interconnect. In case there is no MRP interconnect on the node then the role will be disabled so the other attributes can be ignored. Signed-off-by: Horatiu Vultur --- include/uapi/linux/if_bridge.h | 5 + 1 file changed, 5 insertions(+)

[PATCH net-next 11/12] bridge: mrp: Extend br_mrp_fill_info

2020-07-06 Thread Horatiu Vultur
This patch extends the function br_mrp_fill_info to return also the status for the interconnect ring. Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp_netlink.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/net/bridge/br_mrp_netlink.c b/net/bridge/br_mrp_netlink.c in

[PATCH net-next 06/12] bridge: mrp: Add br_mrp_in_port_open function

2020-07-06 Thread Horatiu Vultur
This function notifies the userspace when the node lost the continuity of MRP_InTest frames. Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp_netlink.c | 22 ++ net/bridge/br_private_mrp.h | 1 + 2 files changed, 23 insertions(+) diff --git a/net/bridge/br_mrp_netlink.c

[PATCH net-next 03/12] bridge: mrp: Extend bridge interface

2020-07-06 Thread Horatiu Vultur
This patch adds a new flag(BR_MRP_LOST_IN_CONT) to the net bridge ports. This bit will be set when the port lost the continuity of MRP_InTest frames. Signed-off-by: Horatiu Vultur --- include/linux/if_bridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/if_bridge.h b/includ

[PATCH net-next 07/12] bridge: switchdev: mrp: Extend MRP API for switchdev for MRP Interconnect

2020-07-06 Thread Horatiu Vultur
Implement the MRP API for interconnect switchdev. Similar with the other br_mrp_switchdev function, these function will just eventually call the switchdev functions: switchdev_port_obj_add/del. Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp_switchdev.c | 62 +

[PATCH v2 1/2] spi: Add the SPI daisy chain support.

2020-07-06 Thread Adrian Fiergolski
The implementation is transparent for the SPI devices and doesn't require their modifications. It is based on a virtual SPI device (spi-daisy_chain) and defines two required device tree properties ('spi-daisy-chain-len' and 'spi-daisy-chain-noop') and one optional ('spi-daisy-chain-bits_per_word').

  1   2   3   4   5   6   7   8   9   10   >