[PATCH v2 0/2] clk: meson: axg-audio: add reset support

2019-08-12 Thread Jerome Brunet
This patchset adds support for the reset provided in the register space of the g12a audio clock controller Changes since v1 [0]: * Fix typo reported by Stephen [0]: https://lkml.kernel.org/r/20190703122614.3579-1-jbru...@baylibre.com Jerome Brunet (2): dt-bindings: clock: meson: add resets to

Re: [PATCH V4 1/4] dt-bindings: arm: imx: Add the soc binding for i.MX8MN

2019-08-12 Thread Shawn Guo
On Wed, Jun 19, 2019 at 10:21:42AM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > This patch adds the soc & board binding for i.MX8MN. > > Signed-off-by: Anson Huang > Reviewed-by: Rob Herring Applied 1 ~ 3, thanks.

Re: general protection fault in __pm_runtime_resume

2019-08-12 Thread Andrey Konovalov
On Thu, Jul 25, 2019 at 7:04 AM syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > HEAD commit:6a3599ce usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.

[PATCH v2 1/2] dt-bindings: clock: meson: add resets to the audio clock controller

2019-08-12 Thread Jerome Brunet
Add the documentation and bindings for the resets provided by the g12a audio clock controller Signed-off-by: Jerome Brunet --- .../bindings/clock/amlogic,axg-audio-clkc.txt | 1 + .../reset/amlogic,meson-g12a-audio-reset.h| 38 +++ 2 files changed, 39 insertions(+) create m

[PATCH v2 2/2] clk: meson: axg-audio: add g12a reset support

2019-08-12 Thread Jerome Brunet
On the g12a, the register space dedicated to the audio clock also provides some resets. Let the clock controller register a reset provider as well for this SoC family. the axg SoC family does not appear to provide this feature. Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg-audio.c | 10

Re: [PATCH V3] soc: imx-scu: Add SoC UID(unique identifier) support

2019-08-12 Thread Shawn Guo
On Tue, Jul 02, 2019 at 03:45:45PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add i.MX SCU SoC's UID(unique identifier) support, user > can read it from sysfs: > > root@imx8qxpmek:~# cat /sys/devices/soc0/soc_uid > 7B64280B57AC1898 > > Signed-off-by: Anson Huang > Reviewed-by: D

Re: [PATCH v3 08/16] powerpc/pseries/svm: Use shared memory for LPPACA structures

2019-08-12 Thread Michael Ellerman
Thiago Jung Bauermann writes: > From: Anshuman Khandual > > LPPACA structures need to be shared with the host. Hence they need to be in > shared memory. Instead of allocating individual chunks of memory for a > given structure from memblock, a contiguous chunk of memory is allocated > and then co

Re: [PATCH v2 0/8] drm/bridge: dw-hdmi: improve i2s support

2019-08-12 Thread Jerome Brunet
On Mon 12 Aug 2019 at 14:19, Neil Armstrong wrote: > Hi, > > On 12/08/2019 14:07, Jerome Brunet wrote: >> The purpose of this patchset is to improve the support of the i2s >> interface of the synopsys hdmi controller. >> >> Once applied, the interface should support all the usual i2s bus formats

Re: [PATCH v2 02/24] EDAC, ghes: Fix grain calculation

2019-08-12 Thread Borislav Petkov
On Mon, Aug 12, 2019 at 12:05:25PM +, Robert Richter wrote: > So for masks in the range from 0xff00 to > 0xff7f we have grain_bits set to 24, which corresponds to > a grain of 0x100. I don't think you're reading what I'm trying to say so let me go into more detail:

[PATCH v2 1/8] thunderbolt: Correct path indices for PCIe tunnel

2019-08-12 Thread Mika Westerberg
PCIe tunnel path indices got mixed up when we added support for tunnels between switches that are not adjacent. This did not affect the functionality as it is just an index but fix it now nevertheless to make the code easier to understand. Reported-by: Rajmohan Mani Fixes: 8c7acaaf020f ("thunderb

[PATCH v2 4/8] thunderbolt: Do not fail adding switch if some port is not implemented

2019-08-12 Thread Mika Westerberg
There are two ways to mark a port as unimplemented. Typical way is to return port type as TB_TYPE_INACTIVE when its config space is read. Alternatively if the port is not physically present (such as ports 10 and 11 in ICL) reading from port config space returns TB_CFG_ERROR_INVALID_CONFIG_SPACE ins

[PATCH v2 6/8] thunderbolt: Expose active parts of NVM even if upgrade is not supported

2019-08-12 Thread Mika Westerberg
Ice Lake Thunderbolt controller NVM firmware is part of the BIOS image which means it is not writable through the DMA port anymore. However, we can still read it so we can keep nvm_version and active parts of NVM. This way users still can find out the active NVM version and other potentially useful

[PATCH v2 5/8] thunderbolt: Hide switch attributes that are not set

2019-08-12 Thread Mika Westerberg
Thunderbolt host routers may not always contain DROM that includes device identification information. This is mostly needed for Ice Lake systems but some Falcon Ridge controllers on PCs also do not have DROM. In that case hide the identification attributes. Signed-off-by: Mika Westerberg Reviewe

[PATCH v2 2/8] thunderbolt: Move NVM upgrade support flag to struct icm

2019-08-12 Thread Mika Westerberg
This is depends on the controller and on the platform/CPU we are running. Move it to struct icm so we can set it per controller. Signed-off-by: Mika Westerberg Reviewed-by: Yehezkel Bernat --- drivers/thunderbolt/icm.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) d

