Re: [PATCH v4 2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic

2020-11-03 Thread kernel test robot
a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ajye-Huang/Modify-documentation-and-machine-driver-for-SC7180-sound-card/20201103-105632 base: https://git.kernel.org/pub/scm

Re: [EXT] Re: [v2 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-11-03 Thread Rasmus Villemoes
On 02/11/2020 22.22, Leo Li wrote: >>> >>> Where did you get this information that the register on LS1043 and >>> LS1046 is bit reversed? I cannot find such information in the RM. >>> And does this mean all other SCFG registers are also bit reversed? If >>> this is some information that is not

Re: [PATCH v2] checkpatch: improve email parsing

2020-11-03 Thread Dwaipayan Ray
On Tue, Nov 3, 2020 at 12:58 PM Joe Perches wrote: > > On Tue, 2020-11-03 at 11:28 +0530, Dwaipayan Ray wrote: > > On Tue, Nov 3, 2020 at 11:18 AM Dwaipayan Ray > > wrote: > > > > > > checkpatch doesn't report warnings for many common mistakes > > > in emails. Some of which are trailing commas

Re: [PATCH] x86/hyperv: Enable 15-bit APIC ID if the hypervisor supports it

2020-11-03 Thread David Woodhouse
On Mon, 2020-11-02 at 17:11 -0800, Dexuan Cui wrote: > When a Linux VM runs on Hyper-V, if the VM has CPUs with >255 APIC IDs, > the CPUs can't be the destination of IOAPIC interrupts, because the > IOAPIC RTE's Dest Field has only 8 bits. Currently the hackery driver >

Re: [PATCH v2] checkpatch: improve email parsing

2020-11-03 Thread Lukas Bulwahn
On Tue, Nov 3, 2020 at 8:28 AM Joe Perches wrote: > > On Tue, 2020-11-03 at 11:28 +0530, Dwaipayan Ray wrote: > > On Tue, Nov 3, 2020 at 11:18 AM Dwaipayan Ray > > wrote: > > > > > > checkpatch doesn't report warnings for many common mistakes > > > in emails. Some of which are trailing commas

Re: [PATCH v7 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-03 Thread Georgi Djakov
Hi Sylwester, Thank you for refreshing the patchset! On 10/30/20 14:51, Sylwester Nawrocki wrote: > This patch adds a generic interconnect driver for Exynos SoCs in order > to provide interconnect functionality for each "samsung,exynos-bus" > compatible device. > > The SoC topology is a graph

[PATCH -next] irq-chip/gic-v3-its: Fixed an issue where the ITS executes the residual commands in the queue again when the ITS wakes up from sleep mode.

2020-11-03 Thread Xu Qiang
During wakeup, the ATF restore interface restores the values of the cbaser and cwriter registers. As a result, the ITS executes the residual commands in the queue, which may cause memory corruption. To solve this problem, clear all data in the command queue in the suspend interface of the ITS

[PATCH] mm/gup_benchmark: mark gup_benchmark_init as __init function

2020-11-03 Thread Barry Song
gup_benchmark_init() is only called during initialization, mark it as __init to save some memory. Cc: John Hubbard Cc: Jan Kara Cc: Jérôme Glisse Cc: "Matthew Wilcox (Oracle)" Cc: Al Viro Cc: Christoph Hellwig Cc: Dan Williams Cc: Dave Chinner Cc: Jason Gunthorpe Cc: Jonathan Corbet Cc:

Re: [PATCH] clk: renesas: rcar-usb2-clock-sel: Replace devm_reset_control_array_get()

2020-11-03 Thread Geert Uytterhoeven
On Tue, Nov 3, 2020 at 4:45 AM Yejune Deng wrote: > devm_reset_control_array_get_shared() looks more readable > > Signed-off-by: Yejune Deng Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-clk-for-v5.11. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven --

Re: [f2fs-dev] [PATCH v3] f2fs: move ioctl interface definitions to separated file

2020-11-03 Thread Chao Yu
On 2020/11/3 11:22, Eric Biggers wrote: On Mon, Nov 02, 2020 at 02:21:31PM +0800, Chao Yu wrote: +#define F2FS_IOC_MOVE_RANGE_IOWR(F2FS_IOCTL_MAGIC, 9, \ + struct f2fs_move_range) [...] +#define F2FS_IOC_GARBAGE_COLLECT_RANGE

Re: [PATCH v2] spi: mt7621: fix missing clk_disable_unprepare() on error in mt7621_spi_probe

2020-11-03 Thread Qinglang Miao
在 2020/11/3 15:49, Qinglang Miao 写道: Fix the missing clk_disable_unprepare() before return from mt7621_spi_probe in the error handling case. Fixes: cbd66c626e16 ("spi: mt7621: Move SPI driver out of staging") Signed-off-by: Qinglang Miao --- drivers/spi/spi-mt7621.c | 2 ++ 1 file

Re: [PATCH v2 0/5] Introduce a new helper marco DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c

2020-11-03 Thread luojiaxing
Hi On 2020/10/30 16:44, Greg KH wrote: On Fri, Oct 30, 2020 at 04:31:57PM +0800, Luo Jiaxing wrote: We already own DEFINE_SHOW_ATTRIBUTE() helper macro for defining attribute for read-only file, but we found many of drivers also want a helper marco for read-write file too. So we try to add

Re: [PATCH v2] spi: bcm63xx-hsspi: fix missing clk_disable_unprepare() on error in bcm63xx_hsspi_resume

2020-11-03 Thread Qinglang Miao
在 2020/11/3 15:49, Qinglang Miao 写道: Fix the missing clk_disable_unprepare() before return from bcm63xx_hsspi_resume in the error handling case when fails to prepare and enable bs->pll_clk. Fixes: 0fd85869c2a9 ("spi/bcm63xx-hsspi: keep pll clk enabled") Signed-off-by: Qinglang Miao ---

Re: [PATCH v2] iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume

2020-11-03 Thread Qinglang Miao
在 2020/11/3 15:49, Qinglang Miao 写道: Fix the missing clk_disable_unprepare() of info->pclk before return from rockchip_saradc_resume in the error handling case when fails to prepare and enable info->clk. Fixes: 44d6f2ef94f9 ("iio: adc: add driver for Rockchip saradc") Signed-off-by: Qinglang

[tip: x86/apic] x86/hyperv: Enable 15-bit APIC ID if the hypervisor supports it

2020-11-03 Thread tip-bot2 for Dexuan Cui
The following commit has been merged into the x86/apic branch of tip: Commit-ID: af2abc92c5ddf5fc5a2036bc106c4d9a80a4d5f7 Gitweb: https://git.kernel.org/tip/af2abc92c5ddf5fc5a2036bc106c4d9a80a4d5f7 Author:Dexuan Cui AuthorDate:Mon, 02 Nov 2020 17:11:36 -08:00 Committer:

Re: [PATCH] drm/amdgpu: do not initialise global variables to 0 or NULL

2020-11-03 Thread Christian König
Am 03.11.20 um 08:53 schrieb Greg KH: On Mon, Nov 02, 2020 at 09:48:25PM +0100, Christian König wrote: Am 03.11.20 um 07:53 schrieb Greg KH: On Mon, Nov 02, 2020 at 09:06:21PM +0100, Christian König wrote: Am 02.11.20 um 20:43 schrieb Alex Deucher: On Mon, Nov 2, 2020 at 1:42 PM Deepak R

Re: [PATCH v2 0/5] Introduce a new helper marco DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c

2020-11-03 Thread Greg KH
On Tue, Nov 03, 2020 at 04:19:09PM +0800, luojiaxing wrote: > Hi > > On 2020/10/30 16:44, Greg KH wrote: > > On Fri, Oct 30, 2020 at 04:31:57PM +0800, Luo Jiaxing wrote: > > > We already own DEFINE_SHOW_ATTRIBUTE() helper macro for defining attribute > > > for read-only file, but we found many of

Re: [PATCH v3 1/4] PM / EM: Add a flag indicating units of power values in Energy Model

2020-11-03 Thread Lukasz Luba
On 11/2/20 1:43 PM, Quentin Perret wrote: On Monday 19 Oct 2020 at 15:05:58 (+0100), Lukasz Luba wrote: diff --git a/include/linux/energy_model.h b/include/linux/energy_model.h index b67a51c574b9..2c31d79bb922 100644 --- a/include/linux/energy_model.h +++ b/include/linux/energy_model.h @@

include/linux/compiler_types.h:338:38: error: call to '__compiletime_assert_572' declared with attribute error: must adapt SMC_WR_TX_SIZE to sizeof(struct smc_llc_msg); if not all smc_wr upper layer p

2020-11-03 Thread kernel test robot
date: 4 months ago config: arm-randconfig-r015-20201103 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: [PATCH v3 2/4] docs: Clarify abstract scale usage for power values in Energy Model

2020-11-03 Thread Lukasz Luba
On 11/2/20 1:45 PM, Quentin Perret wrote: On Monday 19 Oct 2020 at 15:05:59 (+0100), Lukasz Luba wrote: diff --git a/Documentation/driver-api/thermal/power_allocator.rst b/Documentation/driver-api/thermal/power_allocator.rst index 67b6a3297238..b7992ae84fef 100644 ---

Re: [f2fs-dev] [PATCH] f2fs: change write_hint for hot/warm nodes

2020-11-03 Thread Chao Yu
On 2020/11/3 14:40, Daejun Park wrote: From 818a76a9aee5bf225565264274d211edb07bae7d Mon Sep 17 00:00:00 2001 From: Daejun Park Date: Tue, 3 Nov 2020 15:30:26 +0900 In the fs-based mode of F2FS, the mapping of hot/warm node to WRITE_LIFE_NOT_SET should be changed to WRITE_LIFE_SHORT. As a

Re: [PATCH v7 0/6] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-03 Thread Georgi Djakov
Hi Chanwoo and Sylwester, On 11/3/20 09:54, Chanwoo Choi wrote: > Hi Sylwester, > > When I tested this patchset on Odroid-U3, > After setting 0 bps by interconnect[1][2], > the frequency of devfreq devs sustain the high frequency > according to the pm qos request. > > So, I try to find the

Re: [PATCH v3 0/4] Clarify abstract scale usage for power values in Energy Model, EAS and IPA

2020-11-03 Thread Lukasz Luba
On 11/2/20 1:54 PM, Quentin Perret wrote: On Monday 02 Nov 2020 at 08:54:38 (+), Lukasz Luba wrote: Gentle ping to Quentin and Daniel for sharing opinion on this patch set. If you are OK, then I could use this as a base for next work. One or two small nits, but overall this LGTM.

Re: [PATCH v4 0/6] resource: introduce union(), intersection() API

2020-11-03 Thread Andy Shevchenko
On Tue, Nov 3, 2020 at 2:46 AM Hanjun Guo wrote: > > On 2020/11/3 5:00, Andy Shevchenko wrote: > > Some users may want to use resource library to manage their own resources, > > besides existing users that open code union() and intersection() > > implementations. > > > > Provide a generic API for

Re: [PATCH v4 0/6] resource: introduce union(), intersection() API

2020-11-03 Thread Andy Shevchenko
On Tue, Nov 3, 2020 at 8:53 AM Greg Kroah-Hartman wrote: > > On Mon, Nov 02, 2020 at 11:00:19PM +0200, Andy Shevchenko wrote: > > Some users may want to use resource library to manage their own resources, > > besides existing users that open code union() and intersection() > > implementations. >

Re: [PATCH 0/3] mdraid sb and bitmap write alignment on 512e drives

2020-11-03 Thread Xiao Ni
On 11/03/2020 02:59 AM, Chris Unkel wrote: Hi Xiao, That particular array is super1.2. The block trace was captured on the disk underlying the partition device on which the md array member resides, not on the partition device itself. The partition starts 2048 sectors into the disk (1MB).

RE: Re: [f2fs-dev] [PATCH] f2fs: change write_hint for hot/warm nodes

2020-11-03 Thread Daejun Park
>>>From 818a76a9aee5bf225565264274d211edb07bae7d Mon Sep 17 00:00:00 2001 >> From: Daejun Park >> Date: Tue, 3 Nov 2020 15:30:26 +0900 >> >> >> In the fs-based mode of F2FS, the mapping of hot/warm node to >> WRITE_LIFE_NOT_SET should be changed to WRITE_LIFE_SHORT. >> >> As a result of

[PATCH] Documentation: remove mic/index from misc-devices/index.rst

2020-11-03 Thread Greg Kroah-Hartman
With the recent removal of the misc/mic/ directory, the documentation build now warns because we forgot about this index file. Fix that up so that there are no more warnings here. Reported-by: Stephen Rothwell Cc: Sudeep Dutt Signed-off-by: Greg Kroah-Hartman --- I'll just take this in my

Re: [PATCH v2 1/4] kexec: simplify compat_sys_kexec_load

2020-11-03 Thread Christoph Hellwig
> + for (i=0; i < nr_segments; i++) { Missing spaces around the "=". > +SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments, > + struct kexec_segment __user *, segments, unsigned long, flags) > +{ > + return kernel_kexec_load(entry, nr_segments,

Re: [PATCH v2 2/4] mm: simplify compat_sys_move_pages

2020-11-03 Thread Christoph Hellwig
> #ifdef CONFIG_COMPAT > COMPAT_SYSCALL_DEFINE6(move_pages, pid_t, pid, compat_ulong_t, nr_pages, > +compat_uptr_t __user *, pages, > const int __user *, nodes, > int __user *, status, > int, flags) > { > +

Re: [PATCH v2 4/4] compat: remove some compat entry points

2020-11-03 Thread Christoph Hellwig
On Mon, Nov 02, 2020 at 01:31:51PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > These are all handled correctly when calling the native > system call entry point, so remove the special cases. Ok, this is where you do it. I think this belongs into the main patches.

[PATCH v4] dt-bindings: power/supply: Add ltc4162-l-charger

2020-11-03 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. This adds the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Use microohms, add lltc,cell-count v3: Fix example dts to match

[PATCH v2] f2fs: change write_hint for hot/warm nodes

2020-11-03 Thread Daejun Park
In the fs-based mode of F2FS, the mapping of hot/warm node to WRITE_LIFE_NOT_SET should be changed to WRITE_LIFE_SHORT. As a result of analyzing the write pattern of f2fs using real workload, hot/warm nodes have high update ratio close to hot data.[*] However, F2FS passes write hints for hot/warm

Re: mm/memblock: export memblock_{start/end}_of_DRAM

2020-11-03 Thread Christoph Hellwig
On Sat, Oct 31, 2020 at 11:05:45AM +0100, David Hildenbrand wrote: > On 31.10.20 10:18, Christoph Hellwig wrote: > > On Fri, Oct 30, 2020 at 10:38:42AM +0200, Mike Rapoport wrote: > > > What do you mean by "system memory block"? There could be a lot of > > > interpretations if you take into

Re: [PATCH v7 0/6] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-03 Thread Chanwoo Choi
Hi Georgi, On 11/3/20 5:29 PM, Georgi Djakov wrote: > Hi Chanwoo and Sylwester, > > On 11/3/20 09:54, Chanwoo Choi wrote: >> Hi Sylwester, >> >> When I tested this patchset on Odroid-U3, >> After setting 0 bps by interconnect[1][2], >> the frequency of devfreq devs sustain the high frequency >>

Re: [PATCH v3 5/6] mfd: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller

2020-11-03 Thread Lee Jones
On Tue, 03 Nov 2020, AceLan Kao wrote: > Hi Lee, > > One question for you. > > Lee Jones 於 2020年10月29日 週四 下午9:14寫道: > > > > On Thu, 29 Oct 2020, Shihlun Lin wrote: > > > > > This is one of sub-device driver for Advantech embedded controller > > > AHC1EC0. This driver provides sysfs ABI for

Re: [PATCH v2] drm/nouveau/kms: Fix NULL pointer dereference in nouveau_connector_detect_depth

2020-11-03 Thread Alexander Kapshuk
On Tue, Oct 13, 2020 at 3:47 PM Alexander Kapshuk wrote: > > This oops manifests itself on the following hardware: > 01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 103M] > (rev a1) > > Oct 09 14:17:46 lp-sasha kernel: BUG: kernel NULL pointer dereference, > address:

Re: [PATCH v3 5/6] mfd: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller

2020-11-03 Thread Lee Jones
On Tue, 03 Nov 2020, Lee Jones wrote: > On Tue, 03 Nov 2020, AceLan Kao wrote: > > > Hi Lee, > > > > One question for you. > > > > Lee Jones 於 2020年10月29日 週四 下午9:14寫道: > > > > > > On Thu, 29 Oct 2020, Shihlun Lin wrote: > > > > > > > This is one of sub-device driver for Advantech embedded

Re: [PATCH v1] ARM: vfp: Use long jump to fix THUMB2 kernel compilation error

2020-11-03 Thread Dmitry Osipenko
03.11.2020 10:24, Ard Biesheuvel пишет: > Still broken today > > https://kernelci.org/build/id/5fa0c1a74bdb1ea4063fe7e4/ > > So the options are > > a) merge my patch that adds 2 bytes of opcode to the Thumb2 build > b) merge Dmitry's patch that adds an unconditional literal load to all builds >

Re: [PATCH] powerpc/32s: Setup the early hash table at all time.

2020-11-03 Thread Andreas Schwab
On Nov 03 2020, Christophe Leroy wrote: > I tried again on QEMU with both pmac32_defconfig and your config, and it > boots. Isn't it quite naïve to think that qemu provides an adequate test environment for such lowlevel stuff? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key

[PATCH v3] serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init

2020-11-03 Thread Qinglang Miao
Add the missing platform_driver_unregister() before return from serial_txx9_init in the error handling case when failed to register serial_txx9_pci_driver with macro ENABLE_SERIAL_TXX9_PCI defined. Fixes: ab4382d27412 ("tty: move drivers/serial/ to drivers/tty/serial/") Signed-off-by: Qinglang

Re: [PATCH 41/41] realtek: rtw88: pci: Add prototypes for .probe, .remove and .shutdown

2020-11-03 Thread Lee Jones
On Mon, 02 Nov 2020, Brian Norris wrote: > On Mon, Nov 2, 2020 at 3:25 AM Lee Jones wrote: > > --- a/drivers/net/wireless/realtek/rtw88/pci.h > > +++ b/drivers/net/wireless/realtek/rtw88/pci.h > > @@ -212,6 +212,10 @@ struct rtw_pci { > > void __iomem *mmap; > > }; > > > > +int

Re: [PATCH] drm/panfrost: Fix module unload

2020-11-03 Thread Boris Brezillon
On Fri, 30 Oct 2020 14:58:33 + Steven Price wrote: > When unloading the call to pm_runtime_put_sync_suspend() will attempt to > turn the GPU cores off, however panfrost_device_fini() will have turned > the clocks off. This leads to the hardware locking up. > > Instead don't call

Re: linux-next: Fixes tag needs some work in the printk tree

2020-11-03 Thread Petr Mladek
On Tue 2020-11-03 08:32:01, Stephen Rothwell wrote: > Hi all, > > In commit > > 8a8424bf2439 ("init/Kconfig: Fix CPU number in LOG_CPU_MAX_BUF_SHIFT > description") > > Fixes tag > > Fixes: 23b2899f7f ("printk: allow increasing the ring buffer depending on > the number of CPUs") > > has

Re: [PATCH v5 02/25] auxdisplay: Introduce hd44780_common.[ch]

2020-11-03 Thread Lars Poeschel
On Sat, Oct 31, 2020 at 10:26:30AM +0100, Miguel Ojeda wrote: > Hi Lars, > > On Thu, Oct 29, 2020 at 10:57 AM wrote: > > > > diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig > > index 81757eeded68..a56171d1a1ba 100644 > > --- a/drivers/auxdisplay/Kconfig > > +++

[PATCH v8 1/4] dt-bindings: net: Add 5GBASER phy interface mode

2020-11-03 Thread Pavana Sharma
Add 5gbase-r PHY interface mode. Signed-off-by: Pavana Sharma --- Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml

[PATCH v8 0/4] Add support for mv88e6393x family of Marvell

2020-11-03 Thread Pavana Sharma
Updated patchset with following changes. - Add kerneldoc for 5GBASER phy interface - Remove lane param initialization wherever is it not needed. Pavana Sharma (4): dt-bindings: net: Add 5GBASER phy interface mode net: phy: Add 5GBASER interface mode net: dsa: mv88e6xxx: Change serdes lane

[PATCH v8 2/4] net: phy: Add 5GBASER interface mode

2020-11-03 Thread Pavana Sharma
Add 5GBASE-R phy interface mode Signed-off-by: Pavana Sharma --- include/linux/phy.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/phy.h b/include/linux/phy.h index eb3cb1a98b45..71e280059ec5 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -106,6 +106,7 @@

Re: [PATCH] riscv: uaccess: fix __put_kernel_nofault()

2020-11-03 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v8 3/4] net: dsa: mv88e6xxx: Change serdes lane parameter from u8 type to int

2020-11-03 Thread Pavana Sharma
Returning 0 is no more an error case with MV88E6393 family which has serdes lane numbers 0, 9 or 10. So with this change .serdes_get_lane will return lane number or error (-ENODEV). Signed-off-by: Pavana Sharma --- drivers/net/dsa/mv88e6xxx/chip.c | 28 +--

[PATCH v8 4/4] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-11-03 Thread Pavana Sharma
The Marvell 88E6393X device is a single-chip integration of a 11-port Ethernet switch with eight integrated Gigabit Ethernet (GbE) transceivers and three 10-Gigabit interfaces. This patch adds functionalities specific to mv88e6393x family (88E6393X, 88E6193X and 88E6191X) Co-developed-by: Ashkan

Re: [PATCH 05/41] rtl8192cu: trx: Demote clear abuse of kernel-doc format

2020-11-03 Thread Lee Jones
On Mon, 02 Nov 2020, Larry Finger wrote: > On 11/2/20 5:23 AM, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c:455: warning: > > Function parameter or member 'txdesc' not described in > >

Re: [PATCH] media: v4l2-mem2mem: always call poll_wait() on queues

2020-11-03 Thread Alexandre Courbot
Hi Hans, On Sat, Oct 31, 2020 at 12:09 AM Hans Verkuil wrote: > > On 22/10/2020 14:24, Alexandre Courbot wrote: > > do_poll()/do_select() seem to set the _qproc member of poll_table to > > NULL the first time they are called on a given table, making subsequent > > calls of poll_wait() on that

[PATCH v5] KVM: Check the allocation of pv cpu mask

2020-11-03 Thread lihaiwei . kernel
From: Haiwei Li Both 'kvm_send_ipi_mask_allbutself' and 'kvm_flush_tlb_others' are using per-cpu __pv_cpu_mask. Init pv ipi ops only if the allocation succeeds and check the cpumask in 'kvm_flush_tlb_others'. Thanks to Vitaly Kuznetsov's tireless advice. Suggested-by: Vitaly Kuznetsov

Re: [PATCH v2 1/1] Fonts: Replace discarded const qualifier

2020-11-03 Thread Lee Jones
On Mon, 02 Nov 2020, Peilin Ye wrote: > From: Lee Jones > > Commit 6735b4632def ("Fonts: Support FONT_EXTRA_WORDS macros for built-in > fonts") introduced the following error when building rpc_defconfig (only > this build appears to be affected): > > `acorndata_8x8' referenced in section

Re: Using fixed LPI number for some Device ID

2020-11-03 Thread Marc Zyngier
On 2020-11-03 05:22, Dongjiu Geng wrote: On 2020/10/31 17:55, Marc Zyngier wrote: Dongjiu, On Sat, 31 Oct 2020 02:19:19 +, Dongjiu Geng wrote: Hi Marc, Sorry to disturb you, Currently the LPI number is not fixed for the device. The LPI number is dynamically allocated start from 8092.

Re: [PATCH 1/2] Revert "vhost-vdpa: fix page pinning leakage in error path"

2020-11-03 Thread Jason Wang
On 2020/10/30 下午3:45, Si-Wei Liu wrote: This reverts commit 7ed9e3d97c32d969caded2dfb6e67c1a2cc5a0b1. Signed-off-by: Si-Wei Liu --- drivers/vhost/vdpa.c | 119 +-- 1 file changed, 48 insertions(+), 71 deletions(-) I saw this has been

Re: [PATCH AUTOSEL 5.4 02/24] arm64: dts: meson-axg: add USB nodes

2020-11-03 Thread Neil Armstrong
On 03/11/2020 02:19, Sasha Levin wrote: > From: Neil Armstrong > > [ Upstream commit 1b208bab34dc3f4ef8f408105017d4a7b72b2a2f ] > > This adds the USB Glue node, with the USB2 & USB3 controllers along the single > USB2 PHY node. > > Signed-off-by: Neil Armstrong > Reviewed-by: Kevin Hilman >

Re: [PATCH AUTOSEL 5.4 03/24] arm64: dts: meson-axg-s400: enable USB OTG

2020-11-03 Thread Neil Armstrong
On 03/11/2020 02:19, Sasha Levin wrote: > From: Neil Armstrong > > [ Upstream commit f450d2c219f6a6b79880c97bf910c3c72725eb70 ] > > This enables USB OTG on the S400 board. > > Signed-off-by: Neil Armstrong > Reviewed-by: Kevin Hilman > Signed-off-by: Kevin Hilman > Signed-off-by: Sasha

RE: [PATCH v1 1/6] scsi: ufs-mediatek: Assign arguments with correct type

2020-11-03 Thread Avri Altman
> > Hi Avri, > > On Tue, 2020-11-03 at 07:12 +, Avri Altman wrote: > > > > > > In ufs_mtk_unipro_set_lpm(), use specific unsigned values > > > as the argument to invoke ufshcd_dme_set(). > > > > > > In the same time, change the name of ufs_mtk_unipro_set_pm() > > > to

Re: [PATCH AUTOSEL 5.9 03/35] arm64: dts: meson-axg-s400: enable USB OTG

2020-11-03 Thread Neil Armstrong
On 03/11/2020 02:18, Sasha Levin wrote: > From: Neil Armstrong > > [ Upstream commit f450d2c219f6a6b79880c97bf910c3c72725eb70 ] > > This enables USB OTG on the S400 board. > > Signed-off-by: Neil Armstrong > Reviewed-by: Kevin Hilman > Signed-off-by: Kevin Hilman > Signed-off-by: Sasha

Re: [PATCH AUTOSEL 5.9 02/35] arm64: dts: meson-axg: add USB nodes

2020-11-03 Thread Neil Armstrong
On 03/11/2020 02:18, Sasha Levin wrote: > From: Neil Armstrong > > [ Upstream commit 1b208bab34dc3f4ef8f408105017d4a7b72b2a2f ] > > This adds the USB Glue node, with the USB2 & USB3 controllers along the single > USB2 PHY node. > > Signed-off-by: Neil Armstrong > Reviewed-by: Kevin Hilman >

Re: [PATCH v3 2/3] scsi: megaraid_sas: check user-provided offsets

2020-11-03 Thread Christoph Hellwig
On Fri, Oct 30, 2020 at 05:44:20PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > It sounds unwise to let user space pass an unchecked 32-bit > offset into a kernel structure in an ioctl. This is an unsigned > variable, so checking the upper bound for the size of the structure > it points

Fair Pay: Feel like working on Games?

2020-11-03 Thread Ywe Cærlyn
I have now mostly finished up the idea on the game part that is part of making an available source distribution a success. The gamedeveloper on *nix, becomes more a de-centralized idea, with netartists, and filecatalog and group on *nix. Really a conclusion on 3D Scene, and related culture. I

Re: [PATCH AUTOSEL 4.19 02/11] arm64: dts: meson-axg-s400: enable USB OTG

2020-11-03 Thread Neil Armstrong
On 03/11/2020 02:20, Sasha Levin wrote: > From: Neil Armstrong > > [ Upstream commit f450d2c219f6a6b79880c97bf910c3c72725eb70 ] > > This enables USB OTG on the S400 board. > > Signed-off-by: Neil Armstrong > Reviewed-by: Kevin Hilman > Signed-off-by: Kevin Hilman > Signed-off-by: Sasha

Re: [PATCH] ARM: dts: at91: add serial MFD sub-node for usart

2020-11-03 Thread Lee Jones
On Mon, 02 Nov 2020, codrin.ciubota...@microchip.com wrote: > On 02.11.2020 14:55, codrin.ciubota...@microchip.com wrote: > > On 02.11.2020 14:29, Lee Jones wrote: > >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the > >> content is safe > >> > >> On Mon, 02 Nov 2020,

Re: [PATCH] powerpc/32s: Setup the early hash table at all time.

2020-11-03 Thread Andreas Schwab
On Nov 03 2020, Christophe Leroy wrote: > Would you mind checking that with that patch reverted, you are able to > boot a kernel built with CONFIG_KASAN ? That doesn't exist. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA

Re: [PATCH 1/2] misc: c2port: core: Make copying name from userspace more secure

2020-11-03 Thread Lee Jones
On Mon, 02 Nov 2020, Rodolfo Giometti wrote: > On 02/11/2020 14:47, Lee Jones wrote: > > On Mon, 02 Nov 2020, gre...@linuxfoundation.org wrote: > > > >> On Mon, Nov 02, 2020 at 12:43:01PM +, Lee Jones wrote: > >>> On Mon, 02 Nov 2020, gre...@linuxfoundation.org wrote: > >>> > On Mon,

Re: [PATCH v2] drm: Add the new api to install irq

2020-11-03 Thread tiantao (H)
在 2020/11/3 15:56, Thomas Zimmermann 写道: Hi Thanks, the code looks good already. There just are a few nits below. Thanks for the help with the review code. Add the new api devm_drm_irq_install and himbc use the new interface as one patch or two? Am 03.11.20 um 03:10 schrieb Tian Tao:

Re: [PATCH] phy: amlogic: Replace devm_reset_control_array_get()

2020-11-03 Thread Remi Pommarel
Hi On Tue, Nov 03, 2020 at 12:37:54PM +0800, Yejune Deng wrote: > devm_reset_control_array_get_exclusive() looks more readable > > Signed-off-by: Yejune Deng Reviewed-by: Remi Pommarel for phy-meson-axg-pcie Thanks.

Re: [PATCH v2 1/1] Fonts: Replace discarded const qualifier

2020-11-03 Thread Daniel Vetter
On Tue, Nov 3, 2020 at 9:53 AM Lee Jones wrote: > > On Mon, 02 Nov 2020, Peilin Ye wrote: > > > From: Lee Jones > > > > Commit 6735b4632def ("Fonts: Support FONT_EXTRA_WORDS macros for built-in > > fonts") introduced the following error when building rpc_defconfig (only > > this build appears to

Re: [PATCH v3 1/7] compiler-clang: add build check for clang 10.0.1

2020-11-03 Thread Jarkko Sakkinen
On Mon, Nov 02, 2020 at 11:38:14PM -0700, Nathan Chancellor wrote: > On Tue, Nov 03, 2020 at 06:55:21AM +0200, Jarkko Sakkinen wrote: > > On Wed, Sep 02, 2020 at 03:59:05PM -0700, Nick Desaulniers wrote: > > > During Plumbers 2020, we voted to just support the latest release of > > > Clang for

Re: [PATCH v2] f2fs: change write_hint for hot/warm nodes

2020-11-03 Thread Chao Yu
On 2020/11/3 16:38, Daejun Park wrote: In the fs-based mode of F2FS, the mapping of hot/warm node to WRITE_LIFE_NOT_SET should be changed to WRITE_LIFE_SHORT. As a result of analyzing the write pattern of f2fs using real workload, hot/warm nodes have high update ratio close to hot data.[*]

Re: [PATCH v2] drm: Add the new api to install irq

2020-11-03 Thread Thomas Zimmermann
Hi Am 03.11.20 um 09:57 schrieb tiantao (H): > > > 在 2020/11/3 15:56, Thomas Zimmermann 写道: >> Hi >> >> Thanks, the code looks good already. There just are a few nits below. >> > Thanks for the help with the review code. > Add the new api devm_drm_irq_install and himbc use the new interface as

Re: [PATCH] vhost/vsock: add IOTLB API support

2020-11-03 Thread Jason Wang
On 2020/11/3 上午1:11, Stefano Garzarella wrote: On Fri, Oct 30, 2020 at 07:44:43PM +0800, Jason Wang wrote: On 2020/10/30 下午6:54, Stefano Garzarella wrote: On Fri, Oct 30, 2020 at 06:02:18PM +0800, Jason Wang wrote: On 2020/10/30 上午1:43, Stefano Garzarella wrote: This patch enables the

[PATCH v4 1/4] PM / EM: Add a flag indicating units of power values in Energy Model

2020-11-03 Thread Lukasz Luba
There are different platforms and devices which might use different scale for the power values. Kernel sub-systems might need to check if all Energy Model (EM) devices are using the same scale. Address that issue and store the information inside EM for each device. Thanks to that they can be

RE: [PATCH v3 2/2] usb: dwc3: Add driver for Xilinx platforms

2020-11-03 Thread Manish Narani
Ping! > -Original Message- > From: Manish Narani > Sent: Thursday, October 8, 2020 6:37 PM > To: gre...@linuxfoundation.org; robh...@kernel.org; Michal Simek > ; ba...@kernel.org; p.za...@pengutronix.de > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux-arm- >

[PATCH v4 0/4] Clarify abstract scale usage for power values in Energy Model, EAS and IPA

2020-11-03 Thread Lukasz Luba
Hi all, The Energy Model supports power values expressed in an abstract scale. This has an impact on Intelligent Power Allocation (IPA) and should be documented properly. Kernel sub-systems like EAS, IPA and DTPM (new comming PowerCap framework) would use the new flag to capture potential

[PATCH v4 3/4] PM / EM: update the comments related to power scale

2020-11-03 Thread Lukasz Luba
The Energy Model supports power values expressed in milli-Watts or in an 'abstract scale'. Update the related comments is the code to reflect that state. Reviewed-by: Quentin Perret Signed-off-by: Lukasz Luba --- include/linux/energy_model.h | 11 +-- kernel/power/energy_model.c | 2

[PATCH v4 2/4] docs: Clarify abstract scale usage for power values in Energy Model

2020-11-03 Thread Lukasz Luba
The Energy Model (EM) can store power values in milli-Watts or in abstract scale. This might cause issues in the subsystems which use the EM for estimating the device power, such as: - mixing of different scales in a subsystem which uses multiple (cooling) devices (e.g. thermal Intelligent Power

[PATCH v4 4/4] docs: power: Update Energy Model with new flag indicating power scale

2020-11-03 Thread Lukasz Luba
Update description and meaning of a new flag, which indicates the type of power scale used for a registered Energy Model (EM) device. Reviewed-by: Quentin Perret Signed-off-by: Lukasz Luba --- Documentation/power/energy-model.rst | 17 - 1 file changed, 12 insertions(+), 5

Re: [PATCH v3 2/3] HID: i2c-hid: Allow subclasses of i2c-hid for power sequencing

2020-11-03 Thread Hans de Goede
Hi, On 11/3/20 2:46 AM, Rob Herring wrote: > On Mon, Nov 2, 2020 at 6:13 PM Douglas Anderson wrote: >> >> This exports some things from i2c-hid so that we can have a driver >> that's effectively a subclass of it and that can do its own power >> sequencing. >> >> Signed-off-by: Douglas Anderson

Re: [PATCH v4 0/7] Convert the intel iommu driver to the dma-iommu api

2020-11-03 Thread Tvrtko Ursulin
On 03/11/2020 02:53, Lu Baolu wrote: On 11/2/20 7:52 PM, Tvrtko Ursulin wrote: On 02/11/2020 02:00, Lu Baolu wrote: Hi Tvrtko, On 10/12/20 4:44 PM, Tvrtko Ursulin wrote: On 29/09/2020 01:11, Lu Baolu wrote: Hi Tvrtko, On 9/28/20 5:44 PM, Tvrtko Ursulin wrote: On 27/09/2020 07:34, Lu

Re: [PATCH v2 1/1] Fonts: Replace discarded const qualifier

2020-11-03 Thread Greg KH
On Tue, Nov 03, 2020 at 09:58:18AM +0100, Daniel Vetter wrote: > On Tue, Nov 3, 2020 at 9:53 AM Lee Jones wrote: > > > > On Mon, 02 Nov 2020, Peilin Ye wrote: > > > > > From: Lee Jones > > > > > > Commit 6735b4632def ("Fonts: Support FONT_EXTRA_WORDS macros for built-in > > > fonts") introduced

Re: [PATCH 1/2] misc: c2port: core: Make copying name from userspace more secure

2020-11-03 Thread Rodolfo Giometti
On 03/11/2020 09:57, Lee Jones wrote: > On Mon, 02 Nov 2020, Rodolfo Giometti wrote: > >> On 02/11/2020 14:47, Lee Jones wrote: >>> On Mon, 02 Nov 2020, gre...@linuxfoundation.org wrote: >>> On Mon, Nov 02, 2020 at 12:43:01PM +, Lee Jones wrote: > On Mon, 02 Nov 2020,

Re: [PATCH v7 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-03 Thread Chanwoo Choi
Hi Sylwester, On 10/30/20 9:51 PM, Sylwester Nawrocki wrote: > This patch adds a generic interconnect driver for Exynos SoCs in order > to provide interconnect functionality for each "samsung,exynos-bus" > compatible device. > > The SoC topology is a graph (or more specifically, a tree) and its

Re: [PATCH V3 1/1] nvme: Add quirk for LiteON CL1 devices running FW 220TQ,22001

2020-11-03 Thread Christoph Hellwig
On Tue, Nov 03, 2020 at 02:21:16AM +, Gloria Tsai wrote: > When host issue shutdown + D3hot in suspend, NVMe drive might have > chance choosing wrong pointer which has already been used by GC then > cause over program. > Do GC before shutdown -> delete IO Q -> shutdown from host -> breakup GC

Re: [PATCH v1 4/4] powernv/memtrace: don't abuse memory hot(un)plug infrastructure for memory allocations

2020-11-03 Thread Michal Hocko
On Thu 29-10-20 17:27:18, David Hildenbrand wrote: > Let's use alloc_contig_pages() for allocating memory and remove the > linear mapping manually via arch_remove_linear_mapping(). Mark all pages > PG_offline, such that they will definitely not get touched - e.g., > when hibernating. When freeing

[PATCH] usb: dwc3: Replace of_reset_control_array_get()

2020-11-03 Thread Yejune Deng
of_reset_control_array_get_optional_exclusive() looks more readable Signed-off-by: Yejune Deng --- drivers/usb/dwc3/dwc3-of-simple.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index

Re: [PATCH v7 1/6] dt-bindings: devfreq: Add documentation for the interconnect properties

2020-11-03 Thread Chanwoo Choi
Hi Sylwester, This patch contains one typo. On 10/30/20 9:51 PM, Sylwester Nawrocki wrote: > Add documentation for new optional properties in the exynos bus nodes: > interconnects, #interconnect-cells, samsung,data-clock-ratio. > These properties allow to specify the SoC interconnect structure

Re: [PATCH v7 2/6] drivers: mfd: Add a driver for IEI WT61P803 PUZZLE MCU

2020-11-03 Thread Andy Shevchenko
On Tue, Nov 3, 2020 at 1:15 AM Luka Kovacic wrote: > On Mon, Nov 2, 2020 at 12:18 PM Andy Shevchenko > wrote: > > On Sun, Nov 1, 2020 at 3:22 PM Luka Kovacic wrote: > > > On Mon, Oct 26, 2020 at 11:54 PM Andy Shevchenko > > > wrote: > > > > On Sun, Oct 25, 2020 at 3:59 AM Luka Kovacic > > >

Re: [PATCH v1 4/4] powernv/memtrace: don't abuse memory hot(un)plug infrastructure for memory allocations

2020-11-03 Thread David Hildenbrand
On 03.11.20 10:23, Michal Hocko wrote: On Thu 29-10-20 17:27:18, David Hildenbrand wrote: Let's use alloc_contig_pages() for allocating memory and remove the linear mapping manually via arch_remove_linear_mapping(). Mark all pages PG_offline, such that they will definitely not get touched -

[RESEND PATCH] kernel/watchdog: Fix watchdog_allowed_mask not used warning

2020-11-03 Thread Santosh Sivaraj
Define watchdog_allowed_mask only when SOFTLOCKUP_DETECTOR is enabled. Signed-off-by: Santosh Sivaraj --- Original patch is here: https://lore.kernel.org/lkml/20190807014417.9418-1-sant...@fossix.org/ A similar patch was also sent by Balamuruhan and reviewed by Petr.

Re: [PATCH net-next v2] net/usb/r8153_ecm: support ECM mode for RTL8153

2020-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 02, 2020 at 11:47:18AM -0800, Jakub Kicinski wrote: > On Mon, 2 Nov 2020 07:20:15 + Hayes Wang wrote: > > Jakub Kicinski > > > Can you describe the use case in more detail? > > > > > > AFAICT r8152 defines a match for the exact same device. > > > Does it not mean that which

[PATCH] mfd: at91-usart: do not use compatible to register child devices

2020-11-03 Thread Codrin Ciubotariu
There are no separate serial/SPI devices under the at91-usart MFD, but actually the MFD is used as a serial or a SPI device. There are no DT sub-nodes for the MFD children, so we should use platform device API to register the drivers. Suggested-by: Lee Jones Signed-off-by: Codrin Ciubotariu ---

Re: [PATCH] docs: ABI: sysfs-class-firmware-attributes: solve some warnings

2020-11-03 Thread Hans de Goede
Hi, On 10/29/20 10:31 AM, Mauro Carvalho Chehab wrote: > The Description: tag is missing on some places, causing > scripts/get_abi.pl warnings: > > Warning: file > Documentation/ABI/testing/sysfs-class-firmware-attributes#172: > What

Re: [PATCH] MAINTAINERS: rectify DELL WMI SYSMAN DRIVERS section

2020-11-03 Thread Hans de Goede
Hi, On 10/29/20 12:44 PM, Lukas Bulwahn wrote: > Commit e8a60aa7404b ("platform/x86: Introduce support for Systems > Management Driver over WMI for Dell Systems") added a new section > DELL WMI SYSMAN DRIVERS in MAINTAINERS, but slipped in a typo. > > Hence, ./scripts/get_maintainer.pl

Re: [RFC]: userspace memory reaping

2020-11-03 Thread Michal Hocko
On Mon 02-11-20 12:29:24, Suren Baghdasaryan wrote: [...] > To follow up on this. Should I post an RFC implementing SIGKILL_SYNC > which in addition to sending a kill signal would also reap the > victim's mm in the context of the caller? Maybe having some code will > get the discussion moving

Re: [PATCH] MAINTAINERS: rectify DELL WMI SYSMAN DRIVERS section

2020-11-03 Thread Hans de Goede
Hi, On 10/29/20 12:44 PM, Lukas Bulwahn wrote: > Commit e8a60aa7404b ("platform/x86: Introduce support for Systems > Management Driver over WMI for Dell Systems") added a new section > DELL WMI SYSMAN DRIVERS in MAINTAINERS, but slipped in a typo. > > Hence, ./scripts/get_maintainer.pl

Re: linux-next: build warning after merge of the drm-misc-fixes tree

2020-11-03 Thread Maxime Ripard
Hi Stephen, On Tue, Nov 03, 2020 at 11:31:21AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc-fixes tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/gpu/drm/vc4/vc4_drv.c: In function 'vc4_drm_unbind': >

  1   2   3   4   5   6   7   8   9   10   >