Re: [PATCH V7 01/13] dt-bindings: soc: Add dvfsrc driver bindings

2021-01-12 Thread Henry Chen
On Mon, 2021-01-11 at 09:42 -0600, Rob Herring wrote: > On Sun, Jan 10, 2021 at 8:52 PM Henry Chen wrote: > > > > Hi Rob, > > > > On Fri, 2021-01-08 at 20:30 -0700, Rob Herring wrote: > > > On Fri, 08 Jan 2021 15:48:03 +0800, Henry Chen wrote: > > > > Document the binding for enabling dvfsrc on Me

[PATCH v2] drm/ast: Disable fast reset after DRAM initial

2021-01-12 Thread KuoHsiang Chou
[Bug][AST2500] V1: When AST2500 acts as stand-alone VGA so that DRAM and DVO initialization have to be achieved by VGA driver with P2A (PCI to AHB) enabling. However, HW suggests disable Fast reset mode after DRAM initializaton, because fast reset mode is mainly designed for ARM ICE debugger. Once

[bug] RTC alarm vs system suspend race condition

2021-01-12 Thread Dmitry Osipenko
Hello RTC maintainers, A day ago we were testing RTC alarm on NVIDIA Tegra devices and noticed that there is a problem in the RTC core where it schedules __rtc_set_alarm work when alarm is set, but this work isn't flushed before RTC drivers are suspended. In general RTC devices can't be accesse

Re: [PATCH v3 1/1] can: dev: add software tx timestamps

2021-01-12 Thread Marc Kleine-Budde
On 1/12/21 1:00 AM, Vincent MAILHOL wrote: [...] > Mark: do you want me to send a v4 of that patch with above > comment removed or can you directly do the change in your testing > branch? Please send a patch on-top of linux-can-next/testing Marc -- Pengutronix e.K. | Marc Klein

Re: [PATCH v12 04/13] mm/hugetlb: Free the vmemmap pages associated with each HugeTLB page

2021-01-12 Thread Oscar Salvador
On Wed, Jan 06, 2021 at 10:19:22PM +0800, Muchun Song wrote: > Every HugeTLB has more than one struct page structure. We __know__ that > we only use the first 4(HUGETLB_CGROUP_MIN_ORDER) struct page structures > to store metadata associated with each HugeTLB. > > There are a lot of struct page str

Re: [PATCH 04/11] kasan: add match-all tag tests

2021-01-12 Thread Alexander Potapenko
On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > Add 3 new tests for tag-based KASAN modes: > > 1. Check that match-all pointer tag is not assigned randomly. > 2. Check that 0xff works as a match-all pointer tag. > 3. Check that there are no match-all memory tags. > > Note, that test #3

Re: UBSAN: shift-out-of-bounds in kvm_vcpu_after_set_cpuid

2021-01-12 Thread Paolo Bonzini
On 12/01/21 00:01, Sean Christopherson wrote: Perhaps cpuid_query_maxphyaddr() should just look at the low 5 bits of CPUID.8008H:EAX? The low 6 bits I guess---yes, that would make sense and it would have also fixed the bug. (Nevertheless it's a good idea to make rsvd_bits more robust as

Re: [PATCH 06/11] kasan: rename CONFIG_TEST_KASAN_MODULE

2021-01-12 Thread Alexander Potapenko
On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > Rename CONFIG_TEST_KASAN_MODULE to CONFIG_KASAN_MODULE_TEST. > > This naming is more consistent with the existing CONFIG_KASAN_KUNIT_TEST. > > Signed-off-by: Andrey Konovalov > Link: > https://linux-review.googlesource.com/id/Id347dfa5fe

Re: [PATCH v5 1/4] drm/i915: Keep track of pwm-related backlight hooks separately

2021-01-12 Thread Vasily Khoruzhick
On Thu, Jan 7, 2021 at 2:52 PM Lyude Paul wrote: > > Currently, every different type of backlight hook that i915 supports is > pretty straight forward - you have a backlight, probably through PWM > (but maybe DPCD), with a single set of platform-specific hooks that are > used for controlling it. >

[PATCH v2 1/3] amd64-agp: use generic power management

2021-01-12 Thread Vaibhav Gupta
Drivers should do only device-specific jobs. But in general, drivers using legacy PCI PM framework for .suspend()/.resume() have to manage many PCI PM-related tasks themselves which can be done by PCI Core itself. This brings extra load on the driver and it directly calls PCI helper functions to ha

[PATCH v2 2/3] sis-agp: use generic power management

2021-01-12 Thread Vaibhav Gupta
Drivers should do only device-specific jobs. But in general, drivers using legacy PCI PM framework for .suspend()/.resume() have to manage many PCI PM-related tasks themselves which can be done by PCI Core itself. This brings extra load on the driver and it directly calls PCI helper functions to ha

[PATCH v2 0/3] char: use generic power management

2021-01-12 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to upgrade power management in char drivers. This has been done by upgrading .suspend() and .resume() callbacks. The upgrade makes sure that the involvement of PCI Core does not change the order of operations

[PATCH v2 3/3] via-agp: use generic power management

2021-01-12 Thread Vaibhav Gupta
Drivers should do only device-specific jobs. But in general, drivers using legacy PCI PM framework for .suspend()/.resume() have to manage many PCI PM-related tasks themselves which can be done by PCI Core itself. This brings extra load on the driver and it directly calls PCI helper functions to ha

Re: [PATCH] usb: cdnsp: fixes undefined reference to cdns_remove

2021-01-12 Thread Geert Uytterhoeven
Hi Pawel, On Tue, Jan 12, 2021 at 8:17 AM Pawel Laszczak wrote: > Patch fixes the following errors: > ld: drivers/usb/cdns3/cdnsp-pci.o: in function `cdnsp_pci_remove': > cdnsp-pci.c:(.text+0x80): undefined reference to `cdns_remove' > ld: drivers/usb/cdns3/cdnsp-pci.o: in function `cdnsp_pci_pro

Re: [PATCH 4.9 00/45] 4.9.251-rc1 review

2021-01-12 Thread Naresh Kamboju
On Mon, 11 Jan 2021 at 18:33, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.251 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH] riscv: Remove duplicate definition in pagtable.h