[PATCH v2 3/8] thunderbolt: Use 32-bit writes when writing ring producer/consumer

2019-08-12 Thread Mika Westerberg
The register access should be using 32-bit reads/writes according to the datasheet. With the previous generation hardware 16-bit writes have been working but starting with ICL this is not the case anymore so fix producer/consumer register update to use correct width register address. Signed-off-by

[PATCH v2 8/8] ACPI / property: Add two new Thunderbolt property GUIDs to the list

2019-08-12 Thread Mika Westerberg
Ice Lake Thunderbolt controller includes two new device property compatible properties that we need to be able to extract in the driver so add them to the growing array of GUIDs. Signed-off-by: Mika Westerberg --- drivers/acpi/property.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/

[PATCH v2 7/8] thunderbolt: Add support for Intel Ice Lake

2019-08-12 Thread Mika Westerberg
The Thunderbolt controller is integrated into the Ice Lake CPU itself and requires special flows to power it on and off using force power bit in NHI VSEC registers. Runtime PM (RTD3) and Sx flows also differ from the discrete solutions. Now the firmware notifies the driver whether RTD3 entry or exi

[PATCH v2 0/8] thunderbolt: Intel Ice Lake support

2019-08-12 Thread Mika Westerberg
Hi all, This is second version of the patch series adding support for the Intel Ice Lake integrated Thunderbolt controller. The biggest difference from the previous discrete controllers is that the Ice Lake Thunderbolt controller is now integrated as part of the SoC. The firmware messages pretty m

Re: drivers/power/reset/nvmem-reboot-mode.c:27:42: error: passing argument 2 of 'nvmem_cell_write' from incompatible pointer type

2019-08-12 Thread Nandor Han
On 8/11/19 2:43 AM, kbuild test robot wrote: Hi Han, FYI, the error/warning still remains. tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcbb4a153971ff8646af0c963f5698bf21bfbfdc commit: 7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef power: reset:

[PATCH] tools: iio: add .gitignore

2019-08-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The generated files must not be tracked by git. Add a local .gitignore. Signed-off-by: Bartosz Golaszewski --- tools/iio/.gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 tools/iio/.gitignore diff --git a/tools/iio/.gitignore b/tools/iio/.gitig

[PATCH v2 bpf-next] mm: mmap: increase sockets maximum memory size pgoff for 32bits

2019-08-12 Thread Ivan Khoronzhuk
The AF_XDP sockets umem mapping interface uses XDP_UMEM_PGOFF_FILL_RING and XDP_UMEM_PGOFF_COMPLETION_RING offsets. The offsets seems like are established already and are part of configuration interface. But for 32-bit systems, while AF_XDP socket configuration, the values are to large to pass max

5.3-rc3-ish VM crash: RIP: 0010:tcp_trim_head+0x20/0xe0

