Re: [PATCH v9 6/8] Documentation: media: Describe V4L2_CID_UNIT_CELL_SIZE

2019-10-04 Thread Hans Verkuil
On 10/1/19 1:24 PM, Ricardo Ribalda Delgado wrote: > New control to pass to userspace the width/height of a pixel. Which is > needed for calibration and lens selection. > > Reviewed-by: Philipp Zabel > Signed-off-by: Ricardo Ribalda Delgado > --- >

[PATCH] ASoC: fsl_mqs: Fix error handling in probe

2019-10-04 Thread Dan Carpenter
There are several problems in the error handling in fsl_mqs_probe(). 1) "ret" isn't initialized on some paths. GCC has a feature which warns about uninitialized variables but the code initializes "ret" to zero at the start of the function so the checking is turned off. 2) "gpr_np" is a

Re: [PATCH v9 3/8] media: add V4L2_CTRL_TYPE_AREA control type

2019-10-04 Thread Hans Verkuil
On 10/1/19 1:24 PM, Ricardo Ribalda Delgado wrote: > From: Ricardo Ribalda Delgado > > This type contains the width and the height of a rectangular area. > > Reviewed-by: Jacopo Mondi > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/media/v4l2-core/v4l2-ctrls.c | 21 ++ >

Re: [PATCH] arm64/mm: Poison initmem while freeing with free_reserved_area()

2019-10-04 Thread Steven Price
On 04/10/2019 05:23, Anshuman Khandual wrote: > Platform implementation for free_initmem() should poison the memory while > freeing it up. Hence pass across POISON_FREE_INITMEM while calling into > free_reserved_area(). The same is being followed in the generic fallback > for free_initmem() and

Re: [PATCH v4 2/2] media: i2c: Add IMX290 CMOS image sensor driver

2019-10-04 Thread Manivannan Sadhasivam
Hi Sakari, On Fri, Oct 04, 2019 at 12:23:36PM +0300, Sakari Ailus wrote: > Hi Manivannan, > > On Thu, Oct 03, 2019 at 03:25:03PM +0530, Manivannan Sadhasivam wrote: > > Add driver for Sony IMX290 CMOS image sensor driver. The driver only > > supports I2C interface for programming and MIPI CSI-2

[PATCH V1] regulator: qcom-rpmh: Fix PMIC5 BoB min voltage

2019-10-04 Thread Kiran Gunda
Correct the PMIC5 BoB min voltage from 0.3V to 3V. Also correct the voltage selector accordingly. Signed-off-by: Kiran Gunda --- Depends-on: This patch depends on "Add regulator support for SC7180" drivers/regulator/qcom-rpmh-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 4.19 090/211] media: mceusb: fix (eliminate) TX IR signal length limit

2019-10-04 Thread Pavel Machek
On Thu 2019-10-03 17:52:36, Greg Kroah-Hartman wrote: > From: A Sun > Other changes: > > The driver's write to USB device architecture change (async to sync I/O) > is significant so we bump DRIVER_VERSION to "1.95" (from "1.94"). > --- > drivers/media/rc/mceusb.c | 334

[PATCH] mm/swap: piggyback lru_add_drain_all() calls

2019-10-04 Thread Konstantin Khlebnikov
This is very slow operation. There is no reason to do it again if somebody else already drained all per-cpu vectors after we waited for lock. Signed-off-by: Konstantin Khlebnikov --- mm/swap.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mm/swap.c

[PATCH V1 2/2] regulator: qcom-rpmh: add PM6150/PM6150L regulator support

2019-10-04 Thread Kiran Gunda
Add support for PM6150/PM6150L regulators. This ensures that consumers are able to modify the physical state of PMIC regulators. Signed-off-by: Kiran Gunda --- drivers/regulator/qcom-rpmh-regulator.c | 62 - 1 file changed, 61 insertions(+), 1 deletion(-) diff

[PATCH V1 1/2] regulator: dt-bindings: Add PM6150x compatibles

2019-10-04 Thread Kiran Gunda
Add PM6150 and PM6150L compatibles for Qualcomm SC7180 platfrom. Signed-off-by: Kiran Gunda --- Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt

Re: KASAN: use-after-free Read in rxrpc_send_keepalive

2019-10-04 Thread David Howells
This is the fix, I think. David --- rxrpc: Fix call ref leak When sendmsg() finds a call to continue on with, if the call is in an inappropriate state, it doesn't release the ref it just got on that call before returning an error. This causes the following symptom to show up with kasan:

Re: [PATCH 5.2 123/313] ACPI / APEI: Release resources if gen_pool_add() fails

2019-10-04 Thread Pavel Machek
Hi! > @@ -172,7 +173,19 @@ int ghes_estatus_pool_init(int num_ghes) >*/ > vmalloc_sync_all(); > > - return gen_pool_add(ghes_estatus_pool, addr, PAGE_ALIGN(len), -1); > + rc = gen_pool_add(ghes_estatus_pool, addr, PAGE_ALIGN(len), -1); > + if (rc) > + goto

Re: [PATCH v2 10/22] mtd: spi-nor: Rework write_sr()