2021-01-12 Thread Atish Patra
On Mon, Jan 11, 2021 at 6:38 PM wrote: > > From: Guo Ren > > PAGE_KERNEL_EXEC has been defined above. > > Signed-off-by: Guo Ren > Cc: Palmer Dabbelt > Cc: Pekka Enberg > --- > arch/riscv/include/asm/pgtable.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/include/asm/pgta

Re: [PATCH 07/11] kasan: add compiler barriers to KUNIT_EXPECT_KASAN_FAIL

2021-01-12 Thread Alexander Potapenko
On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > It might not be obvious to the compiler that the expression must be > executed between writing and reading to fail_data. In this case, the > compiler might reorder or optimize away some of the accesses, and > the tests will fail. Have you

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-12 Thread Vincent Guittot
On Tue, 12 Jan 2021 at 07:59, chin wrote: > > > > > At 2021-01-11 19:04:19, "Vincent Guittot" wrote: > >On Mon, 11 Jan 2021 at 09:27, chin wrote: > >> > >> > >> At 2020-12-23 19:30:26, "Vincent Guittot" > >> wrote: > >> >On Wed, 23 Dec 2020 at 09:32, wrote: > >> >> > >> >> From: Chen Xiaoguan

[PATCH] iov_iter: fix the uaccess area in copy_compat_iovec_from_user

2021-01-12 Thread Christoph Hellwig
sizeof needs to be called on the compat pointer, not the native one. Fixes: 89cd35c58bc2 ("iov_iter: transparently handle compat iovecs in import_iovec") Reported-by: David Laight Signed-off-by: Christoph Hellwig --- lib/iov_iter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[rcu:dev.2021.01.11a] BUILD SUCCESS 1bcbb15dbdea1ad775b58edf655eb5d58e47222f

2021-01-12 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.01.11a branch HEAD: 1bcbb15dbdea1ad775b58edf655eb5d58e47222f EXP sched: Print list of runnable tasks in the current rq elapsed time: 726m configs tested: 145 configs skipped: 2 The following configs

RE: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2021-01-12 Thread Avri Altman
> > On Sat, 2021-01-02 at 05:59 -0800, Can Guo wrote: > > + * @shutting_down: flag to check if shutdown has been invoked > > + * @host_sem: semaphore used to serialize concurrent contexts > > * @eh_wq: Workqueue that eh_work works on > > * @eh_work: Worker to handle UFS errors that require s/

Re: [PATCH net-next 0/5] skbuff: introduce skbuff_heads bulking and reusing

2021-01-12 Thread Eric Dumazet
On Mon, Jan 11, 2021 at 7:27 PM Alexander Lobakin wrote: > > Inspired by cpu_map_kthread_run() and _kfree_skb_defer() logics. > > Currently, all sorts of skb allocation always do allocate > skbuff_heads one by one via kmem_cache_alloc(). > On the other hand, we have percpu napi_alloc_cache to stor

Re: [PATCH v1 2/2] drm/bridge: anx7625: add MIPI DPI input feature support

2021-01-12 Thread Xin Ji
Hi Dan Carpenter, thanks for your comments, I'll fix it in the next serial. Thanks, Xin On Mon, Jan 04, 2021 at 05:50:39PM +0300, Dan Carpenter wrote: > On Fri, Dec 25, 2020 at 07:02:15PM +0800, Xin Ji wrote: > > +static int anx7625_aux_dpcd_read(struct anx7625_data *ctx, > > +

