Re: WARNING: suspicious RCU usage in qrtr_ns_worker

2020-07-01 Thread syzbot
syzbot has bisected this bug to: commit e42671084361302141a09284fde9bbc14fdd16bf Author: Manivannan Sadhasivam Date: Thu May 7 12:53:06 2020 + net: qrtr: Do not depend on ARCH_QCOM bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=105f775510 start commit: 7ae77150

Re: [PATCH 5/5] connector: Create connector per namespace

2020-07-01 Thread kernel test robot
Hi Matt, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ipvs/master] [also build test WARNING on dm/for-next linux/master linus/master v5.8-rc3 next-20200701] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Dmitry Osipenko
02.07.2020 08:43, Dmitry Osipenko пишет: > 02.07.2020 08:30, Chanwoo Choi пишет: >> On 7/2/20 2:07 PM, Dmitry Osipenko wrote: >>> 02.07.2020 07:18, Chanwoo Choi пишет: Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The clk_round_rate() won't be usable for building OPP

Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 11:26 AM Anson Huang wrote: [...] > > > @@ -143,16 +148,18 @@ void imx_cscmr1_fixup(u32 *val) > > > static int imx_keep_uart_clocks; > > > static struct clk ** const *imx_uart_clocks; > > > > > > -static int __init imx_keep_uart_clocks_param(char *str) > > > +static int

RE: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-01 Thread Anson Huang
> Subject: Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock > driver as module > > On Thu, Jul 2, 2020 at 11:55 AM Anson Huang > wrote: > [...] > > > > +{ > > > > + return platform_driver_register(_lpcg_clk_driver); > > > > +} > > > >

Re: linux-next: Signed-off-by missing for commit in the char-misc.current tree

2020-07-01 Thread Greg KH
On Thu, Jul 02, 2020 at 08:01:10AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 853eab68afc8 ("Revert "zram: convert remaining CLASS_ATTR() to > CLASS_ATTR_RO()"") > > is missing a Signed-off-by from its author. Known issue, I had to override the check as I was trying to keep

[PATCH v2] leds: core: Flush scheduled work for system suspend

2020-07-01 Thread Kai-Heng Feng
Sometimes LED won't be turned off by LED_CORE_SUSPENDRESUME flag upon system suspend. led_set_brightness_nopm() uses schedule_work() to set LED brightness. However, there's no guarantee that the scheduled work gets executed because no one flushes the work. So flush the scheduled work to make

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Dmitry Osipenko
02.07.2020 08:30, Chanwoo Choi пишет: > On 7/2/20 2:07 PM, Dmitry Osipenko wrote: >> 02.07.2020 07:18, Chanwoo Choi пишет: >>> Hi Dmitry, >>> >>> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: The clk_round_rate() won't be usable for building OPP table once interconnect support will be added

Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 11:55 AM Anson Huang wrote: [...] > > > +{ > > > + return platform_driver_register(_lpcg_clk_driver); > > > +} > > > +device_initcall(imx8qxp_lpcg_clk_init); > > > > Any reason to change to device_initcall which looks a bit strange? > > Is it because the following

Re: UART/TTY console deadlock

2020-07-01 Thread Sergey Senozhatsky
On (20/07/02 14:12), Sergey Senozhatsky wrote: > Date: Thu, 2 Jul 2020 14:12:13 +0900 > From: Sergey Senozhatsky > To: Tony Lindgren > Cc: Sergey Senozhatsky , Petr Mladek > , Andy Shevchenko , Raul > Rangel , Sergey Senozhatsky > , linux-kernel > , Greg Kroah-Hartman > , Andy Shevchenko >

Re: [v2] Documentation: Coccinelle: fix typos and command example

2020-07-01 Thread Julia Lawall
On Thu, 2 Jul 2020, Matthew Wilcox wrote: > On Wed, Jul 01, 2020 at 07:52:58AM -0700, Randy Dunlap wrote: > > On 7/1/20 6:32 AM, Markus Elfring wrote: > > >>> How do you think about to use the following command variant > > >>> for the adjustment of the software documentation? > > >>> > > >>> +

Re: [PATCH 4/4] writeback: remove bdi->congested_fn

2020-07-01 Thread Song Liu
On Wed, Jul 1, 2020 at 2:06 AM Christoph Hellwig wrote: > > Except for pktdvd, the only places setting congested bits are file > systems that allocate their own backing_dev_info structures. And > pktdvd is a deprecated driver that isn't useful in stack setup > either. So remove the dead

