Re: [PATCH v2 3/3] phy: qcom-qmp: Add SM8150 QMP UFS PHY support

2019-09-18 Thread Vinod Koul
On 18-09-19, 17:08, Marc Gonzalez wrote: > On 06/09/2019 07:10, Vinod Koul wrote: > > + QMP_PHY_INIT_CFG(QSERDES_COM_V4_LOCK_CMP2_MODE1, 0x0f), > > + QMP_PHY_INIT_CFG(QSERDES_COM_V4_BIN_VCOCAL_CMP_CODE1_MODE1, 0xdd), > > + QMP_PHY_INIT_CFG(QSERDES_COM_V4_BIN_VCOCAL_CMP_CODE2_MODE1, 0x23), >

stable backport for dc8635b78cd8669

2019-09-18 Thread Vineet Gupta
Hi Stable team, Can we please backport dc8635b78cd8669c37e230058d18c33af7451ab1 ("kernel/exit.c: export abort() to modules") 0-Day kernel test infra reports ARC 4.x.y builds failing after backport of af1be2e21203867cb958aace ("ARC: handle gcc generated __builtin_trap for older compiler") Thx -Vi

[GIT PULL] SafeSetID LSM changes for 5.4

2019-09-18 Thread Micah Morton
The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b: Linux 5.3-rc2 (2019-07-28 12:47:02 -0700) are available in the Git repository at: https://github.com/micah-morton/linux.git tags/safesetid-bugfix-5.4 for you to fetch changes up to 21ab8580b383f27b7f59b84ac1699cb26

Re: [PATCH v2 2/2] EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC

2019-09-18 Thread James Morse
Hi Talel, On 15/09/2019 07:43, Talel Shenhar wrote: > The Amazon's Annapurna Labs Memory Controller EDAC supports ECC capability > for error detection and correction (Single bit error correction, Double > detection). This driver introduces EDAC driver for that capability. Is there any documentati

Re: [PATCH] x86/mm: Remove set_pages_x() and set_pages_nx()

2019-09-18 Thread Larry Finger
On 9/18/19 11:45 AM, Christoph Hellwig wrote: On Wed, Sep 18, 2019 at 11:41:21AM -0500, Larry Finger wrote: In commit 185be15143aa ("x86/mm: Remove set_pages_x() and set_pages_nx()"), the wrappers were removed as they did not provide a real benefit over set_memory_x() and set_memory_nx(). This c

[PATCH v10 0/6] mm / virtio: Provide support for unused page reporting

2019-09-18 Thread Alexander Duyck
This series provides an asynchronous means of reporting to a hypervisor that a guest page is no longer in use and can have the data associated with it dropped. To do this I have implemented functionality that allows for what I am referring to as unused page reporting. The advantage of unused page r

[PATCH v10 1/6] mm: Adjust shuffle code to allow for future coalescing

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck Move the head/tail adding logic out of the shuffle code and into the __free_one_page function since ultimately that is where it is really needed anyway. By doing this we should be able to reduce the overhead and can consolidate all of the list addition bits in one spot. Ack

[PATCH v10 3/6] mm: Introduce Reported pages

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck In order to pave the way for free page reporting in virtualized environments we will need a way to get pages out of the free lists and identify those pages after they have been returned. To accomplish this, this patch adds the concept of a Reported Buddy, which is essentiall

[PATCH v10 2/6] mm: Use zone and order instead of free area in free_list manipulators

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck In order to enable the use of the zone from the list manipulator functions I will need access to the zone pointer. As it turns out most of the accessors were always just being directly passed &zone->free_area[order] anyway so it would make sense to just fold that into the fu

[PATCH v10 5/6] virtio-balloon: Pull page poisoning config out of free page hinting

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck Currently the page poisoning setting wasn't being enabled unless free page hinting was enabled. However we will need the page poisoning tracking logic as well for unused page reporting. As such pull it out and make it a separate bit of config in the probe function. In addit

Re: [PATCH v3 2/3] dt-bindings: clk: qcom: Add YAML schemas for the GCC clock bindings

2019-09-18 Thread Matthias Kaehlcke
Hi Taniya, not a full review, just a couple of things I noticed, comments inline. On Wed, Sep 18, 2019 at 03:20:17PM +0530, Taniya Das wrote: > The GCC clock provider have a bunch of generic properties that > are needed in a device tree. Add a YAML schemas for those. Also update > the compatible

[PATCH v10 4/6] mm: Add device side and notifier for unused page reporting

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck With this patch we are adding the pieces needed to enable the reporting of pages to a specific device. That device needs to register a page reporting device that can be used to handle notifications that that pages are unused. Registering the device will in turn enable the n