Re: Old platforms: bring out your dead

2021-01-12 Thread Marc Gonzalez
On 11/01/2021 22:50, Arnd Bergmann wrote: > On Mon, Jan 11, 2021 at 6:29 PM Måns Rullgård wrote: > >> Marc Gonzalez writes: >> >>> Waiting for his take on the matter. >>> >>> I can point out some device-specific drivers that would become >>> useless if tango support were dropped. >> >> I have tan

Re: [PATCH v2 0/2] fix tegra-hda on tegra30 devices

2021-01-12 Thread Takashi Iwai
On Fri, 08 Jan 2021 14:59:11 +0100, Peter Geis wrote: > > The following patches fix tegra-hda on legacy tegra devices. > Two issues were discovered preventing tegra-hda from functioning: > -The hda clocks on tegra30 were assigned to clk_m and running at too low > of a rate to function. > -The tegr

[PATCH] scsi: lpfc: style: Simplify bool comparison

2021-01-12 Thread YANG LI
Fix the following coccicheck warning: ./drivers/scsi/lpfc/lpfc_bsg.c:5392:5-29: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/scsi/lpfc/lpfc_bsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/dri

Re: [PATCH 08/11] kasan: adopt kmalloc_uaf2 test to HW_TAGS mode

2021-01-12 Thread Alexander Potapenko
Nit: s/adopt/adapt in the title. > +again: > ptr1 = kmalloc(size, GFP_KERNEL); > KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); > > @@ -384,6 +386,13 @@ static void kmalloc_uaf2(struct kunit *test) > ptr2 = kmalloc(size, GFP_KERNEL); > KUNIT_ASSERT_NOT_ERR_OR_NULL(test,

Re: [PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-12 Thread Christoph Hellwig
Thanks, applied to nvme-5.11.

RE: [PATCH 1/2] clk: axi-clkgen: add support for ZynqMP (UltraScale)

2021-01-12 Thread Ardelean, Alexandru
> -Original Message- > From: Tom Rix > Sent: Thursday, December 24, 2020 4:03 PM > To: Ardelean, Alexandru ; linux- > c...@vger.kernel.org; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: mturque...@baylibre.com; sb...@kernel.org; robh...@kernel.org; > l...@metafoo.de; lin

Re: [PATCH] nvme: Constify static attribute_group structs

2021-01-12 Thread Christoph Hellwig
Thanks, applied to nvme-5.11.

[PATCH] staging: unisys: visornic: enhance visornic to use channel_interrupt

2021-01-12 Thread Song Chen
visornic uses timer to check the response queue and drain it if needed periodically. On the other hand, visorbus provides periodic work to serve such request, therefore, timer should be replaced by channel_interrupt. Signed-off-by: Song Chen --- drivers/staging/unisys/visornic/visornic_main.c |

[PATCH] pinctrl: sprd: style: Simplify bool comparison

2021-01-12 Thread YANG LI
Fix the following coccicheck warning: ./drivers/pinctrl/sprd/pinctrl-sprd.c:690:8-23: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/pinctrl/sprd/pinctrl-sprd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/sprd/pinc

[PATCH V4 1/3] scripts: dtc: Add fdtoverlay.c to DTC_SOURCE

2021-01-12 Thread Viresh Kumar
We will start building overlays for platforms soon in the kernel and would need fdtoverlay tool going forward. Lets start fetching it. Signed-off-by: Viresh Kumar --- scripts/dtc/update-dtc-source.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/dtc/update-dtc

[PATCH V4 0/3] scripts: dtc: Build fdtoverlay

2021-01-12 Thread Viresh Kumar
We will start building overlays for platforms soon in the kernel and would need fdtoverlay tool going forward. Lets start fetching and building it. While at it, also remove fdtdump.c file, which isn't used by the kernel. V4: - Don't fetch and build fdtdump.c - Remove fdtdump.c Viresh Kumar (3):

Re: [PATCH v2 2/2] drm/bridge: anx7625: add MIPI DPI input feature support

2021-01-12 Thread Xin Ji
On Tue, Jan 05, 2021 at 05:17:01PM +0300, Dan Carpenter wrote: > On Thu, Dec 31, 2020 at 10:22:36AM +0800, Xin Ji wrote: > > static int anx7625_read_ctrl_status_p0(struct anx7625_data *ctx) > > { > > return anx7625_reg_read(ctx, ctx->i2c.rx_p0_client, AP_AUX_CTRL_STATUS); > > @@ -189,10 +203,

[PATCH V4 3/3] scripts: dtc: Remove the unused fdtdump.c file

2021-01-12 Thread Viresh Kumar
This was copied from external DTC repository long back and isn't used anymore. Over that the dtc tool can be used to generate the dts source back from the dtb. Remove the unused fdtdump.c file. Signed-off-by: Viresh Kumar --- scripts/dtc/fdtdump.c | 163 --

[PATCH V4 2/3] scripts: dtc: Build fdtoverlay tool

2021-01-12 Thread Viresh Kumar
We will start building overlays for platforms soon in the kernel and would need fdtoverlay going forward. Lets start building it. The fdtoverlay program applies (or merges) one ore more overlay dtb blobs to a base dtb blob. The kernel build system would later use fdtoverlay to generate the overlai

Re: [PATCH 09/11] kasan: fix memory corruption in kasan_bitops_tags test

2021-01-12 Thread Alexander Potapenko
On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > Since the hardware tag-based KASAN mode might not have a redzone that > comes after an allocated object (when kasan.mode=prod is enabled), the > kasan_bitops_tags() test ends up corrupting the next object in memory. > > Change the test so

Re: [PATCH v3 4/6] mm: hugetlb: add return -EAGAIN for dissolve_free_huge_page

2021-01-12 Thread Michal Hocko
On Mon 11-01-21 17:20:51, Mike Kravetz wrote: > On 1/10/21 4:40 AM, Muchun Song wrote: > > There is a race between dissolve_free_huge_page() and put_page(), > > and the race window is quite small. Theoretically, we should return > > -EBUSY when we encounter this race. In fact, we have a chance to >

[PATCH] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-12 Thread YANG LI
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: WARNING: Comparison of 0/1 to bool variable Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-12 Thread Viresh Kumar
On 11-01-21, 20:22, Bill Mills wrote: > On 1/11/21 5:06 PM, Frank Rowand wrote: > > NACK to this specific patch, in its current form. > > > > There are restrictions on applying an overlay at runtime that do not apply > > to applying an overlay to an FDT that will be loaded by the kernel during > >

[PATCH] wireless: realtek: Simplify bool comparison

2021-01-12 Thread YANG LI
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtlwifi/ps.c:803:7-21: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/net/wireless/realtek/rtlwifi/ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/n

Re: [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H

2021-01-12 Thread Geert Uytterhoeven
On Mon, Jan 11, 2021 at 9:14 PM Rob Herring wrote: > On Mon, 28 Dec 2020 14:22:20 -0600, Adam Ford wrote: > > The datasheet for the RZ/G2 Series show the bit for choosing between a > > crystal > > oscillator and an external oscillator is present. Add the bindings for > > r8a774a1 (RZ/G2M), r8a77

Re: [PATCH v2 2/2] arm64: dts: mt8192: Add node for the Mali GPU

2021-01-12 Thread Nick Fan
On Fri, 2021-01-08 at 15:58 +, Steven Price wrote: > On 05/01/2021 05:36, Nick Fan wrote: > > Add a basic GPU node for mt8192. > > > > Signed-off-by: Nick Fan > > --- > > This patch depends on Mediatek power and regulator support. > > > > Listed as following. > > > > [1]https://lore.kernel.

Re: Old platforms: bring out your dead

2021-01-12 Thread Marc Gonzalez
On 11/01/2021 21:25, Song Bao Hua (Barry Song) wrote: > I got confirmation from Qualcomm guys that there is no plan > to maintain prima2 in mainline any more. > Please feel free to remove the code. If you need my help, > Please let me know. Hello Barry, I didn't know that qualcomm worked on main

Re: [PATCH v3 2/3] dt-bindings: arm: hisilicon: Add binding for L3 cache controller

2021-01-12 Thread Arnd Bergmann
On Tue, Jan 12, 2021 at 2:56 AM Zhen Lei wrote: > +--- > +$id: http://devicetree.org/schemas/arm/hisilicon/l3cache.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Hisilicon L3 cache controller > + > +maintainers: > + - Wei Xu > + > +description: | > + The Hisilico

Re: gdbserver + fsgsbase kaputt

2021-01-12 Thread Tom de Vries
On 1/12/21 4:31 AM, Andy Lutomirski wrote: > On Mon, Jan 11, 2021 at 3:52 PM Tom de Vries wrote: >> >> On 1/12/21 12:40 AM, Andy Lutomirski wrote: >>> On Mon, Jan 11, 2021 at 1:06 PM Andy Lutomirski wrote: > On Jan 11, 2021, at 12:00 PM, Borislav Petkov wrote: > >

Re: [PATCH v2 0/3] Remove one more platform_device_add_properties() call

2021-01-12 Thread Felipe Balbi
Heikki Krogerus writes: > Hi Felipe, Rafael, > > This is the second version of this series. There are no real changes, > but I added the Tiger Lake ID patch to this series in hope that it > will make your life a bit easier, assuming that Rafael will still pick > these. > > > The original over let

Re: [PATCH] drm/bridge: nwl-dsi: Avoid potential multiplication overflow on 32-bit

2021-01-12 Thread Geert Uytterhoeven
Hi Laurent, On Tue, Jan 12, 2021 at 5:38 AM Laurent Pinchart wrote: > On Mon, Jan 11, 2021 at 01:57:02PM +0100, Geert Uytterhoeven wrote: > > As nwl_dsi.lanes is u32, and NSEC_PER_SEC is 10L, the second > > multiplication in > > > > dsi->lanes * 8 * NSEC_PER_SEC > > > > will overflow

[PATCH] edac: remove redundant error print in xgene_edac_probe

2021-01-12 Thread menglong8 . dong
From: Menglong Dong Coccinelle reports a redundant error print in xgene_edac_probe. As 'platform_get_irq' already prints the error message, error print here is redundant and can be removed. Signed-off-by: Menglong Dong --- drivers/edac/xgene_edac.c | 1 - 1 file changed, 1 deletion(-) diff --

[PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
From: "Changheun Lee" bio size can grow up to 4GB when muli-page bvec is enabled. but sometimes it would lead to inefficient behaviors. in case of large chunk direct I/O, - 64MB chunk read in user space - all pages for 64MB would be merged to a bio structure if memory address is continued phsycal

[PATCH v1] net/ipv4: add IPv4_is_multicast() check in ip_mc_leave_group().

2021-01-12 Thread wangyingjie55
From: Yingjie Wang There is no IPv4_is_multicast() check added to ip_mc_leave_group() to determine whether imr->imr_multiaddr.s_addr is a multicast address. If not a multicast address, it may result in an error. In some cases, the callers of ip_mc_leave_group don't check whether it is multicast a

Re: [PATCH v6 00/11] Raspberry Pi PoE HAT fan support

2021-01-12 Thread Linus Walleij
On Mon, Jan 11, 2021 at 10:02 PM Nicolas Saenz Julienne wrote: > I'd say at this point the series is pretty clean and, AFAIK, there aren't any > objections. I'm not so sure who should take it, given that it covers numerous > subsystems. Any suggestions on how to handle it? This is one of those c

[PATCH] i2c: remove redundant error print in stm32f7_i2c_probe

2021-01-12 Thread menglong8 . dong
From: Menglong Dong Coccinelle reports a redundant error print in stm32f7_i2c_probe. As 'platform_get_irq' already prints the error message, error print here is redundant and can be removed. Signed-off-by: Menglong Dong --- drivers/i2c/busses/i2c-stm32f7.c | 6 +- 1 file changed, 1 inserti

Re: [PATCH] drm: Removes invalid function return value comment information

2021-01-12 Thread Daniel Vetter
On Tue, Jan 12, 2021 at 09:39:27AM +0800, Zhaoge Zhang wrote: > Signed-off-by: Zhaoge Zhang Applied, thanks for your patch. -Daniel > --- > drivers/gpu/drm/drm_file.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c > index b503

Re: [PATCH] drm: Fix macro name DRM_MODE_PROP_OBJECT in code comment

2021-01-12 Thread Daniel Vetter
On Tue, Jan 12, 2021 at 09:54:39AM +0800, Zhaoge Zhang wrote: > Signed-off-by: Zhaoge Zhang > --- > include/drm/drm_property.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h > index 4a0a80d..bbf5c1fd 100644 > --- a

Re: [PATCH 11/11] kasan: add proper page allocator tests

2021-01-12 Thread Alexander Potapenko
On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > The currently existing page allocator tests rely on kmalloc fallback > with large sizes that is only present for SLUB. Add proper tests that > use alloc/free_pages(). > > Signed-off-by: Andrey Konovalov > Link: > https://linux-review.goo

Re: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: add DPI flag and swing setting

2021-01-12 Thread Xin Ji
Hi Rob Herring, thanks for the comments. On Mon, Jan 11, 2021 at 04:14:35PM -0600, Rob Herring wrote: > On Thu, Dec 31, 2020 at 10:21:12AM +0800, Xin Ji wrote: > > Add DPI flag for distinguish MIPI input signal type, DSI or DPI. Add > > swing setting for adjusting DP tx PHY swing > > > > Signed-o

Re: [PATCH] USB: serial: mos7720: improve handling of a kmalloc failure in read_mos_reg()

2021-01-12 Thread Johan Hovold
On Mon, Jan 11, 2021 at 02:09:04PM -0800, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis reports this problem > > mos7720.c:352:2: warning: Undefined or garbage value returned to caller > return d; > ^~~~ > > In the parport_mos7715_read_data()'s call to rea

Re: [PATCH v1 1/7] coresight: etm-perf: Add support for PID tracing for kernel at EL2

2021-01-12 Thread Leo Yan
Hi Mike, On Mon, Jan 11, 2021 at 04:22:39PM +, Mike Leach wrote: [...] > > diff --git a/include/linux/coresight-pmu.h b/include/linux/coresight-pmu.h > > index b0e35eec6499..927c6285ce5d 100644 > > --- a/include/linux/coresight-pmu.h > > +++ b/include/linux/coresight-pmu.h > > @@ -11,16 +11,

[PATCH v9 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2021-01-12 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt

[PATCH v9 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2021-01-12 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-by: Linus Walleij Acked-by: Bartosz Golaszewski --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10

[PATCH v9 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2021-01-12 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-by: Mark Brown --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions

[PATCH v9 11/12] mfd: bd9571mwv: Make the driver more generic

2021-01-12 Thread Yoshihiro Shimoda
From: Khiem Nguyen Since the driver supports BD9571MWV PMIC only, this patch makes the functions and data structure become more generic so that it can support other PMIC variants as well. Also remove printing part name which Lee Jones suggested. Signed-off-by: Khiem Nguyen Co-developed-by: Yosh

[PATCH v9 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2021-01-12 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen Co-developed-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones ---

[PATCH v9 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2021-01-12 Thread Yoshihiro Shimoda
Use devm_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Matti Vaittinen Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff -

Re: [PATCH v3 2/4] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi M4B

2021-01-12 Thread Chen-Yu Tsai
On Wed, Jan 6, 2021 at 9:46 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > The NanoPi M4B is a minor revision of the original M4. > > The differences against the original Nanopi M4 that are common with the > other M4V2 revision include: > > - microphone header removed > - power button adde

[PATCH v9 08/12] gpio: bd9571mwv: Add BD9574MWF support

2021-01-12 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-by: Linus Walleij Acked-by: Bartosz Golaszewski

Re: [RFC v3 1/2] vfio/platform: add support for msi

2021-01-12 Thread Auger Eric
Hi Vikas, On 1/5/21 6:53 AM, Vikas Gupta wrote: > On Tue, Dec 22, 2020 at 10:57 PM Auger Eric wrote: >> >> Hi Vikas, >> >> On 12/14/20 6:45 PM, Vikas Gupta wrote: >>> MSI support for platform devices.The MSI block >>> is added as an extended IRQ which exports caps >>> VFIO_IRQ_INFO_CAP_TYPE and V

Re: [PATCH v5 1/2] media: v4l2-ctrl: add control for long term reference.

2021-01-12 Thread Hans Verkuil
On 04/01/2021 06:09, Dikshita Agarwal wrote: > Long Term Reference (LTR) frames are the frames that are encoded > sometime in the past and stored in the DPB buffer list to be used > as reference to encode future frames. > This change adds controls to enable this feature. > > Signed-off-by: Dikshit

[PATCH v9 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2021-01-12 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Reviewed-by: Linus Walleij Acked-by: Bartosz Golaszewski --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --g

[PATCH v9 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2021-01-12 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18 de

Re: [f2fs-dev] [PATCH v3 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2021-01-12 Thread Chao Yu
On 2021/1/12 10:04, Jaegeuk Kim wrote: On 01/12, Chao Yu wrote: On 2021/1/11 19:45, Chao Yu wrote: On 2021/1/11 18:31, Chao Yu wrote: On 2021/1/11 17:48, Jaegeuk Kim wrote: Hi Chao, After quick test of fsstress w/ fault injection, it gave wrong block address errors. Could you please run the

[PATCH v9 05/12] regulator: bd9571mwv: Add BD9574MWF support

2021-01-12 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acke

[PATCH v9 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2021-01-12 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Geert Uytterhoeven Reviewed-by: Matti Vaittinen --- drivers/mfd

[PATCH v9 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2021-01-12 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h ind

[PATCH v9 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2021-01-12 Thread Yoshihiro Shimoda
Add BD9574MWF support into bd9571mwv gpio, mfd and regulator drivers. Latest Ebisu-4D boards has this chip instead of BD9571MWV so that we need this patch series to detect this chip at runtime. Note that the patch [1/12] is a bug-fix patch for mfd driver. Hello Lee, Now I got Acked-by from maint

Re: [PATCH v5 2/2] venus: venc: Add support for Long Term Reference (LTR) controls

2021-01-12 Thread Hans Verkuil
On 04/01/2021 06:09, Dikshita Agarwal wrote: > Add support for below LTR controls in encoder: > - V4L2_CID_MPEG_VIDEO_LTR_COUNT > - V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX > - V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES This patch does not add any Request API support to the venus driver, so it makes no sense t

Re: [PATCH v2 1/2] scsi: hisi_sas: Remove unnecessary devm_kfree

2021-01-12 Thread John Garry
On 11/01/2021 23:10, Bean Huo wrote: From: Bean Huo The memory allocated with devm_kzalloc() is freed automatically no need to explicitly call devm_kfree. This change is not right - we use devm_kfree() to manually release the devm-allocated debugfs memories upon memory allocation failure fo

Re: [PATCH 4.4 00/38] 4.4.251-rc1 review

2021-01-12 Thread Naresh Kamboju
On Mon, 11 Jan 2021 at 18:30, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.251 release. > There are 38 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH] arm/kasan:fix the arry size of kasan_early_shadow_pte

2021-01-12 Thread Ard Biesheuvel
On Tue, 12 Jan 2021 at 07:19, Andrew Morton wrote: > > On Sun, 10 Jan 2021 13:03:49 +0100 Linus Walleij > wrote: > > > On Sun, Jan 10, 2021 at 11:21 AM hailong wrote: > > > > > >> +#ifndef PTE_HWTABLE_PTRS > > > >> +#define PTE_HWTABLE_PTRS 0 > > > >> +#endif > > > > > > > >Can this even happen

Re: [PATCH v6 5/5] media: i2c: max9286: Configure reverse channel amplitude

2021-01-12 Thread Jacopo Mondi
Hi Laurent, On Tue, Jan 12, 2021 at 07:03:42AM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Mon, Jan 11, 2021 at 12:20:23PM +0100, Jacopo Mondi wrote: > > On Mon, Jan 11, 2021 at 12:58:59PM +0200, Laurent Pinchart wrote: > > > On Mon, Jan 11, 2021 at 11:43:11AM +0100, Jacopo Mondi wrote: > >

Re: [PATCH] mm, compaction: make sure we isolate a valid freepage when high_pfn is used

2021-01-12 Thread Mel Gorman
On Tue, Jan 12, 2021 at 01:19:55PM +0800, Rokudo Yan wrote: > In fast_isolate_freepages, high_pfn will be used if a prefered one(PFN >= > low_fn) not found. But the high_pfn > is not reset before searching an free area, so when it was used as freepage, > it may from another free area searched bef

Re: [PATCH v3] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-12 Thread kernel test robot
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/Bill-Wendling/pgo-add-clang-s-Profile-Guided-Optimization-infrastructure/20210112-133315 base: https://git.kernel.org/pub/scm/linux/

Re: [PATCH v6 5/5] media: i2c: max9286: Configure reverse channel amplitude

2021-01-12 Thread Geert Uytterhoeven
Hi Jacopo, On Tue, Jan 12, 2021 at 10:07 AM Jacopo Mondi wrote: > On Tue, Jan 12, 2021 at 07:03:42AM +0200, Laurent Pinchart wrote: > > On Mon, Jan 11, 2021 at 12:20:23PM +0100, Jacopo Mondi wrote: > > > On Mon, Jan 11, 2021 at 12:58:59PM +0200, Laurent Pinchart wrote: > > > > On Mon, Jan 11, 202

Re: [PATCH v2 1/2] scsi: hisi_sas: Remove unnecessary devm_kfree

2021-01-12 Thread Bean Huo
On Tue, 2021-01-12 at 09:03 +, John Garry wrote: > On 11/01/2021 23:10, Bean Huo wrote: > > From: Bean Huo > > > > The memory allocated with devm_kzalloc() is freed automatically > > no need to explicitly call devm_kfree. > > > > This change is not right - we use devm_kfree() to manually re

[PATCH] fs: cifs: remove unneeded variable in smb3_fs_context_dup

2021-01-12 Thread menglong8 . dong
From: Menglong Dong 'rc' in smb3_fs_context_dup is not used and can be removed. Signed-off-by: Menglong Dong --- fs/cifs/fs_context.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/cifs/fs_context.c b/fs/cifs/fs_context.c index 0afccbbed2e6..076bcadc756a 100644 --- a

[PATCH bpf 1/2] bpf: support PTR_TO_MEM{,_OR_NULL} register spilling

2021-01-12 Thread Gilad Reti
Add support for pointer to mem register spilling, to allow the verifier to track pointer to valid memory addresses. Such pointers are returned for example by a successful call of the bpf_ringbuf_reserve helper. This patch was suggested as a solution by Yonghong Song. The patch was partially conti

Re: [PATCH] mm: Teach pfn_to_online_page() about ZONE_DEVICE section collisions

2021-01-12 Thread Dan Williams
On Wed, Jan 6, 2021 at 1:55 AM Michal Hocko wrote: > > On Tue 05-01-21 20:07:18, Dan Williams wrote: > > While pfn_to_online_page() is able to determine pfn_valid() at > > subsection granularity it is not able to reliably determine if a given > > pfn is also online if the section is mixed with Z

[PATCH 2/2] selftests/bpf: add verifier test for PTR_TO_MEM spill

2021-01-12 Thread Gilad Reti
Add test to check that the verifier is able to recognize spilling of PTR_TO_MEM registers. The patch was partially contibuted by CyberArk Software, Inc. Signed-off-by: Gilad Reti --- tools/testing/selftests/bpf/test_verifier.c | 12 +++- .../selftests/bpf/verifier/spill_fill.c | 30

[PATCH v2] af/rvu_cgx: Fix missing check bugs in rvu_cgx.c

2021-01-12 Thread wangyingjie55
From: Yingjie Wang In rvu_mbox_handler_cgx_mac_addr_get() and rvu_mbox_handler_cgx_mac_addr_set(), the msg is expected only from PFs that are mapped to CGX LMACs. It should be checked before mapping, so we add the is_cgx_config_permitted() in the functions. Fixes: 289e20bc1ab5 ("af/rvu_cgx: Fix

Re: [PATCH 3/3 v2] sched/fair: reduce cases for active balance

2021-01-12 Thread Mel Gorman
On Thu, Jan 07, 2021 at 11:33:25AM +0100, Vincent Guittot wrote: > Active balance is triggered for a number of voluntary cases like misfit > or pinned tasks cases but also after that a number of load balance > attempts failed to migrate a task. There is no need to use active load > balance when the

Re: [PATCH V2] drivers: net: marvell: Fix two spellings, controling to controlling and oen to one

2021-01-12 Thread Bhaskar Chowdhury
On 23:20 Mon 11 Jan 2021, Gustavo A. R. Silva wrote: On 1/11/21 23:13, Bhaskar Chowdhury wrote: s/controling/controlling/ s/oen/one/ Signed-off-by: Bhaskar Chowdhury --- As Gustavo mentioned in reply, so included that missed one before This is not how you version patches for maintainers

Re: [PATCH 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-12 Thread Stanley Chu
Hi Can, On Tue, 2021-01-12 at 14:52 +0800, Can Guo wrote: > On 2021-01-12 14:35, Stanley Chu wrote: > > Hi Can, > > > > On Sat, 2021-01-02 at 05:59 -0800, Can Guo wrote: > >> During system resume/suspend, hba could be NULL. In this case, do not > >> touch > >> eh_sem. > >> > >> Fixes: 88a92d6ae

Re: KMSAN: kernel-infoleak in move_addr_to_user (4)

2021-01-12 Thread Oliver Hartkopp
On 12.01.21 01:17, Cong Wang wrote: On Mon, Jan 11, 2021 at 11:33 AM Jakub Kicinski wrote: Looks like a AF_CAN socket: r0 = socket(0x1d, 0x2, 0x6) getsockname$packet(r0, &(0x7f000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f00)=0x14) Right, it seems we need a mem

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/12 17:52, Changheun Lee wrote: > From: "Changheun Lee" > > bio size can grow up to 4GB when muli-page bvec is enabled. > but sometimes it would lead to inefficient behaviors. > in case of large chunk direct I/O, - 64MB chunk read in user space - > all pages for 64MB would be merged to

Re: [PATCH v3 09/21] arm64: cpufeature: Add global feature override facility

2021-01-12 Thread Suzuki K Poulose
Hi Marc, On 1/11/21 7:48 PM, Marc Zyngier wrote: Hi Catalin, On 2021-01-11 18:41, Catalin Marinas wrote: Hi Marc, On Mon, Jan 11, 2021 at 01:27:59PM +, Marc Zyngier wrote: Add a facility to globally override a feature, no matter what the HW says. Yes, this is dangerous. Yeah, it's dang

RE: [PATCH v6 1/2] scsi: ufs: Fix ufs clk specs violation

2021-01-12 Thread Avri Altman
> > > As per specs, e.g, JESD220E chapter 7.2, while powering > off/on the ufs device, REF_CLK signal should be between > VSS(Ground) and VCCQ/VCCQ2. > > Reviewed-by: Can Guo > Signed-off-by: Ziqi Chen Aked-by: Avri Altman

Re: [PATCH] mm: Teach pfn_to_online_page() about ZONE_DEVICE section collisions

2021-01-12 Thread Dan Williams
On Thu, Jan 7, 2021 at 1:16 AM David Hildenbrand wrote: > > [...] > > >>> Well, I would love to have no surprises either. So far there was not > >>> actual argument why the pmem reserved space cannot be fully initialized. > >> > >> Yes, I'm still hoping Dan can clarify that. > > > > Complexity and

Re: [PATCH v6 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-01-12 Thread Uwe Kleine-König
Hello Nicolas, On Fri, Dec 11, 2020 at 05:48:00PM +0100, Nicolas Saenz Julienne wrote: > diff --git a/drivers/pwm/pwm-raspberrypi-poe.c > b/drivers/pwm/pwm-raspberrypi-poe.c > new file mode 100644 > index ..24b498839fcc > --- /dev/null > +++ b/drivers/pwm/pwm-raspberrypi-poe.c > @@ -0

  1   2   3   4   5   6   7   8   9   10   >