Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 20:19:34, Yafang Shao wrote: > On Tue, Aug 27, 2019 at 8:03 PM Michal Hocko wrote: > > > > On Tue 27-08-19 19:56:16, Yafang Shao wrote: > > > On Tue, Aug 27, 2019 at 7:50 PM Michal Hocko wrote: > > > > > > > > On Tue 27-08-19 19:43:49, Yafang Shao wrote: > > > > > On Tue, Aug 27,

Re: [PATCH 4/4] net: dsa: microchip: avoid hard-codded port count

2019-08-27 Thread Andrew Lunn
On Tue, Aug 27, 2019 at 12:31:10PM +0300, Razvan Stefanescu wrote: > Use port_cnt value to disable interrupts on switch reset. > > Signed-off-by: Razvan Stefanescu > --- > drivers/net/dsa/microchip/ksz9477.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ds

Re: [PATCH 06/13] irqchip: Add driver for Loongson-3 HyperTransport interrupt controller

2019-08-27 Thread Marc Zyngier
On 27/08/2019 09:52, Jiaxun Yang wrote: > This controller appeared on Loongson-3 family of chips to receive interrupts > from PCH chip. > > Signed-off-by: Jiaxun Yang > --- > drivers/irqchip/Kconfig | 8 ++ > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-ls3-htintc.c

Re: [PATCH 3/4] net: dsa: microchip: fix interrupt mask

2019-08-27 Thread Andrew Lunn
On Tue, Aug 27, 2019 at 12:31:09PM +0300, Razvan Stefanescu wrote: > Global Interrupt Mask Register comprises of Lookup Engine (LUE) Interrupt > Mask (bit 31) and GPIO Pin Output Trigger and Timestamp Unit Interrupt > Mask (bit 29). > > This corrects LUE bit. Hi Razvan Is this a fix? Something t

[PATCH] vfio/type1: avoid redundant PageReserved checking

2019-08-27 Thread Ben Luo
currently, if the page is not a tail of compound page, it will be checked twice for the same thing. Signed-off-by: Ben Luo --- drivers/vfio/vfio_iommu_type1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.

Re: [PATCH v6 11/11] arm/arm64: defconfig: Update configs to use the new CROS_EC options

2019-08-27 Thread Lee Jones
On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > Recently we refactored the CrOS EC drivers moving part of the code from > the MFD subsystem to the platform chrome subsystem. During this change > we needed to rename some config options, so, update the defconfigs > accordingly. > > Signed-off-

Re: [PATCH 07/13] dt-bindings: interrupt-controller: Add Loongson-3 HTINTC

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 3:59 AM Jiaxun Yang wrote: > > Document Loongson-3 HyperTransport Interrupt controller. > > Signed-off-by: Jiaxun Yang > --- > .../loongson,ls3-htintc.yaml | 53 +++ > 1 file changed, 53 insertions(+) > create mode 100644 > Documentation

Re: [PATCH 2/2] powerpc: cleanup hw_irq.h

2019-08-27 Thread Nicholas Piggin
Christophe Leroy's on August 27, 2019 6:13 pm: > SET_MSR_EE() is just use in this file and doesn't provide > any added value compared to mtmsr(). Drop it. > > Add macros to use wrtee/wrteei insn. > > Replace #ifdefs by IS_ENABLED() > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/inclu

[PATCH] Input: modify quirks of i2c-hid driver for weida's devices

2019-08-27 Thread hn.chen
From: HungNien Chen This 'SET_PWR_WAKEUP_DEV' quirk only works for weida's devices with pid 0xC300 & 0xC301. Some weida's devices with other pids also need this quirk now. Use 'HID_ANY_ID' instead of 0xC300 to make all of weida's devices can be fixed on the power on issue. This modification shoul

Re: [PATCH v6 08/11] mfd: cros_ec: Add convenience struct to define dedicated CrOS EC MCUs

2019-08-27 Thread Lee Jones
On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > With the increasing use of dedicated CrOS EC MCUs, it takes a fair amount > of boiler plate code to add those devices, add a struct that can be used > to specify a dedicated CrOS EC MCU so we can just add a new item to it to > define a new dedic

Re: [PATCH] x86: tpm: Remove a busy bit of the NVS area for supporting AMD's fTPM