Re: [PATCH] x86/mm: Remove set_pages_x() and set_pages_nx()

2019-09-18 Thread Christoph Hellwig
On Wed, Sep 18, 2019 at 12:49:56PM -0500, Larry Finger wrote: > Is there approved way for pages to be set to be executable by an external > module that would not be a security issue? There is approved way for modules to set kernel code executable, because well they shouldn't. And as stated many

[PATCH v2] usb-storage: SCSI glue: use pr_fmt and pr_err

2019-09-18 Thread Matthias Maennich
Follow common practice and retire printk(KERN_ERR ...) in favor of pr_fmt and dev_err(). Cc: Alan Stern Cc: Greg Kroah-Hartman Cc: usb-stor...@lists.one-eyed-alien.net Signed-off-by: Matthias Maennich --- drivers/usb/storage/scsiglue.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-

[PATCH v10 6/6] virtio-balloon: Add support for providing unused page reports to host

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck Add support for the page reporting feature provided by virtio-balloon. Reporting differs from the regular balloon functionality in that is is much less durable than a standard memory balloon. Instead of creating a list of pages that cannot be accessed the pages are only inac

[PATCH v10 QEMU 2/3] virtio-balloon: Add bit to notify guest of unused page reporting

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck Add a bit for the page reporting feature provided by virtio-balloon. This patch should be replaced once the feature is added to the Linux kernel and the bit is backported into this exported kernel header. Signed-off-by: Alexander Duyck --- include/standard-headers/linux/

[PATCH v10 QEMU 1/3] virtio-ballon: Implement support for page poison tracking feature

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck We need to make certain to advertise support for page poison tracking if we want to actually get data on if the guest will be poisoning pages. So if free page hinting is active we should add page poisoning support and let the guest disable it if it isn't using it. Page pois

Re: [PATCH] x86/mm: Remove set_pages_x() and set_pages_nx()

2019-09-18 Thread Linus Torvalds
On Wed, Sep 18, 2019 at 10:50 AM Larry Finger wrote: > > Is there approved way for pages to be set to be executable by an external > module > that would not be a security issue? Point to what external module and why. Honestly, the likely answer is simply "no". Why would an external module ever

[PATCH v10 QEMU 3/3] virtio-balloon: Provide a interface for unused page reporting

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck Add support for what I am referring to as "unused page reporting". Basically the idea is to function very similar to how the balloon works in that we basically end up madvising the page as not being used. However we don't really need to bother with any deflate type logic sin

Re: [PATCH v3 1/2] x86: Don't let pgprot_modify() change the page encryption bit

2019-09-18 Thread Dave Hansen
On 9/17/19 6:01 AM, Thomas Hellström (VMware) wrote: > diff --git a/arch/x86/include/asm/pgtable_types.h > b/arch/x86/include/asm/pgtable_types.h > index b5e49e6bac63..8267dd426b15 100644 > --- a/arch/x86/include/asm/pgtable_types.h > +++ b/arch/x86/include/asm/pgtable_types.h > @@ -123,7 +123,7 @

Re: [PATCH v10 5/6] virtio-balloon: Pull page poisoning config out of free page hinting

2019-09-18 Thread Michael S. Tsirkin
On Wed, Sep 18, 2019 at 10:53:05AM -0700, Alexander Duyck wrote: > From: Alexander Duyck > > Currently the page poisoning setting wasn't being enabled unless free page > hinting was enabled. However we will need the page poisoning tracking logic > as well for unused page reporting. As such pull i