2019-10-04 Thread Tudor.Ambarus
Hi, John, On 10/04/2019 12:39 PM, John Garry wrote: > External E-Mail > > > On 24/09/2019 08:46, tudor.amba...@microchip.com wrote: >> +} >> + >> +/** >> + * spi_nor_write_sr() - Write the Status Register. >> + * @nor:    pointer to 'struct spi_nor'. >> + * @sr:    buffer to write to the

DM3730 Bluetooth Performance differences between SERIAL_8250_OMAP vs SERIAL_OMAP

2019-10-04 Thread Adam Ford
I am running Kernel 5.3.2 trying to troubleshoot some intermittent Bluetooth issues, and I think I have narrowed it down to the serial driver in use. By default, omap2plus_defconfig enables both SERIAL_8250_OMAP and SERIAL_OMAP. I have my console device configured as ttyS0, and all appears fine.

[PATCH 1/2] bdi: Do not use freezable workqueue

2019-10-04 Thread Mika Westerberg
A removable block device, such as NVMe or SSD connected over Thunderbolt can be hot-removed any time including when the system is suspended. When device is hot-removed during suspend and the system gets resumed, kernel first resumes devices and then thaws the userspace including freezable

[PATCH 2/2] Revert "libata, freezer: avoid block device removal while system is frozen"

2019-10-04 Thread Mika Westerberg
This reverts commit 85fbd722ad0f5d64d1ad15888cd1eb2188bfb557. The commit was added as a quick band-aid for a hang that happened when a block device was removed during system suspend. Now that bdi_wq is not freezable anymore the hang should not be possible and we can get rid of this hack by

Re: System hangs if NVMe/SSD is removed during suspend

2019-10-04 Thread Rafael J. Wysocki
On Friday, October 4, 2019 10:03:40 AM CEST Mika Westerberg wrote: > On Thu, Oct 03, 2019 at 09:50:33AM -0700, Tejun Heo wrote: > > Hello, Mika. > > > > On Wed, Oct 02, 2019 at 03:21:36PM +0300, Mika Westerberg wrote: > > > but from that discussion I don't see more generic solution to be > > >

[PATCH] depmod: create and use System.map.no_namespaces

2019-10-04 Thread Matthias Maennich
depmod in its current version is not aware of symbol namespace in ksymtab entries introduced with 8651ec01daed ("module: add support for symbol namespaces."). They have the form __ksymtab_NAMESPACE.symbol_name A fix for kmod's depmod has been proposed [1]. In order to support older versions of

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-04 Thread Dmitry Vyukov
On Fri, Oct 4, 2019 at 11:44 AM Walter Wu wrote: > > On Fri, 2019-10-04 at 11:18 +0200, Dmitry Vyukov wrote: > > On Fri, Oct 4, 2019 at 10:02 AM Walter Wu wrote: > > > > > > On Fri, 2019-10-04 at 12:42 +0800, Walter Wu wrote: > > > > On Thu, 2019-10-03 at 16:53 +0200, Dmitry Vyukov wrote: > > >

[PATCH] clk: mark clk_disable_unused() as __init

2019-10-04 Thread Rasmus Villemoes
clk_disable_unused is only called once, as a late_initcall, so reclaim a bit of memory by marking it (and the functions and data it is the sole user of) as __init/__initdata. This moves ~1900 bytes from .text to .init.text for a imx_v6_v7_defconfig. Signed-off-by: Rasmus Villemoes ---

Re: [PATCH v22 07/24] x86/sgx: Add wrappers for ENCLS leaf functions

2019-10-04 Thread Borislav Petkov
On Tue, Sep 03, 2019 at 05:26:38PM +0300, Jarkko Sakkinen wrote: > ENCLS is a ring 0 instruction that contains a set of leaf functions for > managing enclaves [1]. Enclaves SGX hosted measured and signed software > entities, which are protected by asserting the outside memory accesses and > memory

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-04 Thread Walter Wu
On Fri, 2019-10-04 at 11:18 +0200, Dmitry Vyukov wrote: > On Fri, Oct 4, 2019 at 10:02 AM Walter Wu wrote: > > > > On Fri, 2019-10-04 at 12:42 +0800, Walter Wu wrote: > > > On Thu, 2019-10-03 at 16:53 +0200, Dmitry Vyukov wrote: > > > > On Thu, Oct 3, 2019 at 3:51 PM Walter Wu > > > > wrote:> >

Re: Linux 5.4 kselftest known issues - update

2019-10-04 Thread Christian Brauner
On Thu, Oct 03, 2019 at 08:30:55AM -0600, shuah wrote: > On 9/26/19 11:41 AM, Shuah Khan wrote: > > Here are the know kselftest issues on Linux 5.4 with > > top commit commit 619e17cf75dd58905aa67ccd494a6ba5f19d6cc6 > > on x86_64: > > > > The goal is to get these addressed before 5.4 comes out. >

packet writing support

2019-10-04 Thread Mischa Baars
Hi, If I'm correct, packet writing support is going to be removed from the Linux kernel. Is there any particular reason for this, as far as you people know? Both DVD-writers and Blueray-writers are still being sold to date. I'm currently working on quite a large project. I would be dependent

[GIT PULL] process fixes for v5.4-rc2

2019-10-04 Thread Christian Brauner
Hi Linus, /* Summary */ This pull request contains a couple of fixes: - Fix pidfd selftest compilation (Shuah Kahn) Due to a false linking instruction in the Makefile compilation for the pidfd selftests would fail on some systems. - Fix compilation for glibc on RISC-V systems (Seth Forshee)