Re: [PATCH v2 5/7] driver core: Add device location to "struct device" and expose it in sysfs

2020-07-01 Thread Oliver O'Halloran
On Thu, Jul 2, 2020 at 4:07 AM Rajat Jain wrote: > > *snip* > > > > I guess it would make sense to have an attribute for user space to > > > write to in order to make the kernel reject device plug-in events > > > coming from a given port or connector, but the kernel has no reliable > > > means to

Re: [PATCH] leds: core: Use blocking op for system suspend

2020-07-01 Thread Kai-Heng Feng
> On Jul 2, 2020, at 05:28, Jacek Anaszewski wrote: > > Hi Kai-Heng, > > Thank you for the patch. > > On 7/1/20 11:35 AM, Kai-Heng Feng wrote: >> Sometimes LED won't be turned off by LED_CORE_SUSPENDRESUME flag upon >> system suspend. > > Just out of curiosity - are you experiencing that

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Chanwoo Choi
On 7/2/20 2:07 PM, Dmitry Osipenko wrote: > 02.07.2020 07:18, Chanwoo Choi пишет: >> Hi Dmitry, >> >> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >>> The clk_round_rate() won't be usable for building OPP table once >>> interconnect support will be added to the EMC driver because that CLK API >>>

Re: [PATCH 17/23] proc: add a read_iter method to proc proc_ops

2020-07-01 Thread Christoph Hellwig
On Wed, Jul 01, 2020 at 10:27:51PM +0100, Al Viro wrote: > On Wed, Jul 01, 2020 at 10:09:45PM +0200, Christoph Hellwig wrote: > > This will allow proc files to implement iter read semantics. > > *UGH* > > You are introducing file_operations with both ->read() and ->read_iter(); > worse, in some

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