2019-08-12 Thread Sander Eikelenboom
L.S., While testing a somewhere-after-5.3-rc3 kernel (which included the latest net merge (33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9), one of my Xen VM's (which gets quite some network load) crashed. See below for the stacktrace. Unfortunately I haven't got a clear trigger, so bisection doesn't s

Re: [PATCH] regulator: core: Add devres versions of regulator_enable/disable

2019-08-12 Thread Chuhong Yuan
On Mon, Aug 12, 2019 at 7:07 PM Mark Brown wrote: > > On Sat, Aug 10, 2019 at 09:44:45AM +0800, Chuhong Yuan wrote: > > On Fri, Aug 9, 2019 at 11:11 PM Mark Brown wrote: > > > > I'm not super keen on managed versions of these functions since they're > > > very likely to cause reference counting i

[tip:sched/core] sched/fair: Use rq_lock/unlock in online_fair_sched_group

2019-08-12 Thread tip-bot for Phil Auld
Commit-ID: a46d14eca7b75fffe35603aa8b81df654353d80f Gitweb: https://git.kernel.org/tip/a46d14eca7b75fffe35603aa8b81df654353d80f Author: Phil Auld AuthorDate: Thu, 1 Aug 2019 09:37:49 -0400 Committer: Thomas Gleixner CommitDate: Mon, 12 Aug 2019 14:45:34 +0200 sched/fair: Use rq_lock/un

[PATCH 0/2] irq/irq_sim: try to improve the API

2019-08-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently the interrupt simulator exposes structures that don't need to be public and has a helper that manually maps the simulator's irq offsets to the global interrupt numberspace - something that should be preferably handles by an irq_domain. The first patch addresse

[PATCH 1/2] irq/irq_sim: make the irq_sim structure opaque

2019-08-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no good reason to export the interrupt simulator structure to users and have them provide memory for it. Let's make all the related data structures opaque and convert both users. This way we have a lot less APIs exposed in the header. Signed-off-by: Bartosz Gola

[PATCH 2/2] irq/irq_sim: use irq domain

2019-08-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We currently have a dedicated function to map the interrupt simulator offsets to global interrupt numbers. This is something that irq_domain should handle. Create a linear irq_domain when initializing the interrupt simulator and modify the irq_sim_fire() function to onl

Re: [PATCH v3 19/21] ARM: dts: imx6/7-colibri: switch dr_mode to otg

2019-08-12 Thread Philippe Schenker
On Fri, 2019-08-09 at 15:50 +, Marcel Ziswiler wrote: > Hi Philippe > > On Wed, 2019-08-07 at 08:26 +, Philippe Schenker wrote: > > In order for the otg ports, that these modules support, it is needed > > that dr_mode is on otg. Switch to use that feature. > > Isn't further extcon integra

Re: [PATCH v9 10/11] x86/paravirt: Adapt assembly for PIE support

2019-08-12 Thread Borislav Petkov
On Wed, Jul 31, 2019 at 02:53:06PM +0200, Peter Zijlstra wrote: > On Tue, Jul 30, 2019 at 12:12:54PM -0700, Thomas Garnier wrote: > > if PIE is enabled, switch the paravirt assembly constraints to be > > compatible. The %c/i constrains generate smaller code so is kept by > > default. > > > > Posit

[tip:x86/urgent] x86/umwait: Fix error handling in umwait_init()

2019-08-12 Thread tip-bot for Fenghua Yu
Commit-ID: e7409258845a0f64967f8377e99294d438137537 Gitweb: https://git.kernel.org/tip/e7409258845a0f64967f8377e99294d438137537 Author: Fenghua Yu AuthorDate: Fri, 9 Aug 2019 18:40:37 -0700 Committer: Thomas Gleixner CommitDate: Mon, 12 Aug 2019 14:51:13 +0200 x86/umwait: Fix error han

Re: status of drivers/misc/sgi-gru?

2019-08-12 Thread Dimitri Sivanich
Yes, the GRU driver is still maintained, and I have been in contact with Bharath about my pending testing of his changes. On Mon, Aug 12, 2019 at 01:05:19AM -0700, Christoph Hellwig wrote: > Hi dear ex-SGI folks, > > do you know if the GRU driver is still maintained and in use? > > Both Bharath

Re: [PATCH v2 bpf-next] mm: mmap: increase sockets maximum memory size pgoff for 32bits

2019-08-12 Thread Daniel Borkmann
On 8/12/19 2:43 PM, Ivan Khoronzhuk wrote: The AF_XDP sockets umem mapping interface uses XDP_UMEM_PGOFF_FILL_RING and XDP_UMEM_PGOFF_COMPLETION_RING offsets. The offsets seems like are established already and are part of configuration interface. But for 32-bit systems, while AF_XDP socket confi

[tip:x86/mm] x86/kconfig: Remove X86_DIRECT_GBPAGES dependency on !DEBUG_PAGEALLOC

2019-08-12 Thread tip-bot for Vlastimil Babka
Commit-ID: 2e1da13fba4cb529c2c8c1d9f657690d1e853d7d Gitweb: https://git.kernel.org/tip/2e1da13fba4cb529c2c8c1d9f657690d1e853d7d Author: Vlastimil Babka AuthorDate: Wed, 7 Aug 2019 15:02:58 +0200 Committer: Thomas Gleixner CommitDate: Mon, 12 Aug 2019 14:52:30 +0200 x86/kconfig: Remove

Re: [PATCH] x86/apic: Handle missing global clockevent gracefully

2019-08-12 Thread Aubrey Li
On Mon, Aug 12, 2019 at 8:25 PM Thomas Gleixner wrote: > > On Mon, 12 Aug 2019, Li, Aubrey wrote: > > On 2019/8/9 20:54, Thomas Gleixner wrote: > > > + local_irq_disable(); > > > /* > > > * Setup the APIC counter to maximum. There is no way the lapic > > > * can underflow in the 10

Re: [RFC PATCH v2 16/19] RDMA/uverbs: Add back pointer to system file object

2019-08-12 Thread Jason Gunthorpe
On Fri, Aug 09, 2019 at 03:58:30PM -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > In order for MRs to be tracked against the open verbs context the ufile > needs to have a pointer to hand to the GUP code. > > No references need to be taken as this should be valid for the lifetime > of t

Re: [PATCH V5 0/9] Fixes for vhost metadata acceleration

2019-08-12 Thread Jason Gunthorpe
On Mon, Aug 12, 2019 at 05:49:08AM -0400, Michael S. Tsirkin wrote: > On Mon, Aug 12, 2019 at 10:44:51AM +0800, Jason Wang wrote: > > > > On 2019/8/11 上午1:52, Michael S. Tsirkin wrote: > > > On Fri, Aug 09, 2019 at 01:48:42AM -0400, Jason Wang wrote: > > > > Hi all: > > > > > > > > This series tr

Re: [PATCH v3 11/16] powerpc/pseries/svm: Export guest SVM status to user space via sysfs

2019-08-12 Thread Michael Ellerman
Thiago Jung Bauermann writes: > From: Ryan Grimm > > User space might want to know it's running in a secure VM. It can't do > a mfmsr because mfmsr is a privileged instruction. > > The solution here is to create a cpu attribute: > > /sys/devices/system/cpu/svm > > which will read 0 or 1 based on

Re: [PATCH 3/3] driver/core: Fix build error when SRCU and lockdep disabled

2019-08-12 Thread Joel Fernandes
On Mon, Aug 12, 2019 at 07:02:56AM +0200, Greg Kroah-Hartman wrote: > On Sun, Aug 11, 2019 at 06:11:11PM -0400, Joel Fernandes (Google) wrote: > > Properly check if lockdep lock checking is disabled at config time. If > > so, then lock_is_held() is undefined so don't do any checking. > > > > This

Re: [PATCH] ata: ahci: Lookup PCS register offset based on PCI device ID

2019-08-12 Thread Stephen Douthit
On 8/10/19 3:43 AM, Christoph Hellwig wrote: > On Thu, Aug 08, 2019 at 08:24:31PM +, Stephen Douthit wrote: >> Intel moved the PCS register from 0x92 to 0x94 on Denverton for some >> reason, so now we get to check the device ID before poking it on reset. > > And now you just match on the new I

Re: [PATCH 07/16] spi: remove w90x900 driver

2019-08-12 Thread Mark Brown
On Fri, Aug 09, 2019 at 10:27:35PM +0200, Arnd Bergmann wrote: > The ARM w90x900 platform is getting removed, so this driver is obsolete. This doesn't apply against current code, please check and resend. signature.asc Description: PGP signature

Re: [PATCH][crypto-next] crypto: hisilicon: fix spelling mistake "HZIP_COMSUMED_BYTE" -> "HZIP_CONSUMED_BYTE"

2019-08-12 Thread Zhou Wang
On 2019/8/12 19:15, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in the hzip_dfx_regs array, fix this. > > Signed-off-by: Colin Ian King > --- > drivers/crypto/hisilicon/zip/zip_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers

Re: [PATCH v12 5/6] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-12 Thread Oleg Nesterov
On 08/09, Song Liu wrote: > > +void collapse_pte_mapped_thp(struct mm_struct *mm, unsigned long addr) > +{ > + unsigned long haddr = addr & HPAGE_PMD_MASK; > + struct vm_area_struct *vma = find_vma(mm, haddr); > + struct page *hpage = NULL; > + pmd_t *pmd, _pmd; > + spinlock_t *

Applied "ASoC: remove w90x900/nuc900 platform drivers" to the asoc tree

2019-08-12 Thread Mark Brown
The patch ASoC: remove w90x900/nuc900 platform drivers has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Applied "ASoC: dapm: Invalidate only paths reachable for a given stream" to the asoc tree

2019-08-12 Thread Mark Brown
The patch ASoC: dapm: Invalidate only paths reachable for a given stream has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "ASoC: fsl_esai: Add compatible string for imx6ull" to the asoc tree

2019-08-12 Thread Mark Brown
The patch ASoC: fsl_esai: Add compatible string for imx6ull has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "regulator: twl6030: use variable for device node" to the regulator tree

2019-08-12 Thread Mark Brown
The patch regulator: twl6030: use variable for device node has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: twl6030: workaround the VMMC reset behavior" to the regulator tree

2019-08-12 Thread Mark Brown
The patch regulator: twl6030: workaround the VMMC reset behavior has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Applied "dt-bindings: regulator: twl6030: Add retain-on-reset property" to the regulator tree

2019-08-12 Thread Mark Brown
The patch dt-bindings: regulator: twl6030: Add retain-on-reset property has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime i

Applied "regmap-irq: Correct error paths in regmap_irq_thread for pm_runtime" to the regmap tree

2019-08-12 Thread Mark Brown
The patch regmap-irq: Correct error paths in regmap_irq_thread for pm_runtime has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime i

Applied "ASoC: max98926: remove two unused variables" to the asoc tree

2019-08-12 Thread Mark Brown
The patch ASoC: max98926: remove two unused variables has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "ASoC: max9850: remove unused variable 'max9850_reg'" to the asoc tree

2019-08-12 Thread Mark Brown
The patch ASoC: max9850: remove unused variable 'max9850_reg' has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "ASoC: fsl_esai: Add new compatible string for imx6ull" to the asoc tree

2019-08-12 Thread Mark Brown
The patch ASoC: fsl_esai: Add new compatible string for imx6ull has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Re: [PATCH v2] Fix fTPM on AMD Zen+ CPUs

2019-08-12 Thread Jason Gunthorpe
On Sun, Aug 11, 2019 at 09:52:18PM +0300, ivan.laz...@gmail.com wrote: > From: Vanya Lazeev > > The patch is an attempt to make fTPM on AMD Zen CPUs work. > Bug link: https://bugzilla.kernel.org/show_bug.cgi?id=195657 > > The problem seems to be that tpm_crb driver doesn't expect tpm command > a

RE: [PATCH] drbd: do not ignore signals in threads

2019-08-12 Thread David Laight
From: Philipp Reisner > Sent: 12 August 2019 12:53 > Hi Jens, > > Please have a look. > > With fee109901f392 Eric W. Biederman changed drbd to use send_sig() > instead of force_sig(). That was part of a series that did this change > in multiple call sites tree wide. Which, by accident broke drbd,

[RFC][PATCH v12 0/2] mm: Support for page reporting

2019-08-12 Thread Nitesh Narayan Lal
This patch series proposes an efficient mechanism for reporting free memory from a guest to its hypervisor. It especially enables guests with no page cache (e.g., nvdimm, virtio-pmem) or with small page caches (e.g., ram > disk) to rapidly hand back free memory to the hypervisor. This approach has

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-12 Thread Joel Fernandes
On Mon, Aug 12, 2019 at 07:10:52PM +0900, Byungchul Park wrote: > On Sun, Aug 11, 2019 at 04:49:39PM -0700, Paul E. McKenney wrote: > > Maybe. Note well that I said "potential issue". When I checked a few > > years ago, none of the uses of rcu_barrier() cared about kfree_rcu(). > > They cared ins

[RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-12 Thread Nitesh Narayan Lal
This patch introduces the core infrastructure for free page reporting in virtual environments. It enables the kernel to track the free pages which can be reported to its hypervisor so that the hypervisor could free and reuse that memory as per its requirement. While the pages are getting processed

[RFC][Patch v12 2/2] virtio-balloon: interface to support free page reporting

2019-08-12 Thread Nitesh Narayan Lal
Enables the kernel to negotiate VIRTIO_BALLOON_F_REPORTING feature with the host. If it is available and page_reporting_flag is set to true, page_reporting is enabled and its callback is configured along with the max_pages count which indicates the maximum number of pages that can be isolated and r

Re: [tip:sched/core] sched/fair: Use rq_lock/unlock in online_fair_sched_group

2019-08-12 Thread Phil Auld
On Mon, Aug 12, 2019 at 05:52:04AM -0700 tip-bot for Phil Auld wrote: > Commit-ID: a46d14eca7b75fffe35603aa8b81df654353d80f > Gitweb: > https://git.kernel.org/tip/a46d14eca7b75fffe35603aa8b81df654353d80f > Author: Phil Auld > AuthorDate: Thu, 1 Aug 2019 09:37:49 -0400 > Committer: Thoma

[QEMU Patch 2/2] virtio-balloon: support for handling page reporting

2019-08-12 Thread Nitesh Narayan Lal
Page reporting is a feature which enables the virtual machine to report chunk of free pages to the hypervisor. This patch enables QEMU to process these reports from the VM and discard the unused memory range. Signed-off-by: Nitesh Narayan Lal --- hw/virtio/virtio-balloon.c | 41 +

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-12 Thread Joel Fernandes
On Sun, Aug 11, 2019 at 04:35:04PM -0700, Paul E. McKenney wrote: > On Sat, Aug 10, 2019 at 10:26:58PM -0400, Joel Fernandes wrote: > > On Sat, Aug 10, 2019 at 11:24:46AM -0700, Paul E. McKenney wrote: > > > On Sat, Aug 10, 2019 at 12:20:37AM -0400, Joel Fernandes wrote: > > > > On Fri, Aug 09, 201

[QEMU Patch 1/2] virtio-balloon: adding bit for page reporting support

2019-08-12 Thread Nitesh Narayan Lal
This patch will be replaced once the feature is merged into the Linux kernel. Signed-off-by: Nitesh Narayan Lal --- include/standard-headers/linux/virtio_balloon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/standard-headers/linux/virtio_balloon.h b/include/standard-headers/linu

Re: [PATCH] hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS

2019-08-12 Thread Vlastimil Babka
On 8/12/19 10:45 AM, Michal Hocko wrote: > On Sun 11-08-19 19:46:14, Sasha Levin wrote: >> On Fri, Aug 09, 2019 at 03:17:18PM -0700, Andrew Morton wrote: >>> On Fri, 9 Aug 2019 08:46:33 +0200 Michal Hocko wrote: >>> >>> It should work if we ask stable trees maintainers not to backport >>> such pat

[PATCH] watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout

2019-08-12 Thread Rasmus Villemoes
Converting from ms to s requires dividing by 1000, not multiplying. So this is currently taking the smaller of new_timeout and 1.28e8, i.e. effectively new_timeout. The driver knows what it set max_hw_heartbeat_ms to, so use that value instead of doing a division at run-time. FWIW, this can easil

Re: [PATCH v3 20/21] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board

2019-08-12 Thread Philippe Schenker
On Fri, 2019-08-09 at 15:54 +, Marcel Ziswiler wrote: > Hi Philippe > > On Wed, 2019-08-07 at 08:26 +, Philippe Schenker wrote: > > This adds the common touchscreen that is used with Toradex's > > Eval Boards. > > Is that really Eval Board specific? Since we provide the needed signals as

Re: [PATCH] powerpc/64e: drop stale call to smp_processor_id() which hangs SMP startup

2019-08-12 Thread Michael Ellerman
On Thu, 2019-08-08 at 12:48:26 UTC, Christophe Leroy wrote: > Santa commit ebb9d30a6a74 ("powerpc/mm: any thread in one core can be > the first to setup TLB1") removed the need to know the cpu_id in > early_init_this_mmu(), but the call to smp_processor_id() which was > marked __maybe_used remained

Re: [PATCH 3/5] media: platform: Add jpeg enc feature

2019-08-12 Thread Hans Verkuil
Hi Xia, Some review comments below: On 7/17/19 11:30 AM, Xia Jiang wrote: > Add mtk jpeg encode v4l2 driver based on jpeg decode, because that jpeg > decode and encode have great similarities with function operation. > add EXIF enable control for jpeg encode. > > Change-Id: I38bf86a372f69d42a468

Re: [PATCH v4] firmware: imx: Add DSP IPC protocol interface

2019-08-12 Thread Shawn Guo
On Thu, Aug 01, 2019 at 12:56:36PM +0300, Daniel Baluta wrote: > Some of i.MX8 processors (e.g i.MX8QM, i.MX8QXP) contain > the Tensilica HiFi4 DSP for advanced pre- and post-audio > processing. > > The communication between Host CPU and DSP firmware is > taking place using a shared memory area fo

Re: [PATCH] hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS

2019-08-12 Thread Michal Hocko
On Mon 12-08-19 15:14:12, Vlastimil Babka wrote: > On 8/12/19 10:45 AM, Michal Hocko wrote: > > On Sun 11-08-19 19:46:14, Sasha Levin wrote: > >> On Fri, Aug 09, 2019 at 03:17:18PM -0700, Andrew Morton wrote: > >>> On Fri, 9 Aug 2019 08:46:33 +0200 Michal Hocko wrote: > >>> > >>> It should work if

Re: [PATCH v12 5/6] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-12 Thread Oleg Nesterov
On 08/12, Kirill A. Shutemov wrote: > > On Fri, Aug 09, 2019 at 06:01:18PM +, Song Liu wrote: > > + if (pte_none(*pte) || !pte_present(*pte)) > > + continue; > > You don't need to check both. Present is never none. Agreed. Kirill, while you are here, shouldn't retr

Re: [PATCH v5 08/10] power: reset: add driver for mt6323 poweroff

2019-08-12 Thread Lee Jones
On Mon, 12 Aug 2019, Frank Wunderlich wrote: > From: Josef Friedl > > add poweroff driver for mt6323 and make Makefile and Kconfig-Entries > > Suggested-by: Frank Wunderlich > Signed-off-by: Josef Friedl > Signed-off-by: Frank Wunderlich > --- > changes since v4: none > changes since v3: non

Re: [alsa-devel] [PATCH 1/3] soundwire: add debugfs support

2019-08-12 Thread Pierre-Louis Bossart
#Cadence Objs diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c index 49f64b2115b9..89d5f1537d9b 100644 --- a/drivers/soundwire/bus.c +++ b/drivers/soundwire/bus.c @@ -49,6 +49,8 @@ int sdw_add_bus_master(struct sdw_bus *bus) } } + bus->debugfs = sdw_bu

Re: [Y2038] [PATCH 04/20] mount: Add mount warning for impending timestamp expiry

2019-08-12 Thread Ben Hutchings
On Sat, 2019-08-10 at 13:44 -0700, Deepa Dinamani wrote: > On Mon, Aug 5, 2019 at 7:14 AM Ben Hutchings > wrote: > > On Mon, 2019-07-29 at 18:49 -0700, Deepa Dinamani wrote: > > > The warning reuses the uptime max of 30 years used by the > > > setitimeofday(). > > > > > > Note that the warning is

Re: [PATCH] watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout

2019-08-12 Thread Guenter Roeck
On 8/12/19 6:13 AM, Rasmus Villemoes wrote: Converting from ms to s requires dividing by 1000, not multiplying. So this is currently taking the smaller of new_timeout and 1.28e8, i.e. effectively new_timeout. The driver knows what it set max_hw_heartbeat_ms to, so use that value instead of doing

Re: [PATCH 1/7] media: cedrus: Disable engine after each slice decoding

2019-08-12 Thread Ezequiel Garcia
Hi Jernej, On Mon, 2019-06-03 at 13:38 +0200, Maxime Ripard wrote: > Hi, > > On Thu, May 30, 2019 at 11:15:10PM +0200, Jernej Skrabec wrote: > > libvdpau-sunxi always disables engine after each decoded slice. > > Do same in Cedrus driver. > > > > Presumably this also lowers power consumption whi

Re: [PATCH] drbd: do not ignore signals in threads

2019-08-12 Thread Philipp Reisner
Hi David, [...] > While our code is 'out of tree' (you really don't want it - and since > it still uses force_sig() is fine) I suspect that the 'drdb' code > (with Christoph's allow_signal() patch) now loops in kernel if a user > sends it a signal. I am not asking for that out of tree code. But y

Re: [PATCH] watchdog: imx_sc: Remove unnecessary error log

2019-08-12 Thread Guenter Roeck
On 8/12/19 1:44 AM, anson.hu...@nxp.com wrote: From: Anson Huang An error message is already displayed by watchdog_register_device() when failed, so no need to have error log again for failure of calling devm_watchdog_register_device(). Signed-off-by: Anson Huang Reviewed-by: Guenter Roeck

Re: [RFC PATCH v2] mm: slub: print kernel addresses in slub debug messages

2019-08-12 Thread Vlastimil Babka
On 8/9/19 4:46 AM, Matthew Wilcox wrote: > On Fri, Aug 09, 2019 at 09:08:37AM +0800, miles.c...@mediatek.com wrote: >> Possible approaches are: >> 1. stop printing kernel addresses >> 2. print with %pK, >> 3. print with %px. > > No. The point of obscuring kernel addresses is that if the attacker

Re: [alsa-devel] [PATCH 2/3] soundwire: cadence_master: add debugfs register dump

2019-08-12 Thread Pierre-Louis Bossart
On 8/10/19 2:03 AM, Greg KH wrote: On Fri, Aug 09, 2019 at 05:43:40PM -0500, Pierre-Louis Bossart wrote: +/** + * sdw_cdns_debugfs_init() - Cadence debugfs init + * @cdns: Cadence instance + * @root: debugfs root + */ +void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root) +{

Re: linux-next: Tree for Aug 12

2019-08-12 Thread Geert Uytterhoeven
5c63a44c ("Add linux-next specific files for 20190812") made it to git.kernel.org, but the tag didn't? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with

Re: [RFC PATCH v7] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-08-12 Thread Jes Sorensen
On 8/5/19 9:14 AM, Chris Chiu wrote: > We have 3 laptops which connect the wifi by the same RTL8723BU. > The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. > They have the same problem with the in-kernel rtl8xxxu driver, the > iperf (as a client to an ethernet-connected server) gets

Re: [PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-12 Thread Jan Kara
On Sat 10-08-19 11:01:16, Paul Moore wrote: > On August 10, 2019 6:05:27 AM Amir Goldstein wrote: > > Other than Casey's comments, and ACK, I'm not seeing much commentary > on this patch so FS and LSM folks consider this your last chance - if > I don't hear any objections by the en

Re: [PATCH 4/7] media: cedrus: Remove dst_bufs from context

2019-08-12 Thread Ezequiel Garcia
On Thu, 2019-05-30 at 23:15 +0200, Jernej Skrabec wrote: > This array is just duplicated capture buffer queue. Remove it and adjust > code to look into capture buffer queue instead. > > Signed-off-by: Jernej Skrabec > --- > drivers/staging/media/sunxi/cedrus/cedrus.h | 4 +--- > .../staging/m

Re: [BUG] access to null-pointer in dsa_switch_event when bridge set up

2019-08-12 Thread Andrew Lunn
On Mon, Aug 12, 2019 at 12:43:09PM +0200, Frank Wunderlich wrote: > Hi, > > i've noticed a bug when using bridge on dsa-ports. Tested on Bpi-r2, Crash > happens on 5.3-rc1 and rc4, 5.2-rc7 (last version pre 5.3 i have found on my > tftp) is not affected. Hi Frank A patch was merged last nig

Re: [PATCH] rpmsg: add a description field

2019-08-12 Thread Fabien DESSENNE
Hi Suman, See my remarks below BR Fabien On 09/08/2019 11:40 PM, Suman Anna wrote: > From: Ohad Ben-Cohen > > Add a new description field to the rpmsg bus infrastructure > that can be passed onto the rpmsg client drivers for additional > information. The current rpmsg bus client drivers need

Re: [PATCH] arm64: dts: ls1028a: fix gpio nodes

2019-08-12 Thread Shawn Guo
On Mon, Aug 05, 2019 at 02:57:00PM +0800, Hui Song wrote: > From: Song Hui > > Update the nodes to include little-endian > property to be consistent with the hardware. > > Signed-off-by: Song Hui @Leo, looks good? Shawn > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 9 ++--- >

Re: [Non-DoD Source] Re: [PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-12 Thread Aaron Goidel
On 8/12/19 9:41 AM, Jan Kara wrote: On Sat 10-08-19 11:01:16, Paul Moore wrote: On August 10, 2019 6:05:27 AM Amir Goldstein wrote: Other than Casey's comments, and ACK, I'm not seeing much commentary on this patch so FS and LSM folks consider this your last chance - if I don't hear any objec

[PATCH v1] [semaphore] Removed redundant code from semaphore's down family of function

2019-08-12 Thread Satendra Singh Thakur
-The semaphore code has four funcs down, down_interruptible, down_killable, down_timeout -These four funcs have almost similar code except that they all call lower level function __down_xyz. -This lower level func in-turn call inline func __down_common with appropriate arguments. -This patch create

RE: [PATCH v2] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-12 Thread Haiyang Zhang
> -Original Message- > From: LKML haiyangz On Behalf Of Haiyang > Zhang > Sent: Tuesday, August 6, 2019 7:52 PM > To: sas...@kernel.org; bhelg...@google.com; lorenzo.pieral...@arm.com; > linux-hyp...@vger.kernel.org; linux-...@vger.kernel.org > Cc: Haiyang Zhang ; KY Srinivasan > ; Step

Re: WARNING in aa_sock_msg_perm

2019-08-12 Thread Tetsuo Handa
On 2019/08/12 21:30, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:fcc32a21 liquidio: Use pcie_flr() instead of reimplementin.. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1123372660 > kernel config: https://syz

Re: [PATCH 0/7] media: cedrus: Improvements/cleanup

2019-08-12 Thread Maxime Ripard
Hi! On Mon, Aug 12, 2019 at 02:12:21PM +0200, Hans Verkuil wrote: > On 5/30/19 11:15 PM, Jernej Skrabec wrote: > > Here is first batch of random Cedrus improvements/cleanups. Only patch 2 > > has a change which raises a question about H264 controls. > > > > Changes were tested on H3 SoC using modi

Re: [PATCH v3 0/8] PM / ACPI: sleep: Additional changes related to suspend-to-idle

2019-08-12 Thread Bhardwaj, Rajneesh
Hi Rafael On 02-Aug-19 4:03 PM, Rafael J. Wysocki wrote: Hi All, On top of the "Simplify the suspend-to-idle control flow" patch series posted previously: https://lore.kernel.org/lkml/71085220.z6FKkvYQPX@kreacher/ sanitize the suspend-to-idle flow even further. First off, decouple EC wakeup

Re: [PATCH v4] arm64: dts: ls1028a: Add esdhc node in dts

2019-08-12 Thread Shawn Guo
On Mon, Aug 05, 2019 at 06:26:41PM +0800, Yinbo Zhu wrote: > From: Ashish Kumar > > This patch is to add esdhc node and enable SD UHS-I, > eMMC HS200 for ls1028ardb/ls1028aqds board. > > Signed-off-by: Ashish Kumar > Signed-off-by: Yangbo Lu > Signed-off-by: Yinbo Zhu > --- > Change in v4: >

Re: [PATCH v9 11/11] x86/alternatives: Adapt assembly for PIE support

2019-08-12 Thread Borislav Petkov
On Tue, Jul 30, 2019 at 12:12:55PM -0700, Thomas Garnier wrote: > Change the assembly options to work with pointers instead of integers. This commit message is too vague. A before/after example would make it a lot more clear why the change is needed. Thx. -- Regards/Gruss, Boris. Good mail

Re: [PATCH] dpaa2-ethsw: move the DPAA2 Ethernet Switch driver out of staging

2019-08-12 Thread Andrew Lunn
> In the DPAA2 architecture MACs are not the only entities that can be > connected to a switch port. > Below is an exemple of a 4 port DPAA2 switch which is configured to > interconnect 2 DPNIs (network interfaces) and 2 DPMACs. > > > [ethA] [ethB] [ethC] [ethD] [ethE] [et

Re: [PATCH] dpaa2-ethsw: move the DPAA2 Ethernet Switch driver out of staging

2019-08-12 Thread Andrew Lunn
> >> Yes, we only support a single bridge. > > > > That is a pretty severe restriction for a device of this class. Some > > of the very simple switches DSA support have a similar restriction, > > but in general, most do support multiple bridges. > > > > Let me make a distinction here: we do no s

RECEIVE AND KEEP THIS MONEY FOR ME IN YOUR BANK ACCOUNT,REPLY TO fta447...@gmail.com FOR DETAILS

2019-08-12 Thread RECEIVE AND SECURE THIS MONEY FOR ME

Re: [PATCH 1/3] media: vimc: move private defines to a common header

2019-08-12 Thread Shuah Khan
Hi Helen, On 8/9/19 9:15 PM, Helen Koike wrote: Hi Shuah, Thanks for the patch. On 8/9/19 6:45 PM, Shuah Khan wrote: In preparation for collapsing the component driver structure into a monolith, move private device structure defines to a new common header file. Signed-off-by: Shuah Khan ---

Re: [PATCH v2] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-12 Thread Jan Kara
On Fri 09-08-19 14:14:01, Aaron Goidel wrote: > As of now, setting watches on filesystem objects has, at most, applied a > check for read access to the inode, and in the case of fanotify, requires > CAP_SYS_ADMIN. No specific security hook or permission check has been > provided to control the sett

Re: [PATCH v4 04/14] net: phy: adin: add {write,read}_mmd hooks

2019-08-12 Thread Andrew Lunn
On Mon, Aug 12, 2019 at 02:23:40PM +0300, Alexandru Ardelean wrote: > Both ADIN1200 & ADIN1300 support Clause 45 access for some registers. > The Extended Management Interface (EMI) registers are accessible via both > Clause 45 (at register MDIO_MMD_VEND1) and using Clause 22. > > The Clause 22 ac

  1   2   3   4   5   6   7   8   9   10   >