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 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 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 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: 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 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: [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 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 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: [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 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: 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] 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: [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: [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: [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: [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 ++

[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

[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 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 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 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 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 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

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

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: [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: 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 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

[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: [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

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: [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] 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 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 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

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

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

[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

[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 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

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

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: 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 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: [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

[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 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 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: 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

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

[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 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

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 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

[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 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

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 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-

[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 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

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 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: 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 net] rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up

2019-08-27 Thread David Howells
David Miller wrote: > Once you've removed the entries from the globally visible idle_client_comms > list, and put them on the local garbage list, they cannot be seen in any way > by external threads of control outside of this function. Yeah, I think you're right. I was thinking that it might ra

Re: [PATCH v2 1/4] x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls

2019-08-27 Thread Borislav Petkov
On Fri, Aug 23, 2019 at 10:13:13AM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > Vmware has historically used an "inl" instruction for this, but recent > hardware versions support using VMCALL/VMMCALL instead, so use this method > if supported at platform detection time. We

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-27 Thread Trond Myklebust
On Tue, 2019-08-27 at 06:25 -0400, Jan Stancek wrote: > That theory is probably not correct for this case, since EIO I see > appears > to originate from write and nfs_writeback_result(). This function > also > produces message we saw in logs from Naresh. > > I can't find where/how is resp->count u

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

2019-08-27 Thread Kirill A. Shutemov
On Tue, Aug 27, 2019 at 03:17:39PM +0300, Kirill A. Shutemov wrote: > 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

[PATCH] leds: syscon: Use resource managed variant of device register

2019-08-27 Thread Alexander Dahl
We have a MFD driver compiled as module instantiating this driver. When unloading that module, those LED devices are not removed, which produces conflicts, when that module is inserted again. Signed-off-by: Alexander Dahl --- drivers/leds/leds-syscon.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH v1 1/1] spi: bcm-qspi: Make BSPI default mode

2019-08-27 Thread Kamal Dasu
The spi-nor controller defaults to BSPI mode. So its being put to its default mode. Kamal On Tue, Aug 6, 2019 at 8:16 AM Mark Brown wrote: > > On Tue, Aug 06, 2019 at 03:44:34PM +0530, Rayagonda Kokatanur wrote: > > Switch back to BSPI mode after MSPI operations (write and erase) > > are comple

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

2019-08-27 Thread Dan Murphy
Hello On 8/27/19 7:44 AM, Dan Murphy wrote: 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 m

Re: numlist API Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-08-27 Thread Petr Mladek
On Tue 2019-08-27 01:57:39, John Ogness wrote: > On 2019-08-23, Petr Mladek wrote: > >> --- /dev/null > >> +++ b/kernel/printk/numlist.c > >> @@ -0,0 +1,375 @@ > >> +// SPDX-License-Identifier: GPL-2.0 > >> + > >> +#include > >> +#include "numlist.h" > > > > struct numlist is really special varia

Re: [PATCH v2 3/4] watchdog/aspeed: add support for dual boot

2019-08-27 Thread Guenter Roeck
On 8/27/19 2:24 AM, Ivan Mikhaylov wrote: On Mon, 2019-08-26 at 17:14 -0700, Guenter Roeck wrote: +/* + * At alternate side the 'access_cs0' sysfs node provides: + * ast2400: a way to get access to the primary SPI flash chip at CS0 + *after booting from the alternate chip at CS1. +

[PATCH 1/3] KVM: x86: fix wrong return code

2019-08-27 Thread Jan Dakinevich
x86_emulate_instruction(), the caller of x86_decode_insn(), expects that x86_decode_insn()'s returning value belongs to EMULATION_* name space. However, this function may return value from X86EMUL_* name space. Although, the code behaves properly (because both X86EMUL_CONTINUE and EMULATION_OK are

Re: linux-next: Fixes tags need some work in the arm-soc tree

2019-08-27 Thread Arnd Bergmann
On Mon, Aug 26, 2019 at 11:44 AM Alexandre Torgue wrote: > On 8/13/19 11:47 PM, Stephen Rothwell wrote: > > Hi Arnd, > > > > On Tue, 13 Aug 2019 21:35:58 +0200 Arnd Bergmann wrote: > >> > >> On Tue, Aug 13, 2019 at 4:28 PM Stephen Rothwell > >> wrote: > >> > >>> > >>> Please do not split Fixes

[PATCH 3/3] KVM: x86: always stop emulation on page fault

2019-08-27 Thread Jan Dakinevich
inject_emulated_exception() returns true if and only if nested page fault happens. However, page fault can come from guest page tables walk, either nested or not nested. In both cases we should stop an attempt to read under RIP and give guest to step over its own page fault handler. Fixes: 6ea6e84

[PATCH 0/3] fix emulation error on Windows bootup

2019-08-27 Thread Jan Dakinevich
This series intended to fix (again) a bug that was a subject of the following change: 6ea6e84 ("KVM: x86: inject exceptions produced by x86_decode_insn") Suddenly, that fix had a couple mistakes. First, ctxt->have_exception was not set if fault happened during instruction decoding. Second, re

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 8:38 PM Vitaly Kuznetsov wrote: > > Tianyu Lan writes: > > > 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

[PATCH 2/3] KVM: x86: set ctxt->have_exception in x86_decode_insn()

2019-08-27 Thread Jan Dakinevich
x86_emulate_instruction() takes into account ctxt->have_exception flag during instruction decoding, but in practice this flag is never set in x86_decode_insn(). Fixes: 6ea6e84 ("KVM: x86: inject exceptions produced by x86_decode_insn") Cc: Denis Lunev Cc: Roman Kagan Cc: Denis Plotnikov Signed-

Re: [PATCH 05/13] dt-bindings: interrupt-controller: Add Loongson-3 IOINTC

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 4:00 AM Jiaxun Yang wrote: > > Document Loongson-3 I/O Interrupt controller. > > Signed-off-by: Jiaxun Yang > --- > .../loongson,ls3-iointc.yaml | 61 +++ > 1 file changed, 61 insertions(+) > create mode 100644 > Documentation/devicetree

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-27 Thread Joel Fernandes
On Tue, Aug 27, 2019 at 11:23:33AM +0200, Sebastian Andrzej Siewior wrote: [snip] > > However, if this was instead an rcu_read_lock() critical section within > > a PREEMPT=y kernel, then if a schedule() occured within stop_one_task(), > > RCU would consider that critical section to be preempted. T

[PATCH 0/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-27 Thread Peter Xu
The work is based on Thomas's s390 port for dirty_log_test. This series originates from "[PATCH] KVM: selftests: Detect max PA width from cpuid" [1] and one of Drew's comments - instead of keeping the hackish line to overwrite guest_pa_bits all the time, this series introduced the new mode VM_MODE

[PATCH 3/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-27 Thread Peter Xu
The naming VM_MODE_P52V48_4K is explicit but unclear when used on x86_64 machines, because x86_64 machines are having various physical address width rather than some static values. Here's some examples: - Intel Xeon E3-1220: 36 bits - Intel Core i7-8650: 39 bits - AMD EPYC 7251: 48

Re: [PATCH v2 01/10] PCI: designware-ep: Add multiple PFs support for DWC

2019-08-27 Thread Andrew Murray
On Fri, Aug 23, 2019 at 11:50:20PM +, Xiaowei Bao wrote: > > > > -Original Message- > > From: Andrew Murray > > Sent: 2019年8月23日 21:25 > > To: Xiaowei Bao > > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > > shawn...@kernel.org; Leo Li ; kis...@ti.com; > > lore

[PATCH 1/4] KVM: selftests: Move vm type into _vm_create() internally

2019-08-27 Thread Peter Xu
Rather than passing the vm type from the top level to the end of vm creation, let's simply keep that as an internal of kvm_vm struct and decide the type in _vm_create(). Several reasons for doing this: - The vm type is only decided by physical address width and currently only used in aarch64, s

[PATCH 4/4] KVM: selftests: Remove duplicate guest mode handling

2019-08-27 Thread Peter Xu
Remove the duplication code in run_test() of dirty_log_test because after some reordering of functions now we can directly use the outcome of vm_create(). Meanwhile, with the new VM_MODE_PXXV48_4K, we can safely revert b442324b58 too where we stick the x86_64 PA width to 39 bits for dirty_log_test

[PATCH 2/4] KVM: selftests: Create VM earlier for dirty log test

2019-08-27 Thread Peter Xu
Since we've just removed the dependency of vm type in previous patch, now we can create the vm much earlier. Note that to move it earlier we used an approximation of number of extra pages but it should be fine. This prepares for the follow up patches to finally remove the duplication of guest mod

<    2   3   4   5   6   7   8   9   10   11   >