2019-08-27 Thread Jarkko Sakkinen
On Mon, Aug 26, 2019 at 10:40:25AM -0700, Matthew Garrett wrote: > On Mon, Aug 26, 2019 at 1:18 AM Seunghun Han wrote: > > To support AMD's fTPM, I removed the busy bit from the ACPI NVS area like > > the reserved area so that AMD's fTPM regions could be assigned in it. > > drivers/acpi/nvs.c sav

Re: [PATCH v6 10/11] mfd: cros_ec: Use mfd_add_hotplug_devices() helper

2019-08-27 Thread Lee Jones
On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > Use mfd_add_hotplug_devices() helper to register the subdevices. The > helper allows us to reduce the boiler plate and also registers the > subdevices in the same way as used in other functions used in this > files. > > Signed-off-by: Enric Bal

Re: [PATCH 11/13] dt-bindings: mips: Add loongson cpus & boards

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 3:55 AM Jiaxun Yang wrote: > > Prepare for later dts. > > Signed-off-by: Jiaxun Yang > --- > .../bindings/mips/loongson/cpus.yaml | 38 +++ > .../bindings/mips/loongson/devices.yaml | 64 +++ > 2 files changed, 102 insertions(+) > c

[PATCH 2/2] powerpc/pseries: Delete an error message for a failed string duplication in dlpar_store()

2019-08-27 Thread Markus Elfring
From: Markus Elfring Date: Tue, 27 Aug 2019 13:37:56 +0200 Omit an extra message for a memory allocation failure in this function. Signed-off-by: Markus Elfring --- arch/powerpc/platforms/pseries/dlpar.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/powerpc/platfo

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-27 Thread Dan Murphy
Tony On 8/27/19 7:18 AM, Pavel Machek wrote: On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: * Pavel Machek [190826 22:14]: On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: Hi, * Dan Murphy [190820 19:53]: Fix the brightness control for I2C mode. Instead of changing the full scale curre

Re: a bug in genksysms/CONFIG_MODVERSIONS w/ __attribute__((foo))?

2019-08-27 Thread Nicholas Piggin
Masahiro Yamada's on August 27, 2019 8:49 pm: > Hi. > > On Tue, Aug 27, 2019 at 6:59 PM Nicholas Piggin wrote: >> >> Nick Desaulniers's on August 27, 2019 8:57 am: >> > On Mon, Aug 26, 2019 at 2:22 PM Nick Desaulniers >> > wrote: >> >> >> >> I'm looking into a linkage failure for one of our devi

[PATCH 1/2] powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store()

2019-08-27 Thread Markus Elfring
From: Markus Elfring Date: Tue, 27 Aug 2019 13:34:02 +0200 A null pointer would be passed to a call of the function “kfree” immediately after a call of the function “kstrdup” failed at one place. Remove this superfluous function call. This issue was detected by using the Coccinelle software. Si

Re: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-27 Thread Leonard Crestez
On 27.08.2019 04:51, Anson Huang wrote: >> In an earlier series the CLK_IS_CRITICAL flags was removed from the TMU >> clock so if the thermal driver doesn't explicitly enable it the system will >> hang >> on probe. This is what happens in linux-next right now! > > The thermal driver should be bui

[PATCH 0/2] PowerPC-pSeries: Adjustments for dlpar_store()

2019-08-27 Thread Markus Elfring
From: Markus Elfring Date: Tue, 27 Aug 2019 14:33:21 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an unnecessary kfree() call Delete an error message for a failed string duplication arch/powerpc/platforms/pseries/dlpar.c

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-27 Thread Qian Cai
On Mon, 2019-08-26 at 12:36 -0700, Edward Chron wrote: > This patch series provides code that works as a debug option through > debugfs to provide additional controls to limit how much information > gets printed when an OOM event occurs and or optionally print additional > information about slab us

Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX wrote: > > From: Ramuthevar Vadivel Murugan > > Add a YAML schema to use the host controller driver with the > SDXC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > .../bindings/phy/intel,

Re: dma-buf: Add selftests for dma-fence

2019-08-27 Thread Chris Wilson
Quoting Geert Uytterhoeven (2019-08-27 13:30:04) > Hi Chris, > > When running the new dmabuf-selftests on two different systems, I get: > > dma-buf: Running sanitycheck > dma-buf: Running dma_fence > sizeof(dma_fence)=48 > dma-buf: Running dma_fence/sanitycheck > dma-buf: Runn

Re: [PATCH] dt-bindings: mmc: aspeed: Update example ranges property