Re: [PATCH v2 10/22] mtd: spi-nor: Rework write_sr()

2019-10-04 Thread John Garry
On 24/09/2019 08:46, tudor.amba...@microchip.com wrote: +} + +/** + * spi_nor_write_sr() - Write the Status Register. + * @nor: pointer to 'struct spi_nor'. + * @sr:buffer to write to the Status Register. + * @len: number of bytes to write to the Status Register. + *

Re: [PATCH 2/4] i2c: at91: implement i2c bus recovery

2019-10-04 Thread Claudiu.Beznea
Hi Kamel, On 02.10.2019 17:46, Kamel Bouhara wrote: > +static int at91_init_twi_recovery_info(struct platform_device *pdev, > +struct at91_twi_dev *dev) > +{ > + struct i2c_bus_recovery_info *rinfo = >rinfo; > + > + dev->pinctrl =

Re: [PATCH v5 01/10] mm/memunmap: Use the correct start and end pfn when removing pages from zone

2019-10-04 Thread David Hildenbrand
On 04.10.19 11:03, David Hildenbrand wrote: > On 04.10.19 11:00, David Hildenbrand wrote: >> On 03.10.19 18:48, Aneesh Kumar K.V wrote: >>> On 10/1/19 8:33 PM, David Hildenbrand wrote: On 01.10.19 16:57, David Hildenbrand wrote: > On 01.10.19 16:40, David Hildenbrand wrote: >> From:

Re: [PATCH] panic: Ensure preemption is disabled during panic()

2019-10-04 Thread Russell King - ARM Linux admin
On Fri, Oct 04, 2019 at 11:11:42AM +0200, Petr Mladek wrote: > On Thu 2019-10-03 21:56:34, Will Deacon wrote: > > Hi Kees, > > > > On Wed, Oct 02, 2019 at 01:58:46PM -0700, Kees Cook wrote: > > > On Wed, Oct 02, 2019 at 01:35:38PM +0100, Will Deacon wrote: > > > > Calling 'panic()' on a kernel

Re: [rfc] mm, hugetlb: allow hugepage allocations to excessively reclaim

2019-10-04 Thread Michal Hocko
On Thu 03-10-19 12:52:33, David Rientjes wrote: > On Thu, 3 Oct 2019, Vlastimil Babka wrote: > > > I think the key differences between Mike's tests and Michal's is this part > > from Mike's mail linked above: > > > > "I 'tested' by simply creating some background activity and then seeing > > how

Re: [PATCH v2 00/21] Refine memblock API

2019-10-04 Thread Russell King - ARM Linux admin
On Thu, Oct 03, 2019 at 02:30:10PM +0300, Mike Rapoport wrote: > On Thu, Oct 03, 2019 at 09:49:14AM +0100, Russell King - ARM Linux admin > wrote: > > On Thu, Oct 03, 2019 at 08:34:52AM +0300, Mike Rapoport wrote: > > > (trimmed the CC) > > > > > > On Wed, Oct 02, 2019 at 06:14:11AM -0500, Adam

[PATCH] seqlock: Minor comment correction

2019-10-04 Thread Mukesh Ojha
write_seqcountbeqin => write_seqcount_begin Signed-off-by: Mukesh Ojha --- include/linux/seqlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index bcf4cf2..370ef8f 100644 --- a/include/linux/seqlock.h +++

Re: [PATCH v4 2/2] media: i2c: Add IMX290 CMOS image sensor driver

2019-10-04 Thread Sakari Ailus
Hi Manivannan, On Thu, Oct 03, 2019 at 03:25:03PM +0530, Manivannan Sadhasivam wrote: > Add driver for Sony IMX290 CMOS image sensor driver. The driver only > supports I2C interface for programming and MIPI CSI-2 for sensor output. > > Signed-off-by: Manivannan Sadhasivam Could you remove the

Re: [PATCH v2 3/6] media: v4l2-mem2mem: add stateless_(try_)decoder_cmd ioctl helpers

2019-10-04 Thread Hans Verkuil
On 9/29/19 10:00 PM, Jernej Skrabec wrote: > These helpers are used by stateless codecs when they support multiple > slices per frame and hold capture buffer flag is set. It's expected that > all such codecs will use this code. > > Signed-off-by: Jernej Skrabec > --- >

Re: [PATCH v2] lib/smp_processor_id: Don't use cpumask_equal()

2019-10-04 Thread Sebastian Andrzej Siewior
On 2019-10-03 16:36:08 [-0400], Waiman Long wrote: > The check_preemption_disabled() function uses cpumask_equal() to see > if the task is bounded to the current CPU only. cpumask_equal() calls > memcmp() to do the comparison. As x86 doesn't have __HAVE_ARCH_MEMCMP, > the slow memcmp() function in

Re: [PATCH v2] x86/hyperv: make vapic support x2apic mode

2019-10-04 Thread Roman Kagan
On Fri, Oct 04, 2019 at 03:01:51AM +, Michael Kelley wrote: > From: Roman Kagan Sent: Thursday, October 3, 2019 5:53 > AM > > > > > > AFAIU you're trying to mirror native_x2apic_icr_write() here but this is > > > different from what hv_apic_icr_write() does > > > (SET_APIC_DEST_FIELD(id)). >

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-04 Thread Dmitry Vyukov
On Fri, Oct 4, 2019 at 10:02 AM Walter Wu wrote: > > On Fri, 2019-10-04 at 12:42 +0800, Walter Wu wrote: > > On Thu, 2019-10-03 at 16:53 +0200, Dmitry Vyukov wrote: > > > On Thu, Oct 3, 2019 at 3:51 PM Walter Wu > > > wrote:> > > > > > > > > static void print_error_description(struct

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Rafael J. Wysocki
On Fri, Oct 4, 2019 at 10:52 AM Giovanni Gherdovich wrote: > > On Fri, 2019-10-04 at 10:29 +0200, Rafael J. Wysocki wrote: > > On Fri, Oct 4, 2019 at 10:24 AM Giovanni Gherdovich > > wrote: > > > > > > On Thu, 2019-10-03 at 20:31 -0700, Srinivas Pandruvada wrote: > > > > On Thu, 2019-10-03 at

Re: [RFC PATCH 00/13] vsock: add multi-transports support

2019-10-04 Thread Stefano Garzarella
On Fri, Oct 04, 2019 at 12:04:46AM +, Dexuan Cui wrote: > > From: Stefano Garzarella > > Sent: Friday, September 27, 2019 4:27 AM > > ... > > Patch 9 changes the hvs_remote_addr_init(). setting the > > VMADDR_CID_HOST as remote CID instead of VMADDR_CID_ANY to make > > the choice of

Re: [PATCH v2 0/17] staging: qlge: Fix rx stall in case of allocation failures

2019-10-04 Thread Benjamin Poirier
On 2019/10/04 10:19, Greg Kroah-Hartman wrote: > On Fri, Sep 27, 2019 at 07:11:54PM +0900, Benjamin Poirier wrote: [...] > > As this code got moved to staging with the goal to drop it from the > tree, why are you working on fixing it up? Do you want it moved back > out of staging into the "real"

Re: [PATCH v2 00/21] Refine memblock API

2019-10-04 Thread Russell King - ARM Linux admin
On Thu, Oct 03, 2019 at 07:46:06AM -0700, Chris Healy wrote: > > > > The iMX6 does not have MMUv2 hardware, it has MMUv1. With MMUv1 > > hardware requires command buffers within the first 2GiB of physical > > RAM. > > > I thought that the i.MX6q has the MMUv1 and GC2000 GPU while the > i.MX6qp

Re: [PATCH] panic: Ensure preemption is disabled during panic()

2019-10-04 Thread Petr Mladek
On Thu 2019-10-03 21:56:34, Will Deacon wrote: > Hi Kees, > > On Wed, Oct 02, 2019 at 01:58:46PM -0700, Kees Cook wrote: > > On Wed, Oct 02, 2019 at 01:35:38PM +0100, Will Deacon wrote: > > > Calling 'panic()' on a kernel with CONFIG_PREEMPT=y can leave the > > > calling CPU in an infinite loop,

Re: [Linux-stm32] [PATCH] pwm: stm32: Fix the usage of uninitialized variable in stm32_pwm_config()

2019-10-04 Thread Benjamin GAIGNARD
On 10/4/19 8:23 AM, Uwe Kleine-König wrote: > Hello, > > On Thu, Oct 03, 2019 at 09:46:49PM -0700, Yizhuo wrote: >> Inside function stm32_pwm_config(), variable "psc" and " arr" >> could be uninitialized if regmap_read() returns -EINVALs. >> However, they are used later in the if statement to

Re: [PATCH v5 01/10] mm/memunmap: Use the correct start and end pfn when removing pages from zone

2019-10-04 Thread David Hildenbrand
On 04.10.19 11:00, David Hildenbrand wrote: > On 03.10.19 18:48, Aneesh Kumar K.V wrote: >> On 10/1/19 8:33 PM, David Hildenbrand wrote: >>> On 01.10.19 16:57, David Hildenbrand wrote: On 01.10.19 16:40, David Hildenbrand wrote: > From: "Aneesh Kumar K.V" > > With altmap, all the

[PATCH v7 5/7] arm64: dts: amlogic: g12a: add cooling properties

2019-10-04 Thread Guillaume La Roque
Add missing #colling-cells field for G12A SoC Add cooling-map for passive and hot trip point Tested-by: Christian Hewitt Tested-by: Kevin Hilman Reviewed-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 24 + 1 file

[PATCH v7 6/7] arm64: dts: amlogic: g12b: add cooling properties

2019-10-04 Thread Guillaume La Roque
Add missing #colling-cells field for G12B SoC Add cooling-map for passive and hot trip point Tested-by: Christian Hewitt Tested-by: Kevin Hilman Reviewed-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 29 + 1 file

[PATCH v7 0/7] Add support of New Amlogic temperature sensor for G12 SoCs

2019-10-04 Thread Guillaume La Roque
This patchs series add support of New Amlogic temperature sensor and minimal thermal zone for SEI510 and ODROID-N2 boards. First implementation was doing on IIO[1] but after comments i move on thermal framework. Formulas and calibration values come from amlogic. Changes since v6: - add missing

[PATCH v7 7/7] MAINTAINERS: add entry for Amlogic Thermal driver

2019-10-04 Thread Guillaume La Roque
Add myself as maintainer for Amlogic Thermal driver. Reviewed-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 390c3194ee93..bdc30d740342 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v7 4/7] arm64: dts: meson: g12: Add minimal thermal zone

2019-10-04 Thread Guillaume La Roque
Add minimal thermal zone for two temperature sensor One is located close to the DDR and the other one is located close to the PLLs (between the CPU and GPU) Acked-by: Martin Blumenstingl Reviewed-by: Neil Armstrong Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume

[PATCH v7 1/7] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal

2019-10-04 Thread Guillaume La Roque
Adding the devicetree binding documentation for the Amlogic temperature sensor found in the Amlogic Meson G12A and G12B SoCs. Reviewed-by: Rob Herring Reviewed-by: Amit Kucheria Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque ---

[PATCH v7 3/7] arm64: dts: amlogic: g12: add temperature sensor

2019-10-04 Thread Guillaume La Roque
Add cpu and ddr temperature sensors for G12 Socs Reviewed-by: Martin Blumenstingl Reviewed-by: Neil Armstrong Reviewed-by: Amit Kucheria Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- .../boot/dts/amlogic/meson-g12-common.dtsi| 20

[PATCH v7 2/7] thermal: amlogic: Add thermal driver to support G12 SoCs

2019-10-04 Thread Guillaume La Roque
Amlogic G12A and G12B SoCs integrate two thermal sensors with the same design. One is located close to the DDR controller and the other one is located close to the PLLs (between the CPU and GPU). The calibration data for each of the thermal sensors instance is stored in a different location

Re: [PATCH] s390/mm: fix -Wunused-but-set-variable warnings

2019-10-04 Thread Christian Borntraeger
On 03.10.19 23:36, Qian Cai wrote: > Convert two functions to static inline to get ride of W=1 GCC warnings > like, > > mm/gup.c: In function 'gup_pte_range': > mm/gup.c:1816:16: warning: variable 'ptem' set but not used > [-Wunused-but-set-variable] > pte_t *ptep, *ptem; >

Re: [PATCH v5 01/10] mm/memunmap: Use the correct start and end pfn when removing pages from zone

2019-10-04 Thread David Hildenbrand
On 03.10.19 18:48, Aneesh Kumar K.V wrote: > On 10/1/19 8:33 PM, David Hildenbrand wrote: >> On 01.10.19 16:57, David Hildenbrand wrote: >>> On 01.10.19 16:40, David Hildenbrand wrote: From: "Aneesh Kumar K.V" With altmap, all the resource pfns are not initialized. While

Re: [PATCH v5 01/10] KVM: arm64: Document PV-time interface

2019-10-04 Thread Steven Price
On 03/10/2019 13:19, Andrew Jones wrote: > On Wed, Oct 02, 2019 at 03:50:28PM +0100, Steven Price wrote: >> Introduce a paravirtualization interface for KVM/arm64 based on the >> "Arm Paravirtualized Time for Arm-Base Systems" specification DEN 0057A. >> >> This only adds the details about "Stolen

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Giovanni Gherdovich
On Fri, 2019-10-04 at 10:29 +0200, Rafael J. Wysocki wrote: > On Fri, Oct 4, 2019 at 10:24 AM Giovanni Gherdovich > wrote: > > > > On Thu, 2019-10-03 at 20:31 -0700, Srinivas Pandruvada wrote: > > > On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > > > > On Wednesday, October 2,

Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-04 Thread Nicolas Saenz Julienne
On Thu, 2019-10-03 at 16:47 -0700, Florian Fainelli wrote: > On 10/3/19 12:39 PM, Nicolas Saenz Julienne wrote: > > On Thu, 2019-10-03 at 11:08 -0700, Florian Fainelli wrote: > > > On 10/2/19 4:45 AM, Nicolas Saenz Julienne wrote: > > > > Currently, in arm_dt_init_cpu_maps(), the hwid of the boot

[PATCH 3/7] dt-bindings: PCI: rcar: Add device tree support for r8a774b1

2019-10-04 Thread Fabrizio Castro
Add PCIe support for the RZ/G2N (a.k.a. R8A774B1). Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/pci/rcar-pci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pci/rcar-pci.txt b/Documentation/devicetree/bindings/pci/rcar-pci.txt

[PATCH 2/7] dt-bindings: spi: sh-msiof: Add r8a774b1 support

2019-10-04 Thread Fabrizio Castro
Document RZ/G2N (R8A774B1) SoC bindings. Signed-off-by: Fabrizio Castro --- This patch depends on https://patchwork.kernel.org/patch/11162283/ --- Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/7] dt-bindings: watchdog: renesas-wdt: Document r8a774b1 support

2019-10-04 Thread Fabrizio Castro
RZ/G2N (a.k.a. R8A774B1) watchdog implementation is compatible with R-Car Gen3, therefore add the relevant documentation. Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/7] Add RZ/G2N MSIOF/RWDT/PCIEC support

2019-10-04 Thread Fabrizio Castro
Dear All, this series adds MSDIF/RWDT/PCIEC support to the HiHope RZ/G2N. This series depends on the following series and patches: * https://patchwork.kernel.org/cover/11166155/ * https://patchwork.kernel.org/cover/11157129/ * https://patchwork.kernel.org/cover/11158259/ *

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Rafael J. Wysocki
On Fri, Oct 4, 2019 at 10:28 AM Vincent Guittot wrote: > > On Fri, 4 Oct 2019 at 10:24, Giovanni Gherdovich wrote: > > > > On Thu, 2019-10-03 at 20:31 -0700, Srinivas Pandruvada wrote: > > > On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > > > > On Wednesday, October 2, 2019 2:29:26

Re: [PATCH 0/6] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-10-04 Thread Adrian Hunter
On 3/10/19 4:43 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 03, 2019 at 10:25:31AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Thu, Oct 03, 2019 at 02:01:16PM +0300, Adrian Hunter escreveu: >>> On 6/09/19 11:57 AM, Adrian Hunter wrote: On 21/08/19 11:32 AM, Adrian Hunter wrote:

[PATCH 1/5] perf data: Correctly identify directory data files

2019-10-04 Thread Adrian Hunter
In order to rename the "header" file to "data" without conflicting, correctly identify the non-header files as starting with "data." Signed-off-by: Adrian Hunter --- tools/perf/util/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/data.c

[PATCH 3/5] perf data: Rename directory "header" file to "data"

2019-10-04 Thread Adrian Hunter
In preparation to support a single file directory format, rename "header" to "data" because "header" is a mis-leading name when there is only 1 file. Note, in the multi-file case, the "header" file also contains data. Signed-off-by: Adrian Hunter --- tools/perf/util/data.c | 2 +-

[PATCH 2/5] perf data: Move perf_dir_version into data.h

2019-10-04 Thread Adrian Hunter
perf_dir_version belongs to struct perf_data which is declared in data.h. To allow its use in inline perf_data functions, move perf_dir_version to data.h Signed-off-by: Adrian Hunter --- tools/perf/util/data.h | 4 tools/perf/util/header.h | 4 2 files changed, 4 insertions(+), 4

[PATCH 5/5] perf record: Put a copy of kcore into the perf.data directory

2019-10-04 Thread Adrian Hunter
Add a new 'perf record' option '--kcore' which will put a copy of /proc/kcore, kallsyms and modules into a perf.data directory. Note, that without the --kcore option, output goes to a file as previously. The tools' -o and -i options work with either a file name or directory name. Example: $

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

2019-10-04 Thread Daniel Lezcano
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 by the idle state depth: by default the deepest idle state is selected. On

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

2019-10-04 Thread Daniel Lezcano
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 and use it when calling play_idle(). There is no functional changes,

[PATCH 0/5] perf record: Put a copy of kcore into the perf.data directory

2019-10-04 Thread Adrian Hunter
Hi Here are patches to add a new 'perf record' option '--kcore' which will put a copy of /proc/kcore, kallsyms and modules into a perf.data directory. Note, that without the --kcore option, output goes to a file as previously. The tools' -o and -i options work with either a file name or directory

[PATCH 4/5] perf tools: Support single perf.data file directory

2019-10-04 Thread Adrian Hunter
Support directory output that contains a regular perf.data file, named "data". By default the directory is named perf.data i.e. perf.data └── data Most of the infrastucture to support a directory is already there. This patch makes the changes needed to support the format above.

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

2019-10-04 Thread Daniel Lezcano
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. Export cpuidle_find_deepest_state() symbol as it is used from the intel_powerclamp driver as a module. There is no functional changes, the

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Rafael J. Wysocki
On Fri, Oct 4, 2019 at 10:24 AM Giovanni Gherdovich wrote: > > On Thu, 2019-10-03 at 20:31 -0700, Srinivas Pandruvada wrote: > > On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > > > On Wednesday, October 2, 2019 2:29:26 PM CEST Giovanni Gherdovich > > > wrote: > > > > From: Srinivas

Re: [PATCH] rproc: Add elf64 support in elf loader

2019-10-04 Thread Clément Leger
Ping ? - On 13 Sep, 2019, at 12:58, Clément Leger cle...@kalray.eu wrote: > Ping ? > > - On 19 Aug, 2019, at 13:45, Clément Leger cle...@kalray.eu wrote: > >> From: Clément Leger >> >> elf32 and elf64 mainly differ by their types. In order to avoid >> copy/pasting the whole loader

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Vincent Guittot
On Fri, 4 Oct 2019 at 10:24, Giovanni Gherdovich wrote: > > On Thu, 2019-10-03 at 20:31 -0700, Srinivas Pandruvada wrote: > > On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > > > On Wednesday, October 2, 2019 2:29:26 PM CEST Giovanni Gherdovich > > > wrote: > > > > From: Srinivas

BISECTED: Compile error on 5.4-rc1

2019-10-04 Thread Harald Arnesen
I just tried to compile kernel 5.4-rc1 on my ThinkPad, which runs Devuan Beowulf. Got the following: $ make bindeb-pkg UPD include/config/kernel.release sh ./scripts/package/mkdebian dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch) -b -nc -uc dpkg-buildpackage: info: source package

Re: [PATCH] mm/page_alloc: Add a reason for reserved pages in has_unmovable_pages()

2019-10-04 Thread David Hildenbrand
On 03.10.19 14:14, Qian Cai wrote: > > >> On Oct 3, 2019, at 8:01 AM, Anshuman Khandual >> wrote: >> >> Will something like this be better ? > > Not really. dump_page() will dump PageCompound information anyway, so it is > trivial to figure out if went in that path. > I agree, I use the

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Giovanni Gherdovich
On Thu, 2019-10-03 at 20:31 -0700, Srinivas Pandruvada wrote: > On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > > On Wednesday, October 2, 2019 2:29:26 PM CEST Giovanni Gherdovich > > wrote: > > > From: Srinivas Pandruvada > > > > > > intel_pstate has two operating modes: active

Re: [PATCH v3 01/20] staging: wfx: add infrastructure for new driver

2019-10-04 Thread Greg Kroah-Hartman
On Thu, Sep 19, 2019 at 02:25:36PM +, Jerome Pouiller wrote: > From: Jérôme Pouiller > > Instantiate build infrastructure WFx driver. This driver provides support > for Wifi chipset Silicon Labs WF200 and further: > >

Re: [Cocci] [RFC] scripts: Fix coccicheck failed

2019-10-04 Thread Markus Elfring
>> How do you think about to avoid the addition of the SmPL variable >> “virtual report” to the script “add_namespace.cocci” if you would dare >> to integrate my change proposal for an adjusted directory hierarchy? > > Perhaps I'm lazy, but i seems simpler to add 20 characters than to move > all

[PATCH v2 3/7] phy: tegra: xusb: Protect Tegra186 soc with config

2019-10-04 Thread JC Kuo
As xusb-tegra186.c will be reused for Tegra194, it would be good to protect Tegra186 soc data with CONFIG_ARCH_TEGRA_186_SOC. This commit also reshuffles Tegra186 soc data single CONFIG_ARCH_TEGRA_186_SOC will be sufficient. Signed-off-by: JC Kuo --- Changes in v2: - new patch to protect

[PATCH v2 7/7] arm64: tegra: Enable XUSB host in P2972-0000 board

2019-10-04 Thread JC Kuo
This commit enables XUSB host and pad controller in Tegra194 P2972- board. Signed-off-by: JC Kuo --- Changes in v2: - use capitalization of regulator names - fix gpio property of VDD_5V_SATA regulator .../arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 36 ++-

Re: [PATCH v2 0/17] staging: qlge: Fix rx stall in case of allocation failures

2019-10-04 Thread Greg Kroah-Hartman
On Fri, Sep 27, 2019 at 07:11:54PM +0900, Benjamin Poirier wrote: > qlge refills rx buffers from napi context. In case of allocation failure, > allocation will be retried the next time napi runs. If a receive queue runs > out of free buffers (possibly after subsequent allocation failures), it >

[PATCH v2 6/7] arm64: tegra: Add XUSB and pad controller on Tegra194

2019-10-04 Thread JC Kuo
Adds the XUSB pad and XUSB controllers on Tegra194. Signed-off-by: JC Kuo --- Changes in v2: - renamed xhci@361 with usb@361 - moved padctl@352 and usb@361 inside /cbb - cleaned up "clocks" property of usb@361 node - added blanks lines to visually separate blocks

Re: [RFC PATCH 17/22] thunderbolt: Add initial support for USB4

2019-10-04 Thread Mika Westerberg
On Fri, Oct 04, 2019 at 11:07:34AM +0300, Yehezkel Bernat wrote: > > Also if you can get the hw_vendor_id and hw_product_id from the kernel > > does that mean you don't need to do the two reads or you still need > > those? > > Are those the chip vendor or the OEM, in case they are different?

[PATCH v2 1/7] xhci: tegra: Parameterize mailbox register addresses

2019-10-04 Thread JC Kuo
Tegra194 XUSB host controller has rearranged mailbox registers. This commit makes mailbox registers address a part of "soc" data so that xhci-tegra driver can be used for Tegra194. Signed-off-by: JC Kuo --- drivers/usb/host/xhci-tegra.c | 58 +-- 1 file changed,

[PATCH v2 4/7] phy: tegra: xusb: Add Tegra194 support

2019-10-04 Thread JC Kuo
Add support for the XUSB pad controller found on Tegra194 SoCs. It is mostly similar to the same IP found on Tegra186, but the number of pads exposed differs, as do the programming sequences. Because most of the Tegra194 XUSB PADCTL registers definition and programming sequence are the same as

[PATCH v2 2/7] usb: host: xhci-tegra: Add Tegra194 XHCI support

2019-10-04 Thread JC Kuo
This commit adds Tegra194 XUSB host mode controller support. This is very similar to the existing Tegra124/Tegra210/Tegra186 XHCI, except 1. the number of ports and PHYs differs 2. the IPFS wrapper being removed 3. mailbox registers address changes Signed-off-by: JC Kuo ---

[PATCH v2 5/7] dt-bindings: phy: tegra: Add Tegra194 support

2019-10-04 Thread JC Kuo
Extend the bindings to cover the set of features found in Tegra194. Note that, technically, there are four more supplies connected to the XUSB pad controller (DVDD_PEX, DVDD_PEX_PLL, HVDD_PEX and HVDD_PEX_PLL) , but the power sequencing requirements of Tegra194 require these to be under the

[PATCH v2 0/7] add Tegra194 XUSB host and pad controller support

2019-10-04 Thread JC Kuo
Hi, This series introduces support for Tegra194 XUSB host and pad controller. Tegra194 XUSB host and pad controller are highly similar to the controllers found on Tegra186. Therefore, it's possible to resue xhci-tegra.c and xusb-tegra186.c for Tegra194. JC Kuo (7): xhci: tegra: Parameterize

Re: [PATCH] mm: vmscan: remove unused scan_control parameter from pageout()

2019-10-04 Thread Michal Hocko
On Fri 04-10-19 01:41:38, Yang Shi wrote: > Since lumpy reclaim was removed in v3.5 scan_control is not used by > may_write_to_{queue|inode} and pageout() anymore, remove the unused > parameter. I haven't really checked whether it was the lumpy reclaim removal but it is clearly not used these

Re: [PATCH] mm/slub: fix a deadlock in show_slab_objects()

2019-10-04 Thread Michal Hocko
On Thu 03-10-19 15:44:29, Qian Cai wrote: > Long time ago, there fixed a similar deadlock in show_slab_objects() > [1]. However, it is apparently due to the commits like 01fb58bcba63 > ("slab: remove synchronous synchronize_sched() from memcg cache > deactivation path") and 03afc0e25f7f ("slab:

[PATCH] kvm: selftests: fix spelling mistake: missmatch -> mismatch

2019-10-04 Thread Colin King
From: Colin Ian King There is a spelling mistake in in an error message, fix it. Signed-off-by: Colin Ian King --- tools/testing/selftests/kvm/lib/sparsebit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/lib/sparsebit.c

Re: [RFC][PATCH 2/3] usb: roles: Add usb role switch notifier.

2019-10-04 Thread Heikki Krogerus
On Thu, Oct 03, 2019 at 10:51:38PM +0200, Hans de Goede wrote: > Hi, > > On 03-10-2019 22:37, John Stultz wrote: > > On Thu, Oct 3, 2019 at 2:25 AM Hans de Goede wrote: > > > On 03-10-2019 01:16, John Stultz wrote: > > > > From: Yu Chen > > > > > > > > This patch adds notifier for drivers want

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-04 Thread Daniel Bristot de Oliveira
On 04/10/2019 00:10, Steven Rostedt wrote: > On Wed, 2 Oct 2019 20:21:06 +0200 > Peter Zijlstra wrote: > >> On Wed, Oct 02, 2019 at 06:35:26PM +0200, Daniel Bristot de Oliveira wrote: >> >>> ftrace was already batching the updates, for instance, causing 3 IPIs to >>> enable >>> all functions.

Re: [PATCH v3] PCI: mobiveil: Fix csr_read/write build issue

2019-10-04 Thread Andrew Murray
On Fri, Oct 04, 2019 at 12:19:25PM +0800, Kefeng Wang wrote: > The riscv has csr_read/write macro, see arch/riscv/include/asm/csr.h, > the same function naming will cause build error, using such generic names > in a driver is bad, rename csr_[read,write][l,] to mobiveil_csr_read/write > to fix it.

Re: [PATCH] Input: add input_get_poll_interval()

2019-10-04 Thread Michal Vokáč
On 02. 10. 19 23:58, Dmitry Torokhov wrote: Some drivers need to be able to know the current polling interval for devices working in polling mode, let's allow them fetching it. Signed-off-by: Dmitry Torokhov Just tested to use this function from a mpr121_touchkey driver. Works as expected.

Re: [PATCH v2 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-10-04 Thread Rafael J. Wysocki
On Fri, Oct 4, 2019 at 5:31 AM Srinivas Pandruvada wrote: > > On Thu, 2019-10-03 at 20:05 +0200, Rafael J. Wysocki wrote: > > On Wednesday, October 2, 2019 2:29:26 PM CEST Giovanni Gherdovich > > wrote: > > > From: Srinivas Pandruvada > > > > > > intel_pstate has two operating modes: active and

Re: [RFC PATCH 17/22] thunderbolt: Add initial support for USB4

2019-10-04 Thread Yehezkel Bernat
On Fri, Oct 4, 2019 at 10:54 AM Mika Westerberg wrote: > > On Thu, Oct 03, 2019 at 02:41:11PM +, mario.limoncie...@dell.com wrote: > > > -Original Message- > > > From: Mika Westerberg > > > Sent: Thursday, October 3, 2019 3:00 AM > > > To: Limonciello, Mario > > > Cc:

Re: System hangs if NVMe/SSD is removed during suspend

2019-10-04 Thread Mika Westerberg
On Thu, Oct 03, 2019 at 09:50:33AM -0700, Tejun Heo wrote: > Hello, Mika. > > On Wed, Oct 02, 2019 at 03:21:36PM +0300, Mika Westerberg wrote: > > but from that discussion I don't see more generic solution to be > > implemented. > > > > Any ideas we should fix this properly? > > Yeah, the only

<    3   4   5   6   7   8   9   >