2020-07-01 Thread Namjae Jeon
> > if (((attr->ia_valid & ATTR_UID) && >!uid_eq(attr->ia_uid, sbi->options.fs_uid)) || @@ -322,6 +325,12 > @@ int > exfat_setattr(struct dentry *dentry, struct iattr *attr) > goto out; You should remove goto statement and curly braces here to reach if error

Re: [PATCH 19/23] sysctl: Call sysctl_head_finish on error

2020-07-01 Thread Christoph Hellwig
On Thu, Jul 02, 2020 at 01:32:40AM +0100, Matthew Wilcox wrote: > On Wed, Jul 01, 2020 at 10:09:47PM +0200, Christoph Hellwig wrote: > > From: "Matthew Wilcox (Oracle)" > > > > This error path returned directly instead of calling sysctl_head_finish(). > > > > Fixes: ef9d965bc8b6 ("sysctl:

Re: [PATCH] hwmon:max6697: Allow max6581 to create tempX_offset attributes

2020-07-01 Thread Guenter Roeck
On Thu, Jul 02, 2020 at 01:42:23AM +, Chu Lin wrote: > Per max6581, reg 4d and reg 4e is used for temperature read offset. > This patch will let the user specify the temperature read offset for > max6581. This patch is tested on max6581 and only applies to max6581. > Patchwork received four

Re: UART/TTY console deadlock

2020-07-01 Thread Sergey Senozhatsky
On (20/06/30 11:02), Tony Lindgren wrote: > This conditional disable for irq_shared does not look nice to me > from the other device point of view :) > > Would it be possible to just set up te dummy interrupt handler > for the startup, then change it back afterwards? See for example >

Re: [PATCH v2 7/7] arm64: dts: mt8183: Add krane-sku176 board

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > Also known as the Lenovo IdeaPad Duet Chromebook. > > There are different krane boards with shared resources, hence a > mt8183-kukui-krane.dtsi was created for easily introduce future new > boards. The same happens with the

Re: [PATCH v2 6/7] arm64: dts: mt8183: Add USB3.0 support

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > Add the USB3.0 phyter and controller for the MediaTek's MT8183 SoC. > > Signed-off-by: Enric Balletbo i Serra Tested-by: Hsin-Yi Wang > --- > > Changes in v2: > - Move adding #phy-cells to this patch. (Matthias Brugger) > >

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Dmitry Osipenko
02.07.2020 07:18, Chanwoo Choi пишет: > Hi Dmitry, > > On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >> The clk_round_rate() won't be usable for building OPP table once >> interconnect support will be added to the EMC driver because that CLK API >> function limits the rounded rate based on the clk

Re: [PATCH v2 3/7] arm64: dts: mt8183: Add MediaTek's peripheral configuration controller

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > The MediaTek's peripheral configuration controller is present on the > MT8183 SoC. Add the node for that controller. > > Signed-off-by: Enric Balletbo i Serra Tested-by: Hsin-Yi Wang > --- > > Changes in v2: None > >

Re: [PATCH v2 5/7] arm64: dts: mt8183-evb: Fix unit name warnings

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > Remove the unit address from the DT nodes that doesn't have a reg > property. This fixes the following unit name warnings: > > Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mmc0@0: node has a > unit name, but no reg or

Re: [PATCH v2 4/7] arm64: dts: mt8183: Fix unit name warnings

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > Remove the unit address from the DT nodes that doesn't have a reg > property. This fixes the following unit name warnings: > > Warning (unit_address_vs_reg): /cpus/idle-states/cluster-sleep@0: node has > a unit name, but no reg

Re: [PATCH v2 2/7] arm64: dts: mt6358: Add the compatible for the regulators

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > The regulators are expected to be instantiated with matching the > device-tree compatible, so add the proper compatible name under the > regulators node. > > Signed-off-by: Enric Balletbo i Serra Tested-by: Hsin-Yi Wang > --- > >

Re: [RFC][PATCH 3/8] mm/vmscan: Attempt to migrate page in lieu of discard

2020-07-01 Thread Huang, Ying
David Rientjes writes: > On Wed, 1 Jul 2020, Dave Hansen wrote: > >> > Could this cause us to break a user's mbind() or allow a user to >> > circumvent their cpuset.mems? >> >> In its current form, yes. >> >> My current rationale for this is that while it's not as deferential as >> it can be

[PATCH 2/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
add blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h

[PATCH 1/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed multiple parentheses coding style issues.

2020-07-01 Thread B K Karthik
add parentheses since complex valued macros must be enclosed within parentheses. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h

Re: exfatprogs-1.0.3 version released

2020-07-01 Thread Hyunchul Lee
Hello Sedat, For v1.0.3 and later releases, we can provide tar.xz tarballs, hashes and detached signatures. But is there a reason why hashes are required despite the signature? We will let you know when it's done. Thanks. Regards, Hyunchul 2020년 6월 30일 (화) 오후 7:16, Sedat Dilek 님이 작성: > > On

[PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-01 Thread B K Karthik
added blank spaces to improve code readability. (coding style issue) Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_xmit.h

[PATCH] staging: rtl8188eu: include: rtw_recv.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
added blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index

Re: [PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-01 Thread Kees Cook
On Thu, Jul 02, 2020 at 12:48:42AM -0400, B K Karthik wrote: > added blank spaces to improve code readability. > > Signed-off-by: B K Karthik > --- > drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git

[PATCH 2/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
add blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h

[PATCH 1/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed multiple parentheses coding style issues.

2020-07-01 Thread B K Karthik
add parentheses since complex valued macros must be enclosed within parentheses. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h

[PATCH] staging: rtl8188eu: include: rtw_cmd.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
add blank spaces for improved code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_cmd.h b/drivers/staging/rtl8188eu/include/rtw_cmd.h index

[PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-01 Thread B K Karthik
added blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_xmit.h

[GIT PULL] io_uring fixes for 5.8-rc4

2020-07-01 Thread Jens Axboe
Hi Linus, One fix in here, for a regression in 5.7 where a task is waiting in the kernel for a condition, but that condition won't become true until task_work is run. The task_work can't be run exactly because the task is waiting in the kernel, so we'll never make any progress. One example of

[PATCH net-next 1/4] net: Add cable test netdevice operations

2020-07-01 Thread Florian Fainelli
In preparation for decoupling the ethtool cable test from the PHY library, add definitions for two new network device operations: * ndo_cable_test_start * ndo_cable_test_tdr_start In a subsequent patch we will start making use of those. Signed-off-by: Florian Fainelli ---

[PATCH net-next 2/4] net: phy: Change cable test arguments to net_device

2020-07-01 Thread Florian Fainelli
In order to untangle the ethtool/cabletest feature with the PHY library, make the PHY library functions take a net_device argument and derive the phy_device reference from there. No functional changes introduced. Signed-off-by: Florian Fainelli --- drivers/net/phy/phy.c | 18

[PATCH net-next 0/4] net: ethtool: Untangle PHYLIB dependency

2020-07-01 Thread Florian Fainelli
Hi all, This patch series untangles the ethtool netlink dependency with PHYLIB which exists because the cable test feature calls directly into PHY library functions. The approach taken here is to utilize a new set of net_device_ops function pointers which are automatically set to the PHY library

[PATCH net-next 4/4] net: ethtool: Remove PHYLIB dependency

2020-07-01 Thread Florian Fainelli
Now that we have converted the ethtool/cabletest code to use netdev_ops, we can remove the PHY library dependency since the function pointers will now be provided upon PHY attachment to the network device. Signed-off-by: Florian Fainelli --- net/Kconfig | 1 -

[PATCH net-next 3/4] net: phy: Automatically set-up cable test netdev_ops

2020-07-01 Thread Florian Fainelli
Upon attach, override the net_device operations with the PHY library cable test operations and conversely, upon detach, revert to the original net_device operations. This will allows us in a subsequent patch to finally decouple the ethtool/cabletest from the PHY library hard depenencies.

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-07-01 Thread Tetsuo Handa
On 2020/07/02 0:38, Luis Chamberlain wrote: > @@ -156,6 +156,18 @@ static void call_usermodehelper_exec_sync(struct > subprocess_info *sub_info) >*/ > if (KWIFEXITED(ret)) > sub_info->retval = KWEXITSTATUS(ret); > + /* > +

[PATCH v2] scsi: ufs: Cleanup completed request without interrupt notification

2020-07-01 Thread Stanley Chu
If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may crash by below abnormal flow: After this request is requeued by SCSI layer with its outstanding

Re: [PATCH RESEND net-next v3 2/3] net: enetc: Initialize SerDes for SGMII and USXGMII protocols

2020-07-01 Thread kernel test robot
Hi Michael, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Michael-Walle/net-enetc-remove-bootloader-dependency/20200702-053650 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

[PATCH v2] f2fs: add GC_URGENT_LOW mode in gc_urgent

2020-07-01 Thread Daeho Jeong
From: Daeho Jeong Added a new gc_urgent mode, GC_URGENT_LOW, in which mode F2FS will lower the bar of checking idle in order to process outstanding discard commands and GC a little bit aggressively. Signed-off-by: Daeho Jeong --- Documentation/ABI/testing/sysfs-fs-f2fs | 4 +++-

Re: [PATCH v2 0/1] Revert "serial: 8250: Fix max baud limit in generic 8250 port"

2020-07-01 Thread Lukas Wunner
On Thu, Jul 02, 2020 at 01:37:13AM +0300, Serge Semin wrote: > 1) Add a new capability like UART_CAP_NO16DIV and take it into account >in the serial8250_get_baud_rate() method. > > I don't have a documentation for the Mediatek UART port, but it seems to me > that that controller calculates

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Chanwoo Choi
Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The clk_round_rate() won't be usable for building OPP table once > interconnect support will be added to the EMC driver because that CLK API > function limits the rounded rate based on the clk rate that is imposed by > active clk-users, and

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

2020-07-01 Thread Jens Axboe
On 7/1/20 7:21 PM, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > drivers/md/dm.c: In function '__map_bio': > drivers/md/dm.c:1296:24: warning: unused variable 'md' [-Wunused-variable] > 1296 |

Re: [PATCH v33 11/21] x86/sgx: Linux Enclave Driver

2020-07-01 Thread Sean Christopherson
On Thu, Jun 18, 2020 at 01:08:33AM +0300, Jarkko Sakkinen wrote: > +static int sgx_validate_secs(const struct sgx_secs *secs, > + unsigned long ssaframesize) > +{ > + if (secs->size < (2 * PAGE_SIZE) || !is_power_of_2(secs->size)) > + return -EINVAL; > + >

RE: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-01 Thread Anson Huang
> Subject: Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock > driver as module > > On Thu, Jul 2, 2020 at 10:20 AM Anson Huang > wrote: > > > > Change configuration to "tristate", use device_initcall() instead of > > builtin_platform_driver(), add module author, description and

[PATCH v1 0/2] atheros: use generic power management

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

[PATCH v1 2/2] atl2: use generic power management

2020-07-01 Thread Vaibhav Gupta
Remove legacy PM callbacks and use generic operations. With legacy code, drivers were responsible for handling PCI PM operations like pci_save_state(). In generic code, all these hre andled by PCI core. The generic suspend() and resume() are called at the same point the legacy ones were called.

[PATCH v1 1/2] atl1e: use generic power management

2020-07-01 Thread Vaibhav Gupta
Remove legacy PM callbacks and use generic operations. With legacy code, drivers were responsible for handling PCI PM operations like pci_save_state(). In generic code, all these hre andled by PCI core. The generic suspend() and resume() are called at the same point the legacy ones were called.

Re: [PATCH v4 15/23] ASoC: soc-core: Identify 'no_pcm' DAI links for DPCM

2020-07-01 Thread Sameer Pujar
On 7/2/2020 6:22 AM, Kuninori Morimoto wrote: External email: Use caution opening links or attachments Hi Sameer At least my CPU driver doesn't use component:pcm_construct but is using DAI:pcm_new for some reasons. I'm not sure checking DAI:pcm here is enough, or not... OK. If adding

RE: UART/TTY console deadlock

2020-07-01 Thread S, Shirish
Hi All, Can we land this patch upstream? Feel free to add my tested-by. Thanks. Regards, Shirish S -Original Message- From: S, Shirish Sent: Wednesday, July 1, 2020 12:15 PM To: Tony Lindgren ; Sergey Senozhatsky Cc: Petr Mladek ; Andy Shevchenko ; Raul Rangel ; Sergey

Re: [RFC PATCH v1] scsi: ufs: Quiesce all scsi devices before shutdown

2020-07-01 Thread Stanley Chu
Hi Bart, On Wed, 2020-07-01 at 20:02 -0700, Bart Van Assche wrote: > On 2020-07-01 18:32, Stanley Chu wrote: > > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c > > index 59358bb75014..cadfa9006972 100644 > > --- a/drivers/scsi/ufs/ufshcd.c > > +++ b/drivers/scsi/ufs/ufshcd.c >

[RFC PATCH v2] scsi: ufs: Quiesce all scsi devices before shutdown

2020-07-01 Thread Stanley Chu
Currently I/O request could be still submitted to UFS device while UFS is working on shutdown flow. This may lead to racing as below scenarios and finally system may crash due to unclocked register accesses. To fix this kind of issues, specifically quiesce all SCSI devices before UFS shutdown to

[v2 PATCH] crypto: af_alg - Fix regression on empty requests

2020-07-01 Thread Herbert Xu
On Tue, Jun 30, 2020 at 02:18:11PM +0530, Naresh Kamboju wrote: > > Since we are on this subject, > LTP af_alg02 test case fails on stable 4.9 and stable 4.4 > This is not a regression because the test case has been failing from > the beginning. > > Is this test case expected to fail on stable

RE: [EXT] Re: [PATCH 1/2] arm64: dts: ls1088a: add more thermal zone support

2020-07-01 Thread Andy Tang
Hi Shawn, Do you think it is ok if the cooling devices are shared between thermal zones? BR, Andy > -Original Message- > From: Amit Kucheria > Sent: 2020年6月30日 14:47 > To: Andy Tang > Cc: Shawn Guo ; Leo Li ; Rob > Herring ; lakml ; > open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE

Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 10:20 AM Anson Huang wrote: > > Change configuration to "tristate", use device_initcall() instead > of builtin_platform_driver(), add module author, description and > license to support building i.MX8QXP clock drivers as module. > > Signed-off-by: Anson Huang > --- >

RE: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Anson Huang
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock > driver as module > > On Thu, Jul 2, 2020 at 10:19 AM Anson Huang > wrote: > > > > There are more and more requirements of building SoC specific drivers > > as modules, add support for building i.MX common clock driver

[PATCH 4/4] arm64: dts: mediatek: Update allowed regulator modes for elm boards

2020-07-01 Thread Anand K Mistry
This sets the allowed regulator modes for elm (and derivative) boards. According to the datasheet, the da9211 does not support SLEEP mode. Signed-off-by: Anand K Mistry --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 3/4] regulator: da9211: Implement of_map_mode

2020-07-01 Thread Anand K Mistry
Implementing of_map_mode is necessary to be able to specify operating modes in the devicetree using 'regulator-allowed-modes', and to change regulator modes. Signed-off-by: Anand K Mistry --- drivers/regulator/da9211-regulator.c | 25 +++-- 1 file changed, 23 insertions(+),

[PATCH 1/4] regulator: da9211: Move buck modes into header file

2020-07-01 Thread Anand K Mistry
This will allow device trees to make use of these constants. Signed-off-by: Anand K Mistry --- drivers/regulator/da9211-regulator.c | 5 + .../dt-bindings/regulator/dlg,da9211-regulator.h | 16 2 files changed, 17 insertions(+), 4 deletions(-) create mode

[PATCH 0/4] regulator: da9211: support changing modes

2020-07-01 Thread Anand K Mistry
This patchset adds support for being able to change regulator modes for the da9211 regulator. This is needed to allow the voltage scaling support in the MT8173 SoC to be used in the elm (Acer Chromebook R13) and hana (several Lenovo Chromebooks) devices. Anand K Mistry (4): regulator: da9211:

[PATCH 2/4] dt-bindings: regulator: da9211: Document allowed modes

2020-07-01 Thread Anand K Mistry
This patch adds a description of how operating modes may be specified. Signed-off-by: Anand K Mistry --- Documentation/devicetree/bindings/regulator/da9211.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/da9211.txt

arch/powerpc/boot/decompress.c:137: undefined reference to `__decompress'

2020-07-01 Thread kernel test robot
ago config: powerpc-randconfig-r014-20200701 (attached as .config) compiler: powerpc-linux-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 git checkout

Re: objtool clac/stac handling change..

2020-07-01 Thread Andy Lutomirski
> On Jul 1, 2020, at 7:30 PM, Linus Torvalds > wrote: > > On Wed, Jul 1, 2020 at 5:48 PM Andy Lutomirski wrote: >> >> You inspired me to mock it up. > > Ahh, you want to just use the jump folding of gcc to avoid the problem. > > I guess we could do that. Are there cases where this

Re: [PATCH 2/2] virtio-mmio: Reject invalid IRQ 0 command line argument

2020-07-01 Thread Jason Wang
On 2020/7/2 上午6:10, Bjorn Helgaas wrote: From: Bjorn Helgaas The "virtio_mmio.device=" command line argument allows a user to specify the size, address, and IRQ of a virtio device. Previously the only requirement for the IRQ was that it be an unsigned integer. Zero is an unsigned integer

Re: [PATCH 4/8] cpufreq,vexpress-spc: fix Frequency Invariance (FI) for bL switching

2020-07-01 Thread Viresh Kumar
On 01-07-20, 15:07, Ionela Voinescu wrote: > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > Is there anyone who cares for this driver and EAS ? I will just skip doing > > the > > FIE thing here and mark it skipped. > > That is a good question. The vexpress driver is still

Re: [PATCH V4 4/5] clk: imx8m: Support module build

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 10:18 AM Anson Huang wrote: > > Change configuration to "tristate", add module author, description > and license to support building i.MX8M SoCs clock driver as module. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng > --- > Changes since V3: >

Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 10:19 AM Anson Huang wrote: > > There are more and more requirements of building SoC specific drivers > as modules, add support for building i.MX common clock driver as module > to meet the requirement. > > Signed-off-by: Anson Huang > --- > Changes since V3: > -

Re: [RFC PATCH v1] scsi: ufs: Quiesce all scsi devices before shutdown

2020-07-01 Thread Bart Van Assche
On 2020-07-01 18:32, Stanley Chu wrote: > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c > index 59358bb75014..cadfa9006972 100644 > --- a/drivers/scsi/ufs/ufshcd.c > +++ b/drivers/scsi/ufs/ufshcd.c > @@ -8599,10 +8599,14 @@ EXPORT_SYMBOL(ufshcd_runtime_idle); > int

Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-01 Thread Viresh Kumar
On 01-07-20, 17:51, Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 5:28 PM Ionela Voinescu > wrote: > > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > > On 01-07-20, 10:07, Ionela Voinescu wrote: > > > > setpolicy() > > > > === > > > > This callback does not

ERROR: modpost: "bcsr_mod" undefined!

2020-07-01 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cd77006e01b3198c75fb7819b3d0ff89709539bb commit: 8d58f222e85f01da0c0e1fc1e77986c86de889e2 ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST date: 8 weeks ago config: mips-randconfig-r023-20200701

Re: [PATCH v9 5/5] kdump: update Documentation about crashkernel on arm64

2020-07-01 Thread Dave Young
Hi Chen, On 06/28/20 at 04:34pm, Chen Zhou wrote: > Now we support crashkernel=X,[low] on arm64, update the Documentation. > We could use parameters "crashkernel=X crashkernel=Y,low" to reserve > memory above 4G. > > Signed-off-by: Chen Zhou > Tested-by: John Donnelly > Tested-by: Prabhakar

Re: [PATCH 1/8] cpufreq: allow drivers to flag custom support for freq invariance

2020-07-01 Thread Viresh Kumar
On 01-07-20, 18:05, Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 3:33 PM Ionela Voinescu > wrote: > > On Wednesday 01 Jul 2020 at 16:16:17 (+0530), Viresh Kumar wrote: > > > I will rather suggest CPUFREQ_SKIP_SET_FREQ_SCALE as the name and > > > functionality. We need to give drivers a

[PATCH v8 1/4] kasan: define and use MAX_PTRS_PER_* for early shadow tables

2020-07-01 Thread Daniel Axtens
powerpc has a variable number of PTRS_PER_*, set at runtime based on the MMU that the kernel is booted under. This means the PTRS_PER_* are no longer constants, and therefore breaks the build. Define default MAX_PTRS_PER_*s in the same style as MAX_PTRS_PER_P4D. As KASAN is the only user at the

[PATCH v8 0/4] KASAN for powerpc64 radix

2020-07-01 Thread Daniel Axtens
Building on the work of Christophe, Aneesh and Balbir, I've ported KASAN to 64-bit Book3S kernels running on the Radix MMU. This provides full inline instrumentation on radix, but does require that you be able to specify the amount of physically contiguous memory on the system at compile time.

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

2020-07-01 Thread Daniel Axtens
Implement a limited form of KASAN for Book3S 64-bit machines running under the Radix MMU: - Set aside the last 1/8th of the first contiguous block of physical memory to provide writable shadow for the linear map. For annoying reasons documented below, the memory size must be specified at

[PATCH v8 3/4] powerpc/mm/kasan: rename kasan_init_32.c to init_32.c

2020-07-01 Thread Daniel Axtens
kasan is already implied by the directory name, we don't need to repeat it. Suggested-by: Christophe Leroy Signed-off-by: Daniel Axtens --- arch/powerpc/mm/kasan/Makefile | 2 +- arch/powerpc/mm/kasan/{kasan_init_32.c => init_32.c} | 0 2 files changed, 1 insertion(+), 1

[PATCH v8 2/4] kasan: Document support on 32-bit powerpc

2020-07-01 Thread Daniel Axtens
KASAN is supported on 32-bit powerpc and the docs should reflect this. Document s390 support while we're at it. Suggested-by: Christophe Leroy Reviewed-by: Christophe Leroy Signed-off-by: Daniel Axtens --- Documentation/dev-tools/kasan.rst | 7 +-- Documentation/powerpc/kasan.txt | 12

Re: [V2 PATCH] usb: mtu3: fix NULL pointer dereference

2020-07-01 Thread Chunfeng Yun
On Wed, 2020-07-01 at 13:58 +0200, Greg Kroah-Hartman wrote: > On Tue, Jun 30, 2020 at 03:42:22PM +0800, Chunfeng Yun wrote: > > Some pointers are dereferenced before successful checks. > > > > Reported-by: Markus Elfring > > Signed-off-by: Chunfeng Yun > > --- > > v2: nothing changed, but

Re: [PATCH v9 1/5] x86: kdump: move reserve_crashkernel_low() into crash_core.c

2020-07-01 Thread Dave Young
On 06/28/20 at 04:34pm, Chen Zhou wrote: > In preparation for supporting reserve_crashkernel_low in arm64 as > x86_64 does, move reserve_crashkernel_low() into kernel/crash_core.c. > > BTW, move x86_64 CRASH_ALIGN to 2M suggested by Dave. CONFIG_PHYSICAL_ALIGN > can be selected from 2M to 16M,

Re: [PATCH] clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER

2020-07-01 Thread Viresh Kumar
On 01-07-20, 13:11, Nathan Chancellor wrote: > When building arm32 allmodconfig: > > ld.lld: error: undefined symbol: ap_cp_unique_name > >>> referenced by ap-cpu-clk.c > >>> clk/mvebu/ap-cpu-clk.o:(ap_cpu_clock_probe) in archive > >>> drivers/built-in.a > > ap_cp_unique_name is

Re: [PATCH] kbuild: do not export LDFLAGS_vmlinux

2020-07-01 Thread Masahiro Yamada
On Thu, Jul 2, 2020 at 5:14 AM Max Filippov wrote: > > On Wed, Jul 1, 2020 at 12:30 PM Masahiro Yamada wrote: > > [...] > > > diff --git a/arch/xtensa/boot/boot-elf/Makefile > > b/arch/xtensa/boot/boot-elf/Makefile > > index 12ae1e91cb75..c6538d3321b9 100644 > > ---

Re: [PATCH 1/2] iommu: Add iommu_group_get/set_domain()

2020-07-01 Thread Lu Baolu
Hi Robin, On 7/1/20 8:18 PM, Robin Murphy wrote: On 2020-07-01 08:32, Lu Baolu wrote: Hi Robin, On 2020/7/1 0:51, Robin Murphy wrote: On 2020-06-30 02:03, Lu Baolu wrote: Hi Robin, On 6/29/20 7:56 PM, Robin Murphy wrote: On 2020-06-27 04:15, Lu Baolu wrote: The hardware assistant vfio

RE: [PATCH V4 2/5] clk: imx: Add clock configuration for ARMv7 platforms

2020-07-01 Thread Aisheng Dong
> From: Anson Huang > Sent: Thursday, July 2, 2020 10:15 AM > > Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option > instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default > according to CONFIG_SOC_xxx. > > Signed-off-by: Anson Huang Reviewed-by: Dong

Re: [PATCH v3] cpufreq: CPPC: simply the code access 'highest_perf' value in cppc_perf_caps struct

2020-07-01 Thread Viresh Kumar
On 01-07-20, 14:16, Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 6:52 AM Viresh Kumar wrote: > > > > On 01-07-20, 12:20, Xin Hao wrote: > > > The 'caps' variable has been defined, so there is no need to get > > > 'highest_perf' value through 'cpu->caps.highest_perf', you can use > > >

Re: objtool clac/stac handling change..

2020-07-01 Thread Linus Torvalds
On Wed, Jul 1, 2020 at 7:30 PM Linus Torvalds wrote: > > I guess we could do that. Are there cases where this actually helps? Hmm. Thinking about it., using that approach might make the "CONFIG_CC_HAS_ASM_GOTO_OUTPUT" choices simpler to handle. With ASM_GOTO_OUTPUT it generates the perfect

[PATCH 5/6] crypto: hisilicon/hpre - update debugfs interface parameters

2020-07-01 Thread Meng Yu
Update debugfs interface parameters, and adjust the processing logic inside the corresponding function. Fixes: 848974151618("crypto: hisilicon - Add debugfs for HPRE") Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre_main.c | 61

[PATCH 1/6] crypto: hisilicon/hpre - Init the value of current_q of debugfs

2020-07-01 Thread Meng Yu
Initialize current queue number as HPRE_PF_DEF_Q_NUM, or it is zero and we can't set its value by "current_q_write". Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Hui Tang --- drivers/crypto/hisilicon/hpre/hpre_main.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 6/6] crypto: hisilicon/hpre - disable FLR triggered by hardware

2020-07-01 Thread Meng Yu
From: Hui Tang for Hi1620 hardware, we should disable these hardware flr: 1. BME_FLR - bit 7, 2. PM_FLR - bit 11, 3. SRIOV_FLR - bit 12, Or HPRE may goto D3 state, when we bind and unbind HPRE quickly, as it does FLR triggered by BME/PM/SRIOV. Fixes: c8b4b477079d("crypto: hisilicon - add

[PATCH 0/6] crypto: hisilicon/hpre bugfix - misc fixes

2020-07-01 Thread Meng Yu
Bugfix: crypto: hisilicon/hpre - modify the macros, add a switch in sriov_configure, unified debugfs interface, and disable hardware FLR. Hui Tang (2): crypto: hisilicon/hpre - HPRE_OVERTIME_THRHLD can be written by debugfs crypto: hisilicon/hpre - disable FLR triggered by

[PATCH 3/6] crypto: hisilicon/hpre - Modify the Macro definition and format

2020-07-01 Thread Meng Yu
1. Bit 1 to bit 5 are NFE, not CE. 2. Macro 'HPRE_VF_NUM' is defined in 'qm.h', so delete it here. 3. Delete multiple blank lines. 4. Adjust format alignment. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Longfang Liu --- drivers/crypto/hisilicon/hpre/hpre_main.c | 14

[PATCH 4/6] crypto: hisilicon/hpre - Add a switch in sriov_configure

2020-07-01 Thread Meng Yu
If CONFIG_PCI_IOV is not enabled, we can not use "sriov_configure". Fixes: 5ec302a364bf("crypto: hisilicon - add SRIOV support for HPRE") Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Shukun Tan --- drivers/crypto/hisilicon/hpre/hpre_main.c | 3 ++- 1 file changed, 2

[PATCH 2/6] crypto: hisilicon/hpre - HPRE_OVERTIME_THRHLD can be written by debugfs

2020-07-01 Thread Meng Yu
From: Hui Tang Registers in "hpre_dfx_files" can only be cleaned to zero but HPRE_OVERTIME_THRHLD, which can be written as any number. Fixes: 64a6301ebee7("crypto: hisilicon/hpre - add debugfs for ...") Signed-off-by: Hui Tang Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Zhou

  1   2   3   4   5   6   7   8   9   10   >