2019-08-27 Thread Rob Herring
On Sun, Aug 25, 2019 at 9:15 PM Andrew Jeffery wrote: > > The example node in the binding uses the AST2500 compatible string for > the SD controller with a 64kiB ranges property, but the SD controller is > allocated 128kiB of MMIO space according to the AST2500 datasheet. Fix > the example to corr

Re: [ANNOUNCE] v5.2.10-rt5

2019-08-27 Thread Alexander Dahl
Hello Sebastian, Am Dienstag, 27. August 2019, 12:55:42 CEST schrieb Sebastian Andrzej Siewior: > I'm pleased to announce the v5.2.10-rt5 patch set. > > Changes since v5.2.10-rt4: > > - Take care of compile issue within the timer-atmel-tcb driver on > AT91. Reported by Alexander Dahl, patc

[PATCH v2 2/2] ASoC: sun4i: Revert A83t description

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard The last set of reworks included some fixes to change the A83t behaviour and "fix" it. It turns out that the controller described in the datasheet and the one supported here are not the same, yet the A83t has the two of them, and the one supported in the driver wasn't the one

[PATCH v2 1/2] input: keyboard: snvs_pwrkey: Send key events for i.MX6 S, DL and Q

2019-08-27 Thread Robin van der Gracht
The first generation i.MX6 processors does not send an interrupt when the power key is pressed. It sends a power down request interrupt if the key is released before a hard shutdown (5 second press). This should allow software to bring down the SoC safely. For this driver to work as a regular powe

[PATCH v2 2/2] arm: dts: imx6qdl: snvs-pwrkey: Change compatible string

2019-08-27 Thread Robin van der Gracht
The older imx6 SoCs do not send a power key press interrupt, instead it sends a power down request interrupt when the key is released between 750ms and 5 seconds. The driver uses a different compatible string to ID the older SoCs. Signed-off-by: Robin van der Gracht --- arch/arm/boot/dts/imx6qdl

[PATCH v2 1/2] ASoC: sun4i-i2s: Revert "ASoC: sun4i-i2s: Remove duplicated quirks structure"

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard This reverts commit 3e9acd7ac6933cdc20c441bbf9a38ed9e42e1490. It turns out that while one I2S controller is described in the A83t datasheet, the driver supports another, undocumented, one that has been inherited from the older SoCs, while the documented one uses the new desig

HELLO FRIEND

2019-08-27 Thread Abibatu Ali
Hello I'm "Mrs.Abibatu Ali" married to Mr. Ali ( an International Contractor and Oil Merchant/ jointly in Exposition of Agro Equipment ) who died in Burkina Faso attack, i am 64 years old and diagnosed of cancer for about 2 years ago and my husband informed me that he deposited the sum of (17.3

objtool warning "uses BP as a scratch register" with clang-9

2019-08-27 Thread Arnd Bergmann
I upgraded to the latest clang-9 snapshot from http://apt.llvm.org/ today. Many problems are fixed, but I still get tons of warnings like arch/x86/kernel/cpu/mtrr/generic.o: warning: objtool: mtrr_type_lookup_variable uses BP as a scratch register arch/x86/kernel/process.o: warning: objtool: get_t

Re: [PATCH v2 4/4] sched/fair: Prevent active LB from preempting higher sched classes

2019-08-27 Thread Vincent Guittot
On Thu, 15 Aug 2019 at 16:52, Valentin Schneider wrote: > > The CFS load balancer can cause the cpu_stopper to run a function to > try and steal a remote rq's running task. However, it so happens > that while only CFS tasks will ever be migrated by that function, we > can end up preempting higher

Re: [PATCH rebased] powerpc/fadump: when fadump is supported register the fadump sysfs files.

2019-08-27 Thread Hari Bathini
Hi Michal, Thanks for the patch. On 20/08/19 11:42 PM, Michal Suchanek wrote: > Currently it is not possible to distinguish the case when fadump is > supported by firmware and disabled in kernel and completely unsupported > using the kernel sysfs interface. User can investigate the devicetree

Re: [PATCH] uuid: Add helpers for finding UUID from an array

2019-08-27 Thread Heikki Krogerus
On Tue, Aug 27, 2019 at 01:54:18PM +0200, Christoph Hellwig wrote: > On Tue, Aug 27, 2019 at 02:49:18PM +0300, Heikki Krogerus wrote: > > Matching function that compares every UUID in an array to a > > given UUID with guid_equal(). > > > > Signed-off-by: Heikki Krogerus > > --- > > Hi, > > > > I

