Re: [PATCH v5 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-06 Thread Ramuthevar, Vadivel MuruganX
Hi, On 7/5/2020 8:22 am, Randy Dunlap wrote: On 5/6/20 5:15 PM, Ramuthevar,Vadivel MuruganX wrote: diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index a80a46bb5b8b..a026bec28f39 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -457,6

memory leak in inet6_create (2)

2020-05-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f66ed1eb Merge tag 'iomap-5.7-fixes-1' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12cf3c4c10 kernel config: https://syzkaller.appspot.com/x/.config?x=36dc1e5ad3e26c41

Re: [PATCH 06/11] net: ethernet: mtk-eth-mac: new driver

2020-05-06 Thread Leon Romanovsky
On Wed, May 06, 2020 at 12:23:29PM -0700, Jakub Kicinski wrote: > On Wed, 6 May 2020 22:16:11 +0300 Leon Romanovsky wrote: > > > +#define MTK_MAC_DRVNAME"mtk_eth_mac" > > > +#define MTK_MAC_VERSION"1.0" > > > > Please don't add driver

Re: [PATCH v12 02/10] KVM: VMX: Set guest CET MSRs per KVM and host configuration

2020-05-06 Thread kbuild test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on vhost/linux-next] [also build test ERROR on tip/auto-latest linus/master v5.7-rc4 next-20200505] [cannot apply to kvm/linux-next linux/master] [if your patch is applied to the wrong git tree, please drop us a

Re: [PATCH bpf] security: Fix the default value of fs_context_parse_param hook

2020-05-06 Thread Alexei Starovoitov
On Thu, Apr 30, 2020 at 8:46 PM James Morris wrote: > > On Thu, 30 Apr 2020, KP Singh wrote: > > > From: KP Singh > > > > Applied to: > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > for-v5.7 > James, could you please send PR to Linus this week to make sure the fix

Re: [RFC][PATCH 0/2] Add support for using reserved memory for ima buffer pass

2020-05-06 Thread Prakhar Srivastava
Hi Mark, This patch set currently only address the Pure DT implementation. EFI and ACPI implementations will be posted in subsequent patchsets. The logs are intended to be carried over the kexec and once read the logs are no longer needed and in prior conversation with James(

RE: [PATCH v4 3/5] iommu/vt-d: Disable non-recoverable fault processing before unbind

2020-05-06 Thread Tian, Kevin
> From: Lu Baolu > Sent: Thursday, May 7, 2020 8:56 AM > > When a PASID is used for SVA by the device, it's possible that the PASID > entry is cleared before the device flushes all ongoing DMA requests. The > IOMMU should ignore the non-recoverable faults caused by these requests. > Intel VT-d

Re: [PATCH] arm64: dts: qcom: c630: Make i2c devices active high

2020-05-06 Thread Bjorn Andersson
On Sun 05 Apr 22:24 PDT 2020, Bjorn Andersson wrote: > The two i2c hid devices on i2c3 are supposed to have interrupts > triggered active high, update this. > While this is what the DSDT says, keeping it as RISING avoids occasional drops of keyboard entries. So let's ignore this for now. >

RE: [PATCH v4 2/5] iommu/vt-d: debugfs: Add support to show inv queue internals

2020-05-06 Thread Tian, Kevin
> From: Lu Baolu > Sent: Thursday, May 7, 2020 8:56 AM > > Export invalidation queue internals of each iommu device through the > debugfs. > > Example of such dump on a Skylake machine: > > $ sudo cat /sys/kernel/debug/iommu/intel/invalidation_queue > Invalidation queue on IOMMU: dmar1 >

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-05-06 Thread Tetsuo Handa
On 2020/05/07 14:30, Joe Perches wrote: > I proposed awhile back making functions for pr_ > https://lore.kernel.org/lkml/1466739971-30399-1-git-send-email-...@perches.com/ Great. That will also benefit KERN_NO_CONSOLES. > > Maybe it's time for that and something appropriate > like it for your

[PATCH -next] phy: ti: j721e-wiz: Fix some error return code in wiz_probe()

2020-05-06 Thread Wei Yongjun
Fix to return negative error code from some error handling cases instead of 0, as done elsewhere in this function. Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun ---

linux-next: build failure after merge of the vhost tree

2020-05-06 Thread Stephen Rothwell
Hi all, After merging the vhost tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/net/virtio_net.c: In function 'try_fill_recv': drivers/net/virtio_net.c:1250:3: error: too few arguments to function 'u64_stats_update_end_irqrestore' 1250 |

[PATCH] coresight: cti: remove incorrect NULL return check

2020-05-06 Thread Calvin Johnson
fwnode_find_reference() doesn't return NULL and hence that check should be avoided. Signed-off-by: Calvin Johnson Reviewed-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-cti-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

RE: [PATCH v4 1/5] iommu/vt-d: Multiple descriptors per qi_submit_sync()

2020-05-06 Thread Tian, Kevin
> From: Lu Baolu > Sent: Thursday, May 7, 2020 8:56 AM > > Current qi_submit_sync() only supports single invalidation descriptor > per submission and appends wait descriptor after each submission to > poll the hardware completion. This extends the qi_submit_sync() helper > to support multiple

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-05-06 Thread Joe Perches
On Thu, 2020-05-07 at 14:13 +0900, Tetsuo Handa wrote: > On 2020/05/07 10:02, Joe Perches wrote: > > > > printk_get_level / printk_skip_level and the various > > > > uses of %pV using printk_get_level > > > > > > > > > > Excuse me, but what do you mean? > > > > > > I wish printk() accepts

Re: [PATCH v5 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-06 Thread Boris Brezillon
On Thu, 7 May 2020 08:15:37 +0800 "Ramuthevar,Vadivel MuruganX" wrote: > + reg = readl(ebu_host->ebu + EBU_ADDR_SEL(ebu_host->cs_num)); > + writel(reg | EBU_ADDR_MASK(5) | EBU_ADDR_SEL_REGEN, > +ebu_host->ebu + EBU_ADDR_SEL(ebu_host->cs_num)); Seriously, did you really

Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics

2020-05-06 Thread Konstantin Khlebnikov
On 06/05/2020 14.56, Vlastimil Babka wrote: On 5/4/20 6:07 PM, Konstantin Khlebnikov wrote: To get exact count of free and used objects slub have to scan list of partial slabs. This may take at long time. Scanning holds spinlock and blocks allocations which move partial slabs to per-cpu lists

Re: [PATCH v7 07/10] phy: samsung-ufs: add UFS PHY driver for samsung SoC

2020-05-06 Thread Kishon Vijay Abraham I
+Vinod Hi Alim, On 4/26/2020 11:00 PM, Alim Akhtar wrote: > This patch introduces Samsung UFS PHY driver. This driver > supports to deal with phy calibration and power control > according to UFS host driver's behavior. > > Reviewed-by: Kiwoong Kim > Signed-off-by: Seungwon Jeon >

Re: [PATCH v12 06/10] KVM: x86: Add userspace access interface for CET MSRs

2020-05-06 Thread kbuild test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on vhost/linux-next] [also build test ERROR on tip/auto-latest linus/master v5.7-rc4 next-20200505] [cannot apply to kvm/linux-next linux/master] [if your patch is applied to the wrong git tree, please drop us a

Re: [PATCH v2 1/2] cpufreq: qoriq: convert to a platform driver

2020-05-06 Thread Viresh Kumar
On 28-04-20, 16:31, Viresh Kumar wrote: > On 21-04-20, 10:29, Mian Yousaf Kaukab wrote: > > The driver has to be manually loaded if it is built as a module. It > > is neither exporting MODULE_DEVICE_TABLE nor MODULE_ALIAS. Moreover, > > no platform-device is created (and thus no uevent is sent)

[PATCH -next] visorbus: fix error return code in visorchipset_init()

2020-05-06 Thread Wei Yongjun
Fix to return negative error code -ENODEV from the visor_check_channel() error handling case instead of 0. Also change the error code to -ENOMEM in kzalloc() error case. Signed-off-by: Wei Yongjun --- drivers/visorbus/visorchipset.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[PATCH] input/misc/drv260x: Remove a useless comparison

2020-05-06 Thread ChenTao
Fix the following warning: 'mode' and 'library' are u32, they are never be negative, DRV260X_LRA_MODE and DRV260X_LIB_EMPTY are 0x00, the comparison is always false. drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if

Re: [PATCH] media: usb: ttusb-dec: avoid buffer overflow in ttusb_dec_handle_irq() when DMA failures/attacks occur

2020-05-06 Thread Jia-Ju Bai
On 2020/5/7 1:43, Greg KH wrote: On Thu, May 07, 2020 at 12:48:47AM +0800, Jia-Ju Bai wrote: Yes, I agree that this issue is not new, because DMA attacks are old problems. But I am a little surprised that many current drivers are still vulnerable to DMA attacks. Given that the attack vector

Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics

2020-05-06 Thread Konstantin Khlebnikov
On 07/05/2020 06.01, Qian Cai wrote: On May 6, 2020, at 3:06 PM, Qian Cai wrote: On May 4, 2020, at 12:07 PM, Konstantin Khlebnikov wrote: To get exact count of free and used objects slub have to scan list of partial slabs. This may take at long time. Scanning holds spinlock and

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-05-06 Thread Tetsuo Handa
On 2020/05/07 10:02, Joe Perches wrote: >>> printk_get_level / printk_skip_level and the various >>> uses of %pV using printk_get_level >>> >> >> Excuse me, but what do you mean? >> >> I wish printk() accepts "loglevel" argument detached from "fmt" argument >> (e.g. > > I think that's a bad idea

Re: [PATCH 15/15] x86: use non-set_fs based maccess routines

2020-05-06 Thread Christoph Hellwig
On Wed, May 06, 2020 at 12:01:32PM -0700, Linus Torvalds wrote: > Oh, absolutely. I did *NOT* mean that you'd use "unsafe_get_user()" as > the actual interface. I just meant that as an implementation detail on > x86, using "unsafe_get_user()" instead of "__get_user_size()" > internally both

[rcu:kcsan-dev] BUILD SUCCESS 50a19ad4b1ec531eb550183cb5d4ab9f25a56bf8

2020-05-06 Thread kbuild test robot
allyesconfig powerpc alldefconfig powerpc rhel-kconfig powerpc allmodconfig powerpc allnoconfig m68k randconfig-a001-20200506 mips randconfig-a001-20200506 nds32

[PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first attempt failed with invalid device state

2020-05-06 Thread Wei Hu
In the case of kdump, the PCI device was not cleanly shut down before the kdump kernel starts. This causes the initial attempt of entering D0 state in the kdump kernel to fail with invalid device state returned from Hyper-V host. When this happens, explicitly call PCI bus exit and retry to enter

[PATCH v3 1/2] PCI: hv: Fix the PCI HyperV probe failure path to release resource properly

2020-05-06 Thread Wei Hu
In some error cases in hv_pci_probe(), allocated resources are not freed. Fix this by adding a field to keep track of the high water mark for slots that have resources allocated to them. In case of an error, this high water mark is used to know which slots have resources that must be released.

[PATCH v3 0/2] Fix PCI HyperV device error handling

2020-05-06 Thread Wei Hu
This series better handles some PCI HyperV error cases in general and for kdump case. Some of review comments from previous individual patch reviews, including splitting into separate patches, have already been incorporated. Thanks Lorenzo Pieralisi for the review and suggestions, as well as

Re: [PATCH v29 00/20] Intel SGX foundations

2020-05-06 Thread Haitao Huang
On Wed, 06 May 2020 17:14:22 -0500, Sean Christopherson wrote: On Wed, May 06, 2020 at 05:42:42PM -0400, Nathaniel McCallum wrote: Tested on Enarx. This requires a patch[0] for v29 support. Tested-by: Nathaniel McCallum However, we did uncover a small usability issue. See below. [0]:

[rcu:dev.2020.05.06a] BUILD SUCCESS b93fdeb9aaec0c7769bac9c9333e50789a5d2e50

2020-05-06 Thread kbuild test robot
pc allmodconfig powerpc allnoconfig m68k randconfig-a001-20200506 mips randconfig-a001-20200506 nds32randconfig-a001-20200506 parisc randconfig-a001-20200506 alpharandconfig-a001-202005

Re: [PATCH V2 08/11] arch/kmap: Ensure kmap_prot visibility

2020-05-06 Thread Christoph Hellwig
On Sun, May 03, 2020 at 06:09:09PM -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > We want to support kmap_atomic_prot() on all architectures and it makes > sense to define kmap_atomic() to use the default kmap_prot. > > So we ensure all arch's have a globally available kmap_prot either

linux-next: manual merge of the chrome-platform tree with the pstore tree

2020-05-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the chrome-platform tree got a conflict in: drivers/platform/chrome/chromeos_pstore.c between commit: 7bddec15c574 ("pstore/ram: Introduce max_reason and convert dump_oops") from the pstore tree and commit: 1c7c51347f2e ("platform/chrome:

Re: [PATCH] wcn36xx: Fix error handling path in 'wcn36xx_probe()'

2020-05-06 Thread Bjorn Andersson
On Wed 06 May 21:36 PDT 2020, Christophe JAILLET wrote: > In case of error, 'qcom_wcnss_open_channel()' must be undone by a call to > 'rpmsg_destroy_ept()', as already done in the remove function. > > Fixes: 5052de8deff5 ("soc: qcom: smd: Transition client drivers from smd to > rpmsg") It

Re: [PATCH v2] xhci: Set port link to RxDetect if port is not enabled after resume

2020-05-06 Thread Kai-Heng Feng
> On Apr 28, 2020, at 00:49, Mathias Nyman > wrote: > > On 27.4.2020 12.05, Kai-Heng Feng wrote: >> >> >>> On Apr 23, 2020, at 19:25, Mathias Nyman >>> wrote: >>> >>> Was this roothub port forcefully suspended xhci_bus_suspend()? >>> i.e. was a bit set in bus_state->bus_suspended for

Re: x86/uv cleanups

2020-05-06 Thread Christoph Hellwig
On Wed, May 06, 2020 at 04:36:50PM -0500, Russ Anderson wrote: > In addition to Christoph's patches, we will soon be submitting > additional clean up patches. Mike Travis is working on a patch > to remove old SGI UV1 code. Dimitri Sivanich is working on a > sgi_rtc cleanup patch. We are looking

Re: [PATCH v7 2/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-05-06 Thread Kishon Vijay Abraham I
+Vinod Hi, On 4/2/2020 3:40 AM, Laurent Pinchart wrote: > From: Anurag Kumar Vulisha > > Xilinx ZynqMP SoCs have a Gigabit Transceiver with four lanes. All the > high speed peripherals such as USB, SATA, PCIE, Display Port and > Ethernet SGMII can rely on any of the four GT lanes for PHY

Re: [PATCH next] ARM: dts: am437x: fix networking on boards with ksz9031 phy

2020-05-06 Thread Oleksij Rempel
Hi Grygorii, thank you for you patches! On Wed, May 06, 2020 at 10:08:35PM +0300, Grygorii Strashko wrote: > Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the > KSZ9031 PHY") the networking is broken on boards: > am437x-gp-evm > am437x-sk-evm > am437x-idk-evm > > All

[PATCH] wcn36xx: Fix error handling path in 'wcn36xx_probe()'

2020-05-06 Thread Christophe JAILLET
In case of error, 'qcom_wcnss_open_channel()' must be undone by a call to 'rpmsg_destroy_ept()', as already done in the remove function. Fixes: 5052de8deff5 ("soc: qcom: smd: Transition client drivers from smd to rpmsg") Signed-off-by: Christophe JAILLET --- Not 100% sure of the commit for

Re: [PATCH v4 1/1] scsi: pm: Balance pm_only counter of request queue during system resume

2020-05-06 Thread Bart Van Assche
On 2020-05-05 21:55, Can Guo wrote: > During system resume, scsi_resume_device() decreases a request queue's > pm_only counter if the scsi device was quiesced before. But after that, > if the scsi device's RPM status is RPM_SUSPENDED, the pm_only counter is > still held (non-zero). Current scsi

Re: [RFC PATCH v2 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-06 Thread Randy Dunlap
On 5/6/20 7:39 AM, john mathew wrote: > From: John Mathew > > Add documentation for introduction to > -context-switch > -x86 context-switch > -MIPS context switch > > Suggested-by: Lukas Bulwahn > Co-developed-by: Mostafa Chamanara > Signed-off-by: Mostafa Chamanara > Co-developed-by:

Re: [PATCH 2/5] input: misc: bma150: Conditionally disable bma023 support

2020-05-06 Thread Dmitry Torokhov
On Wed, May 06, 2020 at 08:46:12PM -0700, Jonathan Bakker wrote: > Hi Linus, > > On 2020-05-06 5:46 a.m., Linus Walleij wrote: > > On Sun, May 3, 2020 at 7:22 PM Jonathan Bakker wrote: > > > >> The bma180 IIO driver has been extended for support for bma023. > >> However, this could cause

[PATCH] sched/fair: Fix typo in comment

2020-05-06 Thread Xianting Tian
check_prempt_curr() -> check_preempt_curr() Signed-off-by: Xianting Tian --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 02f323b85..458ab5521 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@

Re: [PATCH -next] iwlwifi: pcie: Use bitwise instead of arithmetic operator for flags

2020-05-06 Thread Samuel Zou
Both of you are right. I neglected, and this patch is wrong. Thanks. On 2020/5/6 23:15, Joe Perches wrote: On Wed, 2020-05-06 at 16:51 +0300, Luciano Coelho wrote: On Tue, 2020-05-05 at 20:19 -0700, Joe Perches wrote: On Wed, 2020-05-06 at 11:07 +0800, Samuel Zou wrote: This silences the

Re: [PATCH] ath10k: Replace zero-length array with flexible-array

2020-05-06 Thread Gustavo A. R. Silva
Kalle, On 5/5/20 02:51, Kalle Valo wrote: > > Fails to apply, please rebase on top of ath.git master branch. > > error: patch failed: drivers/net/wireless/ath/ath10k/pci.h:182 > error: drivers/net/wireless/ath/ath10k/pci.h: patch does not apply > stg import: Diff does not apply cleanly > >

[PATCH v2] ath10k: Replace zero-length array with flexible-array

2020-05-06 Thread Gustavo A. R. Silva
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1][2], introduced in C99: struct foo { int stuff; struct boo array[]; }; By

Re: [GIT] Networking

2020-05-06 Thread pr-tracker-bot
The pull request you sent on Wed, 06 May 2020 20:40:39 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a811c1fa0a02c062555b54651065899437bacdbe Thank you! -- Deet-doot-dot,

[PATCH RESEND] tpm: eventlog: Replace zero-length array with flexible-array member

2020-05-06 Thread Gustavo A. R. Silva
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1][2], introduced in C99: struct foo { int stuff; struct boo array[]; }; By

linux-next: manual merge of the iommu tree with the s390 tree

2020-05-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the iommu tree got a conflict in: drivers/iommu/s390-iommu.c between commit: d08d6f5d7524 ("s390/pci: adaptation of iommu to multifunction") from the s390 tree and commit: 522af649e57b ("iommu/s390: Convert to probe/release_device() call-backs")

Re: [PATCH 0/5] iio: accel: Add bma023 support to bma180

2020-05-06 Thread Jonathan Bakker
Hi Linus, On 2020-05-06 5:47 a.m., Linus Walleij wrote: > On Sun, May 3, 2020 at 7:22 PM Jonathan Bakker wrote: > >> This patchset adds support for the bma023 three axis accelerometer >> to the bma180 IIO driver. The bma023 is found on several ~2010 >> phones, including the first-gen Galaxy S

[PATCH -next] ALSA: sound/ppc: Use bitwise instead of arithmetic operator for flags

2020-05-06 Thread Samuel Zou
Fix the following coccinelle warnings: sound/ppc/pmac.c:729:57-58: WARNING: sum of probable bitmasks, consider | sound/ppc/pmac.c:229:37-38: WARNING: sum of probable bitmasks, consider | Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- sound/ppc/pmac.c | 4 ++-- 1 file changed, 2

[PATCH] pinctrl: sprd: Fix the incorrect pull-up definition

2020-05-06 Thread Baolin Wang
The bits of pull up resistor selection were defined mistakenly, thus fix them. Fixes: 41d32cfce1ae ("pinctrl: sprd: Add Spreadtrum pin control driver") Signed-off-by: Baolin Wang --- drivers/pinctrl/sprd/pinctrl-sprd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/5] input: misc: bma150: Conditionally disable bma023 support

2020-05-06 Thread Jonathan Bakker
Hi Linus, On 2020-05-06 5:46 a.m., Linus Walleij wrote: > On Sun, May 3, 2020 at 7:22 PM Jonathan Bakker wrote: > >> The bma180 IIO driver has been extended for support for bma023. >> However, this could cause conflicts with this driver. Since some >> setups may depend upon the evdev setup,

Re: [RFC PATCH v2 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-06 Thread Randy Dunlap
Hi-- On 5/6/20 7:39 AM, john mathew wrote: > From: John Mathew > > Add documentation for > -scheduler overview > -scheduler state transtion > -CFS overview > -scheduler data structs > > Add rst for scheduler APIs and modify sched/core.c > to add kernel-doc comments. > > Suggested-by:

[GIT] Networking

2020-05-06 Thread David Miller
1) Fix reference count leaks in various parts of batman-adv, from Xiyu Yang. 2) Update NAT checksum even when it is zero, from Guillaume Nault. 3) sk_psock reference count leak in tls code, also from Xiyu Yang. 4) Sanity check TCA_FQ_CODEL_DROP_BATCH_SIZE netlink attribute in fq_codel,

Re: [PATCH] gpiolib: add GPIO_SET_DEBOUNCE_IOCTL

2020-05-06 Thread Kent Gibson
On Mon, May 04, 2020 at 12:31:57PM +0200, Bartosz Golaszewski wrote: > czw., 30 kwi 2020 o 16:58 Kent Gibson napisał(a): > > > > On Thu, Apr 30, 2020 at 01:32:22PM +, Bujanda, Hector wrote: > > > Thanks all for your guidance! > > > > > > First saying that this patch request was sent having

Re: [PATCH -next] ASoC: SOF: Intel: Mark cht_debugfs as __maybe_unused

2020-05-06 Thread Joe Perches
On Thu, 2020-05-07 at 11:19 +0800, YueHaibing wrote: > When CONFIG_SND_SOC_SOF_BAYTRAIL is not set, gcc warns: > > sound/soc/sof/intel/byt.c:85:41: warning: ‘cht_debugfs’ defined but not used > [-Wunused-const-variable=] > static const struct snd_sof_debugfs_map cht_debugfs[] = { >

Re: System fails to exit s2idle by a keystroke on my laptop

2020-05-06 Thread Chris Chiu
On Wed, May 6, 2020 at 6:19 PM Rafael J. Wysocki wrote: > > On Wed, May 6, 2020 at 11:32 AM Rafael J. Wysocki wrote: > > > > > > Thanks for the report, the issue evidently is EC-related. > > > > > @@ -1024,7 +1024,7 @@ static bool acpi_s2idle_wake(void) > > > * regarded as a

Re: [PATCH v2 2/7] extcon: arizona: Move binding over to dtschema

2020-05-06 Thread Chanwoo Choi
Hi Charles, On 5/7/20 12:57 AM, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > > Changes since v1: > - Removed some description that duplicates constraints > > Thanks, > Charles > > .../devicetree/bindings/extcon/extcon-arizona.txt | 76 - >

[PATCH v1 1/1] PCI/ERR: Handle fatal error recovery for non-hotplug capable devices

2020-05-06 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan If there are non-hotplug capable devices connected to a given port, then during the fatal error recovery(triggered by DPC or AER), after calling reset_link() function, we cannot rely on hotplug handler to detach and re-enumerate the device drivers in the affected

Re: [PATCH] efi: cper: Add support for printing Firmware Error Record Reference

2020-05-06 Thread Punit Agrawal
Hi Ard, Ard Biesheuvel writes: > Hello Punit, > > On Mon, 27 Apr 2020 at 11:03, Punit Agrawal > wrote: >> >> While debugging a boot failure, the following unknown error record was >> seen in the boot logs. >> >> <...> >> BERT: Error records from previous boot: >> [Hardware Error]:

Re: [PATCH v4 2/2] mailbox: sprd: Add Spreadtrum mailbox driver

2020-05-06 Thread Baolin Wang
Hi Jassi, On Thu, May 7, 2020 at 7:25 AM Jassi Brar wrote: > > On Wed, May 6, 2020 at 8:29 AM Baolin Wang wrote: > > > > Hi Jassi, > > > > On Tue, Apr 28, 2020 at 11:10 AM Baolin Wang wrote: > > > > > > From: Baolin Wang > > > > > > The Spreadtrum mailbox controller supports 8 channels to

Re: [PATCH v2 6/6] security: apparmor: default KUNIT_* fragments to KUNIT_RUN_ALL

2020-05-06 Thread David Gow
On Tue, May 5, 2020 at 6:27 PM Anders Roxell wrote: > > This makes it easier to enable all KUnit fragments. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. Again, as with the other patches, might be worth revising

Re: [PATCH v2 5/6] fs: ext4: default KUNIT_* fragments to KUNIT_RUN_ALL

2020-05-06 Thread David Gow
On Tue, May 5, 2020 at 6:27 PM Anders Roxell wrote: > > This makes it easier to enable all KUnit fragments. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. As with the others, "test"->"tests", and "of"->"off". > >

[PATCH -next] ASoC: SOF: Intel: Mark cht_debugfs as __maybe_unused

2020-05-06 Thread YueHaibing
When CONFIG_SND_SOC_SOF_BAYTRAIL is not set, gcc warns: sound/soc/sof/intel/byt.c:85:41: warning: ‘cht_debugfs’ defined but not used [-Wunused-const-variable=] static const struct snd_sof_debugfs_map cht_debugfs[] = { ^~~ Reported-by: Hulk Robot

Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics

2020-05-06 Thread Stephen Rothwell
Hi Qian, On Wed, 6 May 2020 23:01:54 -0400 Qian Cai wrote: > > Andrew, Stephen, can you remove this patch from linux-next? Removed from linux-next. -- Cheers, Stephen Rothwell pgp6aRPJdbwvh.pgp Description: OpenPGP digital signature

Re: [PATCH v4] streamline_config.pl: add LMC_KEEP to preserve some kconfigs

2020-05-06 Thread Masahiro Yamada
On Sun, May 3, 2020 at 9:11 AM Changbin Du wrote: > > Sometimes it is useful to preserve batches of configs when making > localmodconfig. For example, I usually don't want any usb and fs > modules to be disabled. Now we can do it by: > > $ make LMC_KEEP="drivers/usb;fs" localmodconfig > >

Re: [PATCH v2 4/6] drivers: base: default KUNIT_* fragments to KUNIT_RUN_ALL

2020-05-06 Thread David Gow
On Tue, May 5, 2020 at 6:27 PM Anders Roxell wrote: > > This makes it easier to enable all KUnit fragments. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. As with patch 2, minor typos here. > Signed-off-by: Anders

Re: [PATCH v2 2/6] kunit: default KUNIT_* fragments to KUNIT_RUN_ALL

2020-05-06 Thread David Gow
On Tue, May 5, 2020 at 6:27 PM Anders Roxell wrote: > > This makes it easier to enable all KUnit fragments. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. nit: Should this be "turned off" rather than "turned of"

Re: [PATCH v9 0/8] Add endpoint driver for R-Car PCIe controller

2020-05-06 Thread Kishon Vijay Abraham I
Hi Prabhakar, On 5/5/2020 3:17 PM, Lad, Prabhakar wrote: > Hi Lorenzo, > > On Tue, May 5, 2020 at 10:44 AM Lorenzo Pieralisi > wrote: >> >> On Thu, Apr 30, 2020 at 09:43:20AM +0100, Lad, Prabhakar wrote: >>> Hi Kishon, >>> >>> On Thu, Apr 23, 2020 at 7:23 PM Lad Prabhakar >>> wrote:

[PATCH] platform/x86: acerhdf: replace space by * in modalias

2020-05-06 Thread Chih-Wei Huang
Using space in module alias makes it harder to parse modules.alias. Replace it by a star(*). Reviewed-by: Peter Kästle Signed-off-by: Chih-Wei Huang --- drivers/platform/x86/acerhdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/acerhdf.c

Re: [PATCH v2 3/6] lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_RUN_ALL

2020-05-06 Thread David Gow
On Tue, May 5, 2020 at 6:27 PM Anders Roxell wrote: > > This makes it easier to enable all KUnit fragments. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. > > Signed-off-by: Anders Roxell Reviewed-by: David Gow

[PATCH v2 RESEND] sched/cpuacct: Use __this_cpu_add() instead of this_cpu_ptr()

2020-05-06 Thread Muchun Song
The cpuacct_charge() and cpuacct_account_field() are called with rq->lock held, and this means preemption(and IRQs) are indeed disabled, so it is safe to use __this_cpu_*() to allow for better code-generation. Signed-off-by: Muchun Song --- Chane in v2: 1. Update changelog.

Re:[PATCH] drm/exynos: make pointer to const data const type

2020-05-06 Thread Bernard
From: Bernard Zhao Date: 2020-04-26 17:01:42 To: Inki Dae ,Joonyoung Shim ,Seung-Woo Kim ,Kyungmin Park ,David Airlie ,Daniel Vetter ,Kukjin Kim ,Krzysztof Kozlowski

Re:[PATCH] drm/meson: pm resume add return errno branch

2020-05-06 Thread Bernard
From: Bernard Zhao Date: 2020-04-28 21:17:47 To: Neil Armstrong ,David Airlie ,Daniel Vetter ,Kevin Hilman ,dri-de...@lists.freedesktop.org,linux-amlo...@lists.infradead.org,linux-arm-ker...@lists.infradead.org,linux-kernel@vger.kernel.org Cc: opensource.ker...@vivo.com,Bernard Zhao

Re: [PATCH v2 1/6] kunit: Kconfig: enable a KUNIT_RUN_ALL fragment

2020-05-06 Thread David Gow
On Wed, May 6, 2020 at 6:33 PM Anders Roxell wrote: > > Hi David, > > Thank you for the review. > > On Wed, 6 May 2020 at 07:08, David Gow wrote: > > > > On Tue, May 5, 2020 at 6:27 PM Anders Roxell > > wrote: > > > > > > Make it easier to enable all KUnit fragments. This is needed for kernel

Re: [PATCH v4 3/9] usb: dwc3: Increase timeout for CmdAct cleared by device controller

2020-05-06 Thread Jun Li
John Stultz 于2020年5月7日周四 上午6:27写道: > > On Wed, May 6, 2020 at 2:00 AM Jun Li wrote: > > John Stultz 于2019年10月30日周三 上午5:18写道: > > > On Tue, Oct 29, 2019 at 2:11 AM Felipe Balbi wrote: > > > > John Stultz writes: > > > > > From: Yu Chen > > > > > > > > > > It needs more time for the device

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

2020-05-06 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o see include/linux/module.h for more information Introduced by commit c7f66d32dd43

Re: [PATCH v2] f2fs: shrink spinlock coverage

2020-05-06 Thread Chao Yu
On 2020/5/6 23:05, Jaegeuk Kim wrote: > On 05/06, Chao Yu wrote: >> In f2fs_try_to_free_nids(), .nid_list_lock spinlock critical region will >> increase as expected shrink number increase, to avoid spining other CPUs >> for long time, it's better to implement like extent cache and nats >>

Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics

2020-05-06 Thread Qian Cai
> On May 6, 2020, at 3:06 PM, Qian Cai wrote: > > > >> On May 4, 2020, at 12:07 PM, Konstantin Khlebnikov >> wrote: >> >> To get exact count of free and used objects slub have to scan list of >> partial slabs. This may take at long time. Scanning holds spinlock and >> blocks allocations

Re: [PATCH v9 5/8] PCI: endpoint: Add support to handle multiple base for mapping outbound memory

2020-05-06 Thread Kishon Vijay Abraham I
On 4/23/2020 11:52 PM, Lad Prabhakar wrote: > R-Car PCIe controller has support to map multiple memory regions for > mapping the outbound memory in local system also the controller limits > single allocation for each region (that is, once a chunk is used from the > region it cannot be used to

Re: [PATCH v9 4/8] PCI: endpoint: Pass page size as argument to pci_epc_mem_init()

2020-05-06 Thread Kishon Vijay Abraham I
On 4/23/2020 11:52 PM, Lad Prabhakar wrote: > pci_epc_mem_init() internally used page size equal to *PAGE_SIZE* to > manage the address space so instead just pass the page size as a > argument to pci_epc_mem_init(). > > Also make pci_epc_mem_init() as a C function instead of a macro function >

RE: Re: [v4,iproute2-next 1/2] iproute2-next:tc:action: add a gate control action

2020-05-06 Thread Po Liu
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: 2020年5月6日 23:22 > To: Po Liu > Cc: dsah...@gmail.com; linux-kernel@vger.kernel.org; > net...@vger.kernel.org; vinicius.go...@intel.com; > da...@davemloft.net; v...@buslov.dev; Claudiu Manoil > ; Vladimir Oltean ; >

[rcu:tglx.2020.05.05a] BUILD REGRESSION e6d36eed49b863bbe393e3c07cae737cd9c475e3

2020-05-06 Thread kbuild test robot
defconfig powerpc rhel-kconfig powerpc allnoconfig powerpc allyesconfig powerpc alldefconfig powerpc allmodconfig m68k randconfig-a001-20200506 mips

Re: [PATCH] kernel: add panic_on_taint

2020-05-06 Thread Qian Cai
> On May 6, 2020, at 6:28 PM, Rafael Aquini wrote: > > Analogously to the introduction of panic_on_warn, this patch > introduces a kernel option named panic_on_taint in order to > provide a simple and generic way to stop execution and catch > a coredump when the kernel gets tainted by any

Re: [f2fs-dev] [PATCH] f2fs: change maximum zstd compression buffer size

2020-05-06 Thread Chao Yu
On 2020/5/6 22:56, Jaegeuk Kim wrote: > On 05/06, Chao Yu wrote: >> On 2020/5/6 7:05, Jaegeuk Kim wrote: >>> On 05/05, Chao Yu wrote: On 2020-5-4 22:30, Jaegeuk Kim wrote: > From: Daeho Jeong > > Current zstd compression buffer size is one page and header size less > than

Re: [PATCH RFC tip/core/rcu] Add shrinker to shift to fast/inefficient GP mode

2020-05-06 Thread Paul E. McKenney
On Wed, May 06, 2020 at 05:55:35PM -0700, Andrew Morton wrote: > On Wed, 6 May 2020 17:42:40 -0700 "Paul E. McKenney" > wrote: > > > This commit adds a shrinker so as to inform RCU when memory is scarce. > > RCU responds by shifting into the same fast and inefficient mode that is > > used in

[PATCH -next] drm/i2c/tda998x: Make tda998x_audio_digital_mute static

2020-05-06 Thread Samuel Zou
Fix the following sparse warning: drivers/gpu/drm/i2c/tda998x_drv.c:1136:5: warning: symbol 'tda998x_audio_digital_mute' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- drivers/gpu/drm/i2c/tda998x_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2020-05-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/display/intel_fbc.c between commit: 82152d424b6c ("Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()") from the drm-intel-fixes tree and commit: 97ed48b5c8b1

Re: [PATCH] hwspinlock: Simplify Kconfig

2020-05-06 Thread Ezequiel Garcia
Hello, On Wed, 15 Apr 2020 at 10:33, Baolin Wang wrote: > > Hi Ezequiel, > > On Wed, Apr 15, 2020 at 6:09 AM Ezequiel Garcia > wrote: > > > > Every hwspinlock driver is expected to depend on the > > hwspinlock core, so it's possible to simplify the > > Kconfig, factoring out the HWSPINLOCK

[PATCH v3] net: bpf: permit redirect from ingress L3 to egress L2 devices at near max mtu

2020-05-06 Thread Maciej Żenczykowski
From: Maciej Żenczykowski __bpf_skb_max_len(skb) is used from: bpf_skb_adjust_room __bpf_skb_change_tail __bpf_skb_change_head but in the case of forwarding we're likely calling these functions during receive processing on ingress and bpf_redirect()'ing at a later point in time to egress

[PATCH v2] KVM: SVM: Disable AVIC before setting V_IRQ

2020-05-06 Thread Suravee Suthikulpanit
The commit 64b5bd270426 ("KVM: nSVM: ignore L1 interrupt window while running L2 with V_INTR_MASKING=1") introduced a WARN_ON, which checks if AVIC is enabled when trying to set V_IRQ in the VMCB for enabling irq window. The following warning is triggered because the requesting vcpu (to

Re: linux-next: build failure after merge of the vfs tree

2020-05-06 Thread Al Viro
On Thu, May 07, 2020 at 10:39:21AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the vfs tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > fs/eventfd.c: In function 'eventfd_read': > fs/eventfd.c:226:6: error: implicit declaration of function

[PATCH -next] drm/ast: Make ast_primary_plane_helper_atomic_update static

2020-05-06 Thread Samuel Zou
Fix the following sparse warning: drivers/gpu/drm/ast/ast_mode.c:564:6: warning: symbol 'ast_primary_plane_helper_atomic_update' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- drivers/gpu/drm/ast/ast_mode.c | 5 +++-- 1 file changed, 3

Re: [PATCH v2] net: bpf: permit redirect from L3 to L2 devices at near max mtu

2020-05-06 Thread Maciej Żenczykowski
> > I thought we have established that checking device MTU (m*T*u) > > at ingress makes a very limited amount of sense, no? > > > > Shooting from the hip here, but won't something like: > > > > if (!skb->dev || skb->tc_at_ingress) > > return SKB_MAX_ALLOC; > > return skb->dev->mtu

[PATCH -next] soc: fsl_asrc: Make some functions static

2020-05-06 Thread ChenTao
Fix the following warning: sound/soc/fsl/fsl_asrc.c:157:5: warning: symbol 'fsl_asrc_request_pair' was not declared. Should it be static? sound/soc/fsl/fsl_asrc.c:200:6: warning: symbol 'fsl_asrc_release_pair' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: ChenTao

RE: [EXT] Re: [v4,iproute2-next 1/2] iproute2-next:tc:action: add a gate control action

2020-05-06 Thread Po Liu
Hi Davide, > -Original Message- > From: Davide Caratti > Sent: 2020年5月6日 20:54 > To: Po Liu ; dsah...@gmail.com; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Cc: vinicius.go...@intel.com; step...@networkplumber.org; > da...@davemloft.net; v...@buslov.dev; Claudiu Manoil > ;

Re: [RESEND PATCH] KVM: x86/pmu: Support full width counting

2020-05-06 Thread Xu, Like
Hi Paolo, Thanks for your comments! On 2020/5/5 0:57, Paolo Bonzini wrote: On 27/04/20 09:19, Like Xu wrote: + if (vmx_supported_perf_capabilities()) + kvm_cpu_cap_check_and_set(X86_FEATURE_PDCM); I think we can always set it, worst case it will be zero. Sure,  we could

RE: [PATCH] ASoC: Intel: sst: ipc command timeout

2020-05-06 Thread Lu, Brent
> > Looks there is race between the previous stream stop and the current > stream start here. Can you help try changing the > sst_byt_stream_start/stop() from 'nowait' mode to 'wait' mode, and see if > the issue can be reproduced with it? Hi Keyon, Kernel panic if the mode is changed. The

  1   2   3   4   5   6   7   8   9   10   >