Re: [PATCH v4 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-18 Thread Catalin Marinas
On Wed, Sep 18, 2019 at 05:00:27PM +0300, Kirill A. Shutemov wrote: > On Wed, Sep 18, 2019 at 09:19:14PM +0800, Jia He wrote: > > @@ -2152,20 +2163,34 @@ static inline void cow_user_page(struct page *dst, > > struct page *src, unsigned lo > > */ > > if (unlikely(!src)) { > > v

Re: [PATCH] mmc: host: atmel-mci: assign false/true to bool variable

2019-09-18 Thread Alexandre Belloni
Hello, On 18/09/2019 22:58:23+0530, Saiyam Doshi wrote: > Use false/true instead of 0/1 in bool variable assignment. > > This fixes below coccicheck warning. > "WARNING: Assignment of 0/1 to bool variable" > > Generated by: scripts/coccinelle/misc/boolinit.cocci > > More information about seman

[PATCH] mmc: host: bcm2835: use devm_platform_ioremap_resource wrapper

2019-09-18 Thread Saiyam Doshi
Use devm_platform_ioremap_resource helper which wraps platform_get_resource() and devm_ioremap_resource() together. Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Saiyam

Re: [PATCH v10 5/6] virtio-balloon: Pull page poisoning config out of free page hinting

2019-09-18 Thread Alexander Duyck
On Wed, 2019-09-18 at 13:58 -0400, Michael S. Tsirkin wrote: > On Wed, Sep 18, 2019 at 10:53:05AM -0700, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Currently the page poisoning setting wasn't being enabled unless free page > > hinting was enabled. However we will need the page poiso

[PATCH v2] net: dsa: sja1105: prevent leaking memory

2019-09-18 Thread Navid Emamdoost
In sja1105_static_config_upload, in two cases memory is leaked: when static_config_buf_prepare_for_upload fails and when sja1105_inhibit_tx fails. In both cases config_buf should be released. Fixes: 8aa9ebccae876 (avoid leaking config_buf) Fixes: 1a4c69406cc1c (avoid leaking config_buf) Signed-of

Re: [PATCH 1/4] seccomp: add SECCOMP_RET_USER_NOTIF_ALLOW

2019-09-18 Thread Tycho Andersen
On Wed, Sep 18, 2019 at 10:30:00AM -0700, Kees Cook wrote: > On Wed, Sep 18, 2019 at 10:48:30AM +0200, Christian Brauner wrote: > > This allows the seccomp notifier to continue a syscall. A positive > > discussion about this feature was triggered by a post to the > > ksummit-discuss mailing list (c

[PATCH] iwlwifi: fix a potential NULL pointer dereference

2019-09-18 Thread Allen Pais
alloc_workqueue is not checked for errors and as a result, a potential NULL dereference could occur. Signed-off-by: Allen Pais --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/n

[PATCH v2] nvme-pci: Save PCI state before putting drive into deepest state

2019-09-18 Thread Mario Limonciello
The action of saving the PCI state will cause numerous PCI configuration space reads which depending upon the vendor implementation may cause the drive to exit the deepest NVMe state. In these cases ASPM will typically resolve the PCIe link state and APST may resolve the NVMe power state. However

Re: [PATCH] x86/mm: Remove set_pages_x() and set_pages_nx()

2019-09-18 Thread Larry Finger
On 9/18/19 12:53 PM, Linus Torvalds wrote: On Wed, Sep 18, 2019 at 10:50 AM Larry Finger wrote: Is there approved way for pages to be set to be executable by an external module that would not be a security issue? Point to what external module and why. Honestly, the likely answer is simply "

Re: [GIT PULL] Urgent KVM fix

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 16:22:33 +0200: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus-urgent has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/404e634fdb96a3c99c7517353bfafbd88e04ab41 Thank you! -- Deet-doot-dot, I am a bot. htt

Re: [GIT PULL] USB patches for 5.4-rc1

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 13:47:05 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c6b48dad92aedaa9bdc013ee495cb5b1bbdf1f11 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Staging/IIO driver patches for 5.4-rc1

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 13:47:54 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e6874fc29410fabfdbc8c12b467f41a16cbcfd2b Thank you! -- Deet-doot-d

Re: [GIT PULL] Driver core patches for 5.4-rc1

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 13:48:14 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > tags/driver-core-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1f7d290a7275edb270dbee13212c37cb59940221 Thank you! -- Dee

Re: [GIT PULL] Char/Misc driver patches for 5.4-rc1

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 13:48:55 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6cfae0c26b21dce323fe8799b66cf4bc996e3565 Thank you! -- Deet-do

Re: [GIT PULL] First batch of KVM changes for Linux 5.4

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 18:54:41 +0200: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fe38bd6862074c0a2b9be7f31f043aaa70b2af5f Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [GIT PULL] TTY/Serial patches for 5.4-rc1

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 13:47:26 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e444d51b14c4795074f485c79debd234931f0e49 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH 1/5] leds: lm3692x: Print error value on dev_err

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: This gives a way better idea what is going on. Signed-off-by: Guido Günther Reviewed-by: Dan Murphy --- drivers/leds/leds-lm3692x.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/leds/leds-l

Re: [PATCH V2 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-18 Thread Gerald Schaefer
On Wed, 18 Sep 2019 18:26:03 +0200 Christophe Leroy wrote: [..] > My suggestion was not to completely drop the #ifdef but to do like you > did in pgd_clear_tests() for instance, ie to add the following test on > top of the function: > > if (mm_pud_folded(mm) || is_defined(__ARCH_HAS_5LE

Re: [GIT PULL] Staging/IIO driver patches for 5.4-rc1

2019-09-18 Thread Christoph Hellwig
Just as a note of record: I don't think either file system move is a good idea. erofs still needs a lot of work, especially in interacting with the mm code like abusing page->mapping. exfat is just a random old code drop from Samsung hastily picked up, and also duplicating the fat16/32 functiona

Re: [PATCH] regulator: dt-bindings: Fix building error for dt_binding_check

2019-09-18 Thread Pragnesh Patel
On Wed, Sep 18, 2019 at 7:58 PM Rob Herring wrote: > > On Wed, Sep 18, 2019 at 9:02 AM Pragnesh Patel > wrote: > > > > The subject could be more specific rather than being one that applies > to any dt_binding_check breakage in regulators. > Thanks for pointing me out, I will take care this in fu

Re: [PATCH 2/5] leds: lm3692x: Don't overwrite return value in error path

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: The driver currently reports successful initialization on every failure as long as it's able to power off the regulator. Don't check the return value of regulator_disable to avoid that. Signed-off-by: Guido Günther --- drivers/leds/leds-lm3692x.

[PATCH v1 4/5] staging: fieldbus core: add support for FL-NET devices

2019-09-18 Thread Sven Van Asbroeck
Add the FL-NET device type to the fieldbus core. Signed-off-by: Sven Van Asbroeck --- .../fieldbus/Documentation/ABI/sysfs-class-fieldbus-dev| 1 + drivers/staging/fieldbus/dev_core.c| 3 +++ drivers/staging/fieldbus/fieldbus_dev.h| 1 +

[PATCH v1 5/5] staging: fieldbus: add support for HMS FL-NET industrial controller

2019-09-18 Thread Sven Van Asbroeck
The Anybus-S FL-NET provides full FL-NET Class 1 functionality via the patented Anybus-S application interface. Any device supporting this standard can take advantage of the features offered by the module, providing seamless network integration regardless of network type. FL-NET is a control netwo

[PATCH v1 1/5] staging: fieldbus core: remove unused strings

2019-09-18 Thread Sven Van Asbroeck
Remove two unused static const strings - a leftover from a previous stage. Interestingly, neither gcc nor sparse warned about their presence. Signed-off-by: Sven Van Asbroeck --- drivers/staging/fieldbus/dev_core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/fieldbus/de

[PATCH v1 0/5] Introduce fieldbus_dev configuration interface

2019-09-18 Thread Sven Van Asbroeck
Introduce a (userspace) config interface for fieldbus_dev. Add support for the HMS FL-NET controller, which requires config support, and is its first in-kernel user. Sven Van Asbroeck (5): staging: fieldbus core: remove unused strings staging: fieldbus: move "offline mode" definition t

[PATCH v1 2/5] staging: fieldbus: move "offline mode" definition to fieldbus core

2019-09-18 Thread Sven Van Asbroeck
anybus-s cards use the "offline mode" property to determine if process memory should be clear, set, or frozen when the card is offline. Move this property to the fieldbus core, so that it can become part of the future fieldbus config interface. Signed-off-by: Sven Van Asbroeck --- drivers/stagi

[PATCH v1 3/5] staging: fieldbus core: add support for device configuration

2019-09-18 Thread Sven Van Asbroeck
Support device configuration by adding - an in-kernel driver config API, and - a configfs-based userspace config ABI In short, drivers pick a subset from a set of standardized config properties. This is exposed by the fieldbus core as configfs files. Userspace may then configure the device by wri

Re: [PATCH 3/5] leds: lm3692x: Handle failure to probe the regulator

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: Instead use devm_regulator_get_optional since the regulator is optional and check for errors. Signed-off-by: Guido Günther --- drivers/leds/leds-lm3692x.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/l

Re: [PATCH v2] usb-storage: SCSI glue: use pr_fmt and pr_err

2019-09-18 Thread Alan Stern
On Wed, 18 Sep 2019, Matthias Maennich wrote: > Follow common practice and retire printk(KERN_ERR ...) in favor of > pr_fmt and dev_err(). > > Cc: Alan Stern > Cc: Greg Kroah-Hartman > Cc: usb-stor...@lists.one-eyed-alien.net > Signed-off-by: Matthias Maennich > --- > drivers/usb/storage/scsi

Re: [PATCH v2] pwm: stm32-lp: add check in case requested period cannot be achieved

2019-09-18 Thread Uwe Kleine-König
On Wed, Sep 18, 2019 at 04:54:21PM +0200, Fabrice Gasnier wrote: > LPTimer can use a 32KHz clock for counting. It depends on clock tree > configuration. In such a case, PWM output frequency range is limited. > Although unlikely, nothing prevents user from requesting a PWM frequency > above counting

[PATCH] soc: ixp4xx: qmgr: Use devm_platform_ioremap_resource() in ixp4xx_qmgr_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 20:33:27 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 6 +- 1 file changed, 1 insert

Re: [PATCH 4/5] leds: lm3692x: Use flags from LM3692X_BOOST_CTRL

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: The current setup of LM3692X_BOOST_CTRL uses flags from LM3692X_BRT_CTRL. Use flags from LM3692X_BOOST_CTRL but leave the resulting register value unchanged. Signed-off-by: Guido Günther Reviewed-by: Dan Murphy --- drivers/leds/leds-lm3692x.c

Re: [PATCH 5/5] leds: lm3692x: Use flags from LM3692X_BRT_CTRL

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: Use LM3692X_RAMP_EN instead of LM3692X_PWM_HYSTER_4LSB since the later is a flag for the PWM register. The actual register value remains unchanged. Signed-off-by: Guido Günther Reviewed-by: Dan Murphy --- drivers/leds/leds-lm3692x.c | 2 +-

[PATCH] tty: serial: linflexuart: Fix magic SysRq handling

2019-09-18 Thread Stefan-gabriel Mirea
Following an incorrect indentation reported to me by Dan Carpenter, I noticed that the SysRq lines were inherited from the lpuart driver[1] (note how the 'continue' is aligned to 'sport->port.sysrq = 0') and we have never actually tested the SysRq support. 'sport->sysrq = 0' is not necessary neith

[PATCH] of: Add of_get_memory_prop()

2019-09-18 Thread Raghavendra Rao Ananta
On some embedded systems, the '/memory' dt-property gets updated by the bootloader (for example, the DDR configuration) and then gets passed onto the kernel. The device drivers may have to read the properties at runtime to make decisions. Hence, add of_get_memory_prop() for the device drivers to qu

Re: [PATCH] sample: vfio mdev display - Fix a missing error code in an error handling path

2019-09-18 Thread Alex Williamson
On Mon, 16 Sep 2019 22:22:40 +0200 Christophe JAILLET wrote: > 'ret' is known to be 0 at this point. So explicitly set it to -ENOMEM if > 'framebuffer_alloc()' fails. > > Signed-off-by: Christophe JAILLET > --- > samples/vfio-mdev/mdpy-fb.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deleti

Re: [GIT PULL] Staging/IIO driver patches for 5.4-rc1

2019-09-18 Thread Greg KH
On Wed, Sep 18, 2019 at 11:24:12AM -0700, Christoph Hellwig wrote: > Just as a note of record: I don't think either file system move > is a good idea. erofs still needs a lot of work, especially in > interacting with the mm code like abusing page->mapping. At least it is special-purpose "read on

Re: [PATCH 0/2] Reset realtek bluetooth devices during user suspend

2019-09-18 Thread Alan Stern
On Wed, 18 Sep 2019, Abhishek Pandit-Subedi wrote: > Sorry, last reply went out with HTML. Re-sending in plain text. > > On Wed, Sep 18, 2019 at 7:23 AM Alan Stern wrote: > > > > On Tue, 17 Sep 2019, Abhishek Pandit-Subedi wrote: > > > > > On a Realtek USB bluetooth device, I wanted a simple and

Re: [GIT PULL] LED updates for 5.4-rc1

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 10:09:57AM -0700, Linus Torvalds wrote: > On Wed, Sep 18, 2019 at 9:53 AM Linus Torvalds > wrote: > > > > I think (hope) the fixup commit is in one of Greg's pull requests that > > are now pending in my queue. > > Yup, confirmed. Good, glad the fixup is now handled proper

Re: [PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories

2019-09-18 Thread Krzysztof Kozlowski
On Mon, 16 Sep 2019 at 12:07, Lukasz Luba wrote: > > Add compatible for Samsung k3qf2f20db LPDDR3 memory bindings. > Introduce minor fixes in the old documentation. > > Signed-off-by: Lukasz Luba > --- > Documentation/devicetree/bindings/ddr/lpddr3.txt | 9 ++--- > 1 file changed, 6 insertio

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

2019-09-18 Thread Greg KH
On Wed, Sep 18, 2019 at 06:09:52PM +0100, Mark Brown wrote: > Hi all, > > After merging the driver-core tree, today's linux-next build > for arm64 allmodconfig failed like this: > > /home/broonie/next/next/drivers/i2c/i2c-core-acpi.c: In function > 'i2c_acpi_find_adapter_by_handle': > /home/broo

[PATCH] devlink: add devlink notification for recovery

2019-09-18 Thread Sheetal Tigadoli
From: Vikas Gupta Add a devlink notification for reporter recovery Signed-off-by: Vikas Gupta Signed-off-by: Sheetal Tigadoli --- net/core/devlink.c | 25 + 1 file changed, 25 insertions(+) diff --git a/net/core/devlink.c b/net/core/devlink.c index e48680e..42909fb 10

Re: [PATCH v2 1/3] memory: Exynos5422: minor fixes in DMC

2019-09-18 Thread Krzysztof Kozlowski
On Mon, Sep 16, 2019 at 12:07:02PM +0200, Lukasz Luba wrote: > Small fixes for issues captured by static analyzes: > used kfree() insead of devm_kfree() and missing 'static' in the private > function. > Checks which show the issues: > - drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_

Re: [PATCH v2 2/3] ARM: dts: exynos: fix too long line in memory device

2019-09-18 Thread Krzysztof Kozlowski
On Mon, Sep 16, 2019 at 12:07:03PM +0200, Lukasz Luba wrote: > Small fix moving the comment to line above making sure the lines do not > exceed 80 characters. > > Signed-off-by: Lukasz Luba > --- > arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 3 ++- Thanks, applied (squashed with previous).

Re: stable backport for dc8635b78cd8669

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 10:40:32AM -0700, Vineet Gupta wrote: > Hi Stable team, > > Can we please backport dc8635b78cd8669c37e230058d18c33af7451ab1 > ("kernel/exit.c: > export abort() to modules") > > 0-Day kernel test infra reports ARC 4.x.y builds failing after backport of > af1be2e21203867cb9

Re: [PATCH][next] memory: exynos5422: fix spelling mistake "counld" -> "could"

2019-09-18 Thread Krzysztof Kozlowski
On Mon, Sep 16, 2019 at 10:12:49AM +0100, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a dev_err message. Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/memory/samsung/exynos5422-dmc.c | 2 +- Thanks, applied. Best regards, Krzysztof

Re: general protection fault in usb_set_interface

2019-09-18 Thread Alan Stern
On Tue, 17 Sep 2019, syzbot wrote: > Hello, > > syzbot has tested the proposed patch but the reproducer still triggered > crash: > WARNING in sysfs_remove_group > > [ cut here ] > sysfs group 'power' not found for kobject 'radio0' Andrey: Is there any way to tell syzb

Re: [GIT PULL] LED updates for 5.4-rc1

2019-09-18 Thread Jacek Anaszewski
On 9/18/19 9:23 AM, Andy Shevchenko wrote: > On Wed, Sep 18, 2019 at 10:16 AM Linus Torvalds > wrote: >> >> On Tue, Sep 17, 2019 at 6:13 PM Linus Torvalds >> wrote: >>> >>> So this is fine and I've pulled it, >> >> Famous last words. I now get a new warning: >> >> drivers/i2c/i2c-core-acpi.c:347:

[PATCH] sched/fair: fix -Wunused-but-set-variable warnings

2019-09-18 Thread Qian Cai
The commit de53fd7aedb1 ("sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices") introduced a few compilation warnings: kernel/sched/fair.c: In function '__refill_cfs_bandwidth_runtime': kernel/sched/fair.c:4365:6: warning: variable 'now' set but not us

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

2019-09-18 Thread Linus Torvalds
On Wed, Sep 18, 2019 at 11:53 AM Greg KH wrote: > > On Wed, Sep 18, 2019 at 06:09:52PM +0100, Mark Brown wrote: > > > > After merging the driver-core tree, today's linux-next build > > for arm64 allmodconfig failed like this: > > Wait, I thought Linus said this fixup was now resolved. What went >

Re: [v7 1/2] mtd: rawnand: Add new Cadence NAND driver to MTD subsystem (fwd)

2019-09-18 Thread Julia Lawall
mething to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190917] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Piotr-Sroka/mtd-rawnand-Add-new-Cadence-NAND-

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

2019-09-18 Thread Greg KH
On Wed, Sep 18, 2019 at 12:03:17PM -0700, Linus Torvalds wrote: > On Wed, Sep 18, 2019 at 11:53 AM Greg KH wrote: > > > > On Wed, Sep 18, 2019 at 06:09:52PM +0100, Mark Brown wrote: > > > > > > After merging the driver-core tree, today's linux-next build > > > for arm64 allmodconfig failed like th

[PATCH] staging: mt7621-pci-phy: Use devm_platform_ioremap_resource() in mt7621_pci_phy_probe()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 21:01:32 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c | 10 +- 1 fi

Re: [PATCH 4.19 00/50] 4.19.74-stable review

2019-09-18 Thread Naresh Kamboju
On Wed, 18 Sep 2019 at 11:53, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.74 release. > There are 50 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

[PATCH] devfreq: Add tracepoint for frequency changes

2019-09-18 Thread Matthias Kaehlcke
Add a tracepoint for frequency changes of devfreq devices and use it. Signed-off-by: Matthias Kaehlcke --- drivers/devfreq/devfreq.c | 3 +++ include/trace/events/devfreq.h | 18 ++ 2 files changed, 21 insertions(+) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/

Re: [PATCH] mfd: mt6360: add pmic mt6360 driver

2019-09-18 Thread kbuild test robot
pecify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Gene-Chen/mfd-mt6360-add-pmic-mt6360-driver/20190918-181850 config: x86_64-randconfig-s0-201937 (attached as .config) compiler: gcc-7 (Debian 7.4.0-13) 7.4.0

Re: [PATCH 1/3] cpuidle: play_idle: Make play_idle more flexible

2019-09-18 Thread Mathieu Poirier
On Mon, Sep 09, 2019 at 04:50:13PM +0200, Daniel Lezcano wrote: > The play_idle function has two users, the intel powerclamp and the > idle_injection. > > The idle injection cooling device uses the function via the > idle_injection powercap's APIs. Unfortunately, play_idle is currently > limited b

Re: [PATCH 2/3] cpuidle: play_idle: Specify play_idle with an idle state

2019-09-18 Thread Mathieu Poirier
On Mon, Sep 09, 2019 at 04:50:14PM +0200, Daniel Lezcano wrote: > Currently, the play_idle function does not allow to tell which idle > state we want to go. Improve this by passing the idle state as > parameter to the function. > > There is no functional changes, the cpuidle state is the deepest o

Re: Linux 5.3-rc8

2019-09-18 Thread Linus Torvalds
On Wed, Sep 18, 2019 at 2:33 AM Rasmus Villemoes wrote: > > And unrelated to the non-use of the RTC (which I agree seems weird), but > because there's no better place in this thread: How "random" is the > contents of RAM after boot? It varies all over the place. Some machines will most definitel

Re: [PATCH v4 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-18 Thread kbuild test robot
/fix-double-page-fault-on-arm64/20190918-220036 config: arm64-allnoconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save

Re: [PATCH 3/3] powercap/drivers/idle_inject: Specify the idle state to inject

2019-09-18 Thread Mathieu Poirier
On Mon, Sep 09, 2019 at 04:50:15PM +0200, Daniel Lezcano wrote: > Currently the idle injection framework only allows to inject the > deepest idle state available on the system. > > Give the opportunity to specify which idle state we want to inject by > adding a new function helper to set the state

Re: [PATCH 4.14 00/45] 4.14.145-stable review

2019-09-18 Thread Guenter Roeck
On Wed, Sep 18, 2019 at 08:18:38AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.145 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 kno

Re: [PATCH 5.2 00/85] 5.2.16-stable review

2019-09-18 Thread Guenter Roeck
On Wed, Sep 18, 2019 at 08:18:18AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.16 release. > There are 85 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.

Re: [PATCH 4.19 00/50] 4.19.74-stable review

2019-09-18 Thread Guenter Roeck
On Wed, Sep 18, 2019 at 08:18:43AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.74 release. > There are 50 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

Re: [PATCH v3 3/5] memremap: Add support for read-only memory mappings

2019-09-18 Thread Evan Green
On Tue, Sep 10, 2019 at 9:09 AM Stephen Boyd wrote: > > Sometimes we have memories that are supposed to be read-only, but when > we map these regions the best we can do is map them as write-back with > MEMREMAP_WB. Introduce a read-only memory mapping (MEMREMAP_RO) that > allows us to map reserved

Re: [PATCH] block: Fix implicit unsigned to signed conversion

2019-09-18 Thread Chaitanya Kulkarni
Since this is a conceptual error and will not cause any bug not sure if this needed as things are not leading to any bugs. However cleanup is helpful in avoiding any confusion. Looks good to me. Reviewed-by: Chaitanya Kulkarni On 09/18/2019 03:39 AM, Alessio Balsini wrote: > An unsigned intege

[PATCH] dt-bindings: display: imx: fix native-mode setting

2019-09-18 Thread Martin Kaiser
According to Documentation/devicetree/bindings/display/panel/display-timing.txt, native-mode is a property of the display-timings node. If it's located outside of display-timings, the native-mode setting is ignored and the first display timing is used. We've already fixed the board definitions wh

Re: [PATCH v3 5/5] soc: qcom: cmd-db: Map with read-only mappings

2019-09-18 Thread Evan Green
On Tue, Sep 10, 2019 at 9:09 AM Stephen Boyd wrote: > > The command DB is read-only already to the kernel because everything is > const marked once we map it. Let's go one step further and try to map > the memory as read-only in the page tables. This should make it harder > for random code to corr

[PATCH] thermal: st: Use devm_platform_ioremap_resource() in st_mmap_regmap_init()

2019-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2019 21:32:14 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/thermal/st/st_thermal_memmap.c | 9 + 1 file changed,

VERY IMPORTANT /TREAT AND REPLY URGENT

2019-09-18 Thread MRS MARIAM ORWA
Hello My Dear Friend, With due respect to your person and much sincerity of purpose, It’s my pleasure to write you today, I am Mrs Mariam Orwa, I work in a bank. and I get your contact from internet search I hope that you will not expose or betray this trust and confident that am about to repose

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2019-09-18 Thread J. Bruce Fields
On Wed, Sep 18, 2019 at 11:07:31AM +0200, Miklos Szeredi wrote: > On Fri, May 10, 2019 at 04:09:41PM -0400, J. Bruce Fields wrote: > > On Tue, May 07, 2019 at 10:24:58AM +1000, NeilBrown wrote: > > > Interesting perspective though doesn't NFSv4 explicitly allow > > > client-side ACL enforcemen

Re: [alsa-devel] [RFC PATCH 8/9] soundwire: intel: remove platform devices and provide new interface

2019-09-18 Thread Greg KH
On Wed, Sep 18, 2019 at 10:14:51AM -0500, Pierre-Louis Bossart wrote: > On 9/18/19 8:54 AM, Greg KH wrote: > > On Wed, Sep 18, 2019 at 03:53:02PM +0200, Greg KH wrote: > > > On Wed, Sep 18, 2019 at 08:48:33AM -0500, Pierre-Louis Bossart wrote: > > > > On 9/18/19 7:06 AM, Greg KH wrote: > > > > > On

Re: [GIT] Networking

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Wed, 18 Sep 2019 00:39:03 +0200 (CEST): > (unable to parse the git remote) has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/81160dda9a7aad13c04e78bb2cfd3c4630e3afab Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/user

[PATCH] stmmac: selftest: avoid large stack usage

2019-09-18 Thread Arnd Bergmann
Putting a struct stmmac_rss object on the stack is a bad idea, as it exceeds the warning limit for a stack frame on 32-bit architectures: drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1221:12: error: stack frame size of 1208 bytes in function '__stmmac_test_l3filt' [-Werror,-Wframe-larg

Re: [GIT PULL] Crypto Update for 5.4

2019-09-18 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 18:49:01 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8b53c76533aa4356602aea98f98a2f3b4051464c Thank you! -- Deet-doot-dot, I am a bot

[PATCH] dynamic_debug: provide dynamic_hex_dump stub

2019-09-18 Thread Arnd Bergmann
The ionic driver started using dymamic_hex_dump(), but that is not always defined: drivers/net/ethernet/pensando/ionic/ionic_main.c:229:2: error: implicit declaration of function 'dynamic_hex_dump' [-Werror,-Wimplicit-function-declaration] Add a dummy implementation to use when CONFIG_DYNAMIC_D

Re: Linux 5.3-rc8

2019-09-18 Thread Eric W. Biederman
Lennart Poettering writes: > On Di, 17.09.19 09:23, Linus Torvalds (torva...@linux-foundation.org) wrote: > >> On Tue, Sep 17, 2019 at 9:08 AM Lennart Poettering >> wrote: >> > >> > Here's what I'd propose: >> >> So I think this is ok, but I have another proposal. Before I post that >> one, tho

Re: [PATCH v6 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-18 Thread Greg KH
On Wed, Sep 18, 2019 at 12:09:12PM -0500, Dan Murphy wrote: > Greg > > > > > +static int led_multicolor_init_color(struct led_classdev_mc_data *data, > > +struct led_classdev_mc *mcled_cdev, > > +int color_id, int color_index) > > +

[PATCH] platform/x86: asus-wmi: add ACPI_BATTERY dependency

2019-09-18 Thread Arnd Bergmann
Without this dependency, we can run into a link failure: drivers/platform/x86/asus-wmi.o: In function `asus_wmi_remove': asus-wmi.c:(.text+0x430): undefined reference to `battery_hook_unregister' drivers/platform/x86/asus-wmi.o: In function `asus_wmi_probe': asus-wmi.c:(.text+0x2c6f): undefined re

<    1   2   3   4   5   6   7   8   9   >