Re: [PATCH 1/2] x86/microcode: Update late microcode in parallel

2019-08-27 Thread Borislav Petkov
On Mon, Aug 26, 2019 at 01:23:39PM -0700, Raj, Ashok wrote: > > Cloud customers have expressed discontent as services disappear for a > > prolonged time. The restriction is that only one core goes through the > s/one core/one thread of a core/ > > > update while other cores are quiesced. > s/cores

Re: [PATCH] arm: xen: mm: use __GPF_DMA32 for arm64

2019-08-27 Thread Robin Murphy
On 09/07/2019 09:22, Peng Fan wrote: arm64 shares some code under arch/arm/xen, including mm.c. However ZONE_DMA is removed by commit ad67f5a6545("arm64: replace ZONE_DMA with ZONE_DMA32"). So to ARM64, need use __GFP_DMA32. Signed-off-by: Peng Fan --- arch/arm/xen/mm.c | 2 +- 1 file change

Re: [RESEND PATCH v4 3/4] dt-bindings: ASoC: Add WSA881x bindings

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 6:38 PM Srinivas Kandagatla wrote: > > This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker > Amplifier. This Amplifier also has a simple thermal sensor for > over temperature and speaker protection. > > Signed-off-by: Srinivas Kandagatla > --- > .../binding

[PATCH] modpost: add NOFAIL to strndup

2019-08-27 Thread Denis Efremov
Add NOFAIL check for the strndup call, because the function allocates memory and can return NULL. All calls to strdup in modpost are checked with NOFAIL. Signed-off-by: Denis Efremov --- scripts/mod/modpost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mod/mod

Re: [PATCH v2 06/24] EDAC: Kill EDAC_DIMM_PTR() macro

2019-08-27 Thread Robert Richter
On 13.08.19 16:59:47, Borislav Petkov wrote: > > + * > > + * For 2 layers, this macro is similar to allocate a bi-dimensional array > > + * and to return "dimms[layer0][layer1]"; > > + * > > + * For 3 layers, this macro is similar to allocate a tri-dimensional array > > + * and to return "dimms[lay

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Yafang Shao
On Tue, Aug 27, 2019 at 8:03 PM Michal Hocko wrote: > > On Tue 27-08-19 19:56:16, Yafang Shao wrote: > > On Tue, Aug 27, 2019 at 7:50 PM Michal Hocko wrote: > > > > > > On Tue 27-08-19 19:43:49, Yafang Shao wrote: > > > > On Tue, Aug 27, 2019 at 6:43 PM Michal Hocko wrote: > > > > > > > > > > If

Re: [PATCH v3 06/11] KVM: SVM: Add KVM_SEV_RECEIVE_FINISH command

2019-08-27 Thread Borislav Petkov
On Wed, Jul 10, 2019 at 08:13:07PM +, Singh, Brijesh wrote: > The command finalize the guest receiving process and make the SEV guest > ready for the execution. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Paolo Bonzini > Cc: "Radim Krčmář" > Cc: Joerg Roedel >

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-27 Thread Pavel Machek
On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: > * Pavel Machek [190826 22:14]: > > On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: > > > Hi, > > > > > > * Dan Murphy [190820 19:53]: > > > > Fix the brightness control for I2C mode. Instead of > > > > changing the full scale current register

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-27 Thread Kirill A. Shutemov
On Tue, Aug 27, 2019 at 02:09:23PM +0200, Michal Hocko wrote: > On Tue 27-08-19 14:01:56, Vlastimil Babka wrote: > > On 8/27/19 1:02 PM, Kirill A. Shutemov wrote: > > > On Tue, Aug 27, 2019 at 08:01:39AM +0200, Michal Hocko wrote: > > >> On Mon 26-08-19 16:15:38, Kirill A. Shutemov wrote: > > >>> >

Re: [PATCH V3 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-08-27 Thread Tianyu Lan
On Tue, Aug 27, 2019 at 2:41 PM Vitaly Kuznetsov wrote: > > lantianyu1...@gmail.com writes: > > > From: Tianyu Lan > > > > This patchset is to add Hyper-V direct tlb support in KVM. Hyper-V > > in L0 can delegate L1 hypervisor to handle tlb flush request from > > L2 guest when direct tlb flush is

[PATCH v2 15/15] drivers: thermal: tsens: Add interrupt support

2019-08-27 Thread Amit Kucheria
Depending on the IP version, TSENS supports upper, lower, max, min and critical threshold interrupts. We only add support for upper and lower threshold interrupts for now. TSENSv2 has an irq [status|clear|mask] bit tuple for each sensor while earlier versions only have a single bit per sensor to d

[PATCH v2 08/15] arm64: dts: sdm845: thermal: Add interrupt support

2019-08-27 Thread Amit Kucheria
Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 88 +++- 1 file changed, 46 insertions(+), 42 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/

[PATCH v2 14/15] drivers: thermal: tsens: Create function to return sign-extended temperature

2019-08-27 Thread Amit Kucheria
Hide the details of how to convert values read from TSENS HW to mCelsius behind a function. All versions of the IP can be supported as a result. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens-common.c | 50 + drivers/thermal/qcom/tsens.h| 2 ++ 2

[PATCH v2 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors

2019-08-27 Thread Amit Kucheria
msm8916 uses sensors 0, 1, 2, 4 and 5. Sensor 3 is NOT used. Fixup the device tree so that the correct sensor ID is used and as a result we can actually check the temperature for the cpu2_3 sensor. Signed-off-by: Amit Kucheria Reviewed-by: Daniel Lezcano --- arch/arm64/boot/dts/qcom/msm8916.dts

[PATCH v2 09/15] arm64: dts: msm8996: thermal: Add interrupt support

2019-08-27 Thread Amit Kucheria
Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 60 ++- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot

[PATCH v2 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

2019-08-27 Thread Amit Kucheria
Move platform_set_drvdata up to avoid an extra 'if (ret)' check after the call to tsens_register. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd Reviewed-by: Daniel Lezcano --- drivers/thermal/qcom/tsens.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/driv

[PATCH v2 12/15] arm: dts: msm8974: thermal: Add interrupt support

2019-08-27 Thread Amit Kucheria
Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria Tested-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974.dtsi | 36 +++-- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/a

[PATCH v2 01/15] drivers: thermal: tsens: Get rid of id field in tsens_sensor

2019-08-27 Thread Amit Kucheria
There are two fields - id and hw_id - to track what sensor an action was to performed on. This was because the sensors connected to a TSENS IP might not be contiguous i.e. 1, 2, 4, 5 with 3 being skipped. This causes confusion in the code which uses hw_id sometimes and id other times (tsens_get_te

[PATCH v2 13/15] arm64: dts: msm8916: thermal: Add interrupt support

2019-08-27 Thread Amit Kucheria
Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.d

[PATCH v2 11/15] arm64: dts: qcs404: thermal: Add interrupt support

2019-08-27 Thread Amit Kucheria
Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 42 +++- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs40

[PATCH v2 04/15] drivers: thermal: tsens: Add debugfs support

2019-08-27 Thread Amit Kucheria
Dump some basic version info and sensor details into debugfs. Example from qcs404 below: --(/sys/kernel/debug) $ ls tsens/ 4a9000.thermal-sensor version --(/sys/kernel/debug) $ cat tsens/version 1.4.0 --(/sys/kernel/debug) $ cat tsens/4a9000.thermal-sensor/sensors max: 11 num: 10 idslo

[PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver

2019-08-27 Thread Amit Kucheria
Define two new required properties to define interrupts and interrupt-names for tsens. Signed-off-by: Amit Kucheria --- Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt b

[PATCH v2 10/15] arm64: dts: msm8998: thermal: Add interrupt support

2019-08-27 Thread Amit Kucheria
Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 82 ++- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot

[PATCH v2 05/15] arm: dts: msm8974: thermal: Add thermal zones for each sensor

2019-08-27 Thread Amit Kucheria
msm8974 has 11 sensors connected to a single TSENS IP. Define a thermal zone for each of those sensors to expose the temperature of each zone. Signed-off-by: Amit Kucheria Tested-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974.dtsi | 90 + 1 file changed, 90 inse

[PATCH v2 03/15] drivers: thermal: tsens: Add __func__ identifier to debug statements

2019-08-27 Thread Amit Kucheria
Printing the function name when enabling debugging makes logs easier to read. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd Reviewed-by: Daniel Lezcano --- drivers/thermal/qcom/tsens-common.c | 8 drivers/thermal/qcom/tsens.c| 6 +++--- 2 files changed, 7 insertions(+

[PATCH v2] udf: augment UDF permissions on new inodes

2019-08-27 Thread Steven J. Magnani
Windows presents files created within Linux as read-only, even when permissions in Linux indicate the file should be writable. UDF defines a slightly different set of basic file permissions than Linux. Specifically, UDF has "delete" and "change attribute" permissions for each access class (user/g

[PATCH v2 00/15] thermal: qcom: tsens: Add interrupt support

2019-08-27 Thread Amit Kucheria
Changes since v1: - Collected reviews and acks - Addressed Stephen's review comments (hopefully I got them all). - Completely removed critical interrupt infrastructure from this series. Will post that separately. - Fixed a bug in sign-extension of temperature. - Fixed DT bindings to use the name

Re: [PATCH v4 4/8] dt-bindings: clock: Add devicetree binding for BM1880 SoC

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 12:25 PM Manivannan Sadhasivam wrote: > > Add YAML devicetree binding for Bitmain BM1880 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > .../bindings/clock/bitmain,bm1880-clk.yaml| 74 + > include/dt-bindings/clock/bm1880-clock.h | 82 ++

Re: [PATCH v3 05/11] KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command

2019-08-27 Thread Borislav Petkov
On Wed, Jul 10, 2019 at 08:13:06PM +, Singh, Brijesh wrote: > The command is used for copying the incoming buffer into the > SEV guest memory space. ... > +static int sev_receive_update_data(struct kvm *kvm, struct kvm_sev_cmd *argp) > +{ > + struct kvm_sev_info *sev = &to_kvm_svm(kvm)->s

Re: [alsa-devel] [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume

2019-08-27 Thread Daniel Baluta
On Tue, Aug 27, 2019 at 1:15 PM Shengjiu Wang wrote: > > Use force_suspend/resume to make sure clocks are disabled/enabled > accordingly during system suspend/resume. > > Signed-off-by: Dong Aisheng > Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta > --- > sound/soc/codecs/cs42xx8.c

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 14:01:56, Vlastimil Babka wrote: > On 8/27/19 1:02 PM, Kirill A. Shutemov wrote: > > On Tue, Aug 27, 2019 at 08:01:39AM +0200, Michal Hocko wrote: > >> On Mon 26-08-19 16:15:38, Kirill A. Shutemov wrote: > >>> > >>> Unmapped completely pages will be freed with current code. Deferred

Re: [Patch v3] drivers: mtd: spi-nor: Add flash property for mt25qu512a and mt35xu02g

2019-08-27 Thread Tudor.Ambarus
Hi, Ashish, On 08/13/2019 01:38 PM, Ashish Kumar wrote: > External E-Mail > > > mt25qu512a is rebranded after its spinoff from STM, so it is > different only in term of operating frequency, initial JEDEC id > is same as that of n25q512a. In order to avoid any confussion > with respect to name ne

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 19:56:16, Yafang Shao wrote: > On Tue, Aug 27, 2019 at 7:50 PM Michal Hocko wrote: > > > > On Tue 27-08-19 19:43:49, Yafang Shao wrote: > > > On Tue, Aug 27, 2019 at 6:43 PM Michal Hocko wrote: > > > > > > > > If there are no objection to the patch I will post it as a standalong >

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-27 Thread Dan Murphy
Tony On 8/26/19 5:44 PM, Tony Lindgren wrote: * Pavel Machek [190826 22:14]: On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: Hi, * Dan Murphy [190820 19:53]: Fix the brightness control for I2C mode. Instead of changing the full scale current register update the ALS target register for th

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-27 Thread Vlastimil Babka
On 8/27/19 1:02 PM, Kirill A. Shutemov wrote: > On Tue, Aug 27, 2019 at 08:01:39AM +0200, Michal Hocko wrote: >> On Mon 26-08-19 16:15:38, Kirill A. Shutemov wrote: >>> >>> Unmapped completely pages will be freed with current code. Deferred split >>> only applies to partly mapped THPs: at least on

Re: [PATCH v2 03/20] dt-bindings: arm: mrvl: Document MMP3 compatible string

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 4:33 AM Lubomir Rintel wrote: > > Marvel MMP3 is a successor to MMP2, containing similar peripherals with two > PJ4B cores. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Rebased on top of mrvl.txt->mrvl.yaml conversion > > Documentation/devicetree/bind

RE: [PATCH 3/4] mdev: Expose mdev alias in sysfs tree

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 5:25 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

Re: [PATCH v2 02/20] dt-bindings: arm: Convert Marvell MMP board/soc bindings to json-schema

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 4:27 AM Lubomir Rintel wrote: > > Convert Marvell MMP SoC bindings to DT schema format using json-schema. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Added this patch > > .../devicetree/bindings/arm/mrvl/mrvl.txt | 14 - > .../devicetree/

RE: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 5:11 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Yafang Shao
On Tue, Aug 27, 2019 at 7:50 PM Michal Hocko wrote: > > On Tue 27-08-19 19:43:49, Yafang Shao wrote: > > On Tue, Aug 27, 2019 at 6:43 PM Michal Hocko wrote: > > > > > > If there are no objection to the patch I will post it as a standalong > > > one. > > > > I have no objection to your patch. It c

Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages

2019-08-27 Thread Christoph Hellwig
On Tue, Aug 27, 2019 at 06:03:14PM +0900, Masahiro Yamada wrote: > Yes, this makes my driver working again > when CONFIG_DMA_CMA=y. > > > If I apply the following, my driver gets back working > irrespective of CONFIG_DMA_CMA. That sounds a lot like the device simply isn't 64-bit DMA capable, and

Re: [PATCH 3/4] mdev: Expose mdev alias in sysfs tree

2019-08-27 Thread Cornelia Huck
On Tue, 27 Aug 2019 11:52:21 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Tuesday, August 27, 2019 5:05 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; lin

Re: [PATCH 05/19] virtio: Implement get_shm_region for MMIO transport

2019-08-27 Thread Vivek Goyal
On Tue, Aug 27, 2019 at 10:39:43AM +0200, Cornelia Huck wrote: > On Wed, 21 Aug 2019 13:57:06 -0400 > Vivek Goyal wrote: > > > From: Sebastien Boeuf > > > > On MMIO a new set of registers is defined for finding SHM > > regions. Add their definitions and use them to find the region. > > > > Cc

Re: [PATCH] uuid: Add helpers for finding UUID from an array

2019-08-27 Thread Christoph Hellwig
On Tue, Aug 27, 2019 at 02:49:18PM +0300, Heikki Krogerus wrote: > Matching function that compares every UUID in an array to a > given UUID with guid_equal(). > > Signed-off-by: Heikki Krogerus > --- > Hi, > > I don't have a user for these helpers, but since they are pretty > trivial, I figured

Re: [PATCH 04/19] virtio: Implement get_shm_region for PCI transport

2019-08-27 Thread Vivek Goyal
On Tue, Aug 27, 2019 at 10:34:57AM +0200, Cornelia Huck wrote: > On Wed, 21 Aug 2019 13:57:05 -0400 > Vivek Goyal wrote: > > > From: Sebastien Boeuf > > > > On PCI the shm regions are found using capability entries; > > find a region by searching for the capability. > > > > Cc: k...@vger.kerne

RE: [PATCH 3/4] mdev: Expose mdev alias in sysfs tree

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 5:05 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

Re: WARNINGs in set_task_reclaim_state with memory cgroup andfullmemory usage

2019-08-27 Thread Yafang Shao
On Sat, Aug 24, 2019 at 9:05 PM Hillf Danton wrote: > > > On Sat, 24 Aug 2019 16:15:38 +0800 Yafang Shao wrote: > > > > The memcg soft reclaim is called from kswapd reclam path and direct > > reclaim path, > > so why not pass the scan_control from the callsite in these two > > reclaim paths and us

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 19:43:49, Yafang Shao wrote: > On Tue, Aug 27, 2019 at 6:43 PM Michal Hocko wrote: > > > > If there are no objection to the patch I will post it as a standalong > > one. > > I have no objection to your patch. It could fix the issue. > > I still think that it is not proper to use

[PATCH] uuid: Add helpers for finding UUID from an array

2019-08-27 Thread Heikki Krogerus
Matching function that compares every UUID in an array to a given UUID with guid_equal(). Signed-off-by: Heikki Krogerus --- Hi, I don't have a user for these helpers, but since they are pretty trivial, I figured that might as well propose them in any case. Though, I think there was somebody pro

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 14:02:10, Kirill A. Shutemov wrote: > On Tue, Aug 27, 2019 at 08:01:39AM +0200, Michal Hocko wrote: > > On Mon 26-08-19 16:15:38, Kirill A. Shutemov wrote: > > > On Mon, Aug 26, 2019 at 09:40:35AM +0200, Michal Hocko wrote: > > > > On Thu 22-08-19 18:29:34, Kirill A. Shutemov wrote:

[PATCH] wimax/i2400m: remove redundant assignment to variable result

2019-08-27 Thread Colin King
From: Colin Ian King Variable result is being assigned a value that is never read and result is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Signed-off-by: Colin Ian King --- drivers/net/wimax/i2400m/rx.c | 1 -

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Yafang Shao
On Tue, Aug 27, 2019 at 6:43 PM Michal Hocko wrote: > > If there are no objection to the patch I will post it as a standalong > one. I have no objection to your patch. It could fix the issue. I still think that it is not proper to use a new scan_control here as it breaks the global reclaim conte

Re: [PATCH 2/2] uacce: add uacce module

2019-08-27 Thread Kenneth Lee
On Mon, Aug 26, 2019 at 06:29:10AM +0200, Greg Kroah-Hartman wrote: > Date: Mon, 26 Aug 2019 06:29:10 +0200 > From: Greg Kroah-Hartman > To: Kenneth Lee > CC: zhangfei , Arnd Bergmann , > linux-accelerat...@lists.ozlabs.org, linux-kernel@vger.kernel.org, Zaibo > Xu , Zhou Wang > Subject: Re: [

Re: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Cornelia Huck
On Tue, 27 Aug 2019 11:33:54 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Tuesday, August 27, 2019 4:54 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; lin

Re: [PATCH 3/4] mdev: Expose mdev alias in sysfs tree

2019-08-27 Thread Cornelia Huck
On Tue, 27 Aug 2019 11:07:37 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Tuesday, August 27, 2019 4:17 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; lin

RE: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 4:54 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

Re: [PATCH] leds: Replace {devm_}led_classdev_register() macros with inlines

2019-08-27 Thread Pavel Machek
On Mon 2019-08-26 23:02:19, Jacek Anaszewski wrote: > Replace preprocessor macro aliases for legacy LED registration helpers > with inline functions. It will allow to avoid misleading compiler error > messages about missing symbol that actually wasn't explicitly used > in the code. It used to occur

[PATCH] arcnet: capmode: remove redundant assignment to pointer pkt

2019-08-27 Thread Colin King
From: Colin Ian King Pointer pkt is being initialized with a value that is never read and pkg is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Signed-off-by: Colin Ian King --- drivers/net/arcnet/capmode.c | 2 +

Re: [PATCH 2/4] mdev: Make mdev alias unique among all mdevs

2019-08-27 Thread Cornelia Huck
On Tue, 27 Aug 2019 11:08:59 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Tuesday, August 27, 2019 3:59 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; lin

Re: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Cornelia Huck
On Tue, 27 Aug 2019 11:12:23 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Tuesday, August 27, 2019 3:54 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; lin

Re: [PATCH v4 1/7] perf: arm64: Add test to check userspace access to hardware counters.

2019-08-27 Thread Jonathan Cameron
On Thu, 22 Aug 2019 15:42:14 +0100 Raphael Gault wrote: > This test relies on the fact that the PMU registers are accessible > from userspace. It then uses the perf_event_mmap_page to retrieve > the counter index and access the underlying register. > > This test uses sched_setaffinity(2) in orde

RE: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 3:54 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

[PATCH] media: dvb: redundant assignment to variable tmp

2019-08-27 Thread Colin King
From: Colin Ian King Variable tmp is being assigned a value that is never read and tmp is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Signed-off-by: Colin Ian King --- drivers/media/dvb-frontends/sp8870.c | 2

[PATCH] modpost: add guid_t type definition

2019-08-27 Thread Heikki Krogerus
Since guid_t is the recommended data type for UUIDs in kernel (and I guess uuid_le is meant to be ultimately replaced with it), it should be made available here as well. Signed-off-by: Heikki Krogerus --- scripts/mod/file2alias.c | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/m

RE: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 3:54 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

RE: [PATCH 2/4] mdev: Make mdev alias unique among all mdevs

2019-08-27 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Tuesday, August 27, 2019 3:59 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re

[PATCH v3] video: hyperv: hyperv_fb: Obtain screen resolution from Hyper-V host

2019-08-27 Thread Wei Hu
Beginning from Windows 10 RS5+, VM screen resolution is obtained from host. The "video=hyperv_fb" boot time option is not needed, but still can be used to overwrite what the host specifies. The VM resolution on the host could be set by executing the powershell "set-vmvideo" command. v2: - Implemen

<    4   5   6   7   8   9   10   11   12   13   >