Re: [PATCH] scsi: mvumi: fix 32 bit shift of a u32 value

2019-08-14 Thread walter harms
Am 13.08.2019 20:01, schrieb Colin King: > From: Colin Ian King > > Currently the top 32 bits of a 64 bit address is being calculated > by shifting a u32 twice by 16 bits and then being cast into a 64 > bit address. Shifting a u32 twice by 16 bits always ends up with > a zero. Fix this by ca

[PATCH] mfd: asic3: Include the right header

2019-08-14 Thread Linus Walleij
This is a GPIO driver, use the appropriate header rather than the legacy header. Cc: Paul Parsons Signed-off-by: Linus Walleij --- drivers/mfd/asic3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 83b18c998d6f..a6bd2134cea2

[PATCH v1 2/4] soc: fsl: guts: Add definition for LS1028A

2019-08-14 Thread Yinbo Zhu
Adding compatible string "ls1028a-dcfg" to initialize guts driver for ls1028 and SoC die attribute definition for LS1028A Signed-off-by: Yinbo Zhu --- drivers/soc/fsl/guts.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c index 1ef8068c8d

[PATCH v1 1/4] arm64: dts: ls1028a-rdb: enable emmc hs400 mode

2019-08-14 Thread Yinbo Zhu
This patch is to enable emmc hs400 mode for ls1028ardb Signed-off-by: Yinbo Zhu --- arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls10

[PATCH v1 4/4] mmc: sdhci-of-esdhc: add erratum A011334 support in ls1028a 1.0 SoC

2019-08-14 Thread Yinbo Zhu
This patch is to add erratum A011334 support in ls1028a 1.0 SoC Signed-off-by: Yinbo Zhu --- drivers/mmc/host/sdhci-of-esdhc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index b16f7d440f78..eb2b290447fc 100644 --- a/

Re: [PATCH V38 15/29] acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down

2019-08-14 Thread Borislav Petkov
On Wed, Aug 07, 2019 at 05:07:07PM -0700, Matthew Garrett wrote: > From: Josh Boyer > > This option allows userspace to pass the RSDP address to the kernel, which > makes it possible for a user to modify the workings of hardware. Reject > the option when the kernel is locked down. This requires s

[PATCH v1 3/4] arm64: dts: ls1028a: fix little-big endian issue for dcfg

2019-08-14 Thread Yinbo Zhu
dcfg use little endian that SoC register value will be correct Signed-off-by: Yinbo Zhu --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls102

Re: [PATCH v2 1/2] dt-bindings: pwm: sprd: Add Spreadtrum PWM documentation

2019-08-14 Thread Baolin Wang
Hi Uwe, On Wed, 14 Aug 2019 at 15:01, Uwe Kleine-König wrote: > > Hello Baolin, > > On Wed, Aug 14, 2019 at 09:51:34AM +0800, Baolin Wang wrote: > > On Tue, 13 Aug 2019 at 22:13, Uwe Kleine-König > > wrote: > > > On Tue, Aug 13, 2019 at 09:46:40PM +0800, Baolin Wang wrote: > > > > +- assigned-cl

Re: [PATCH V38 15/29] acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down

2019-08-14 Thread Borislav Petkov
On Wed, Aug 07, 2019 at 05:07:07PM -0700, Matthew Garrett wrote: > From: Josh Boyer > > This option allows userspace to pass the RSDP address to the kernel, which > makes it possible for a user to modify the workings of hardware. Reject > the option when the kernel is locked down. This requires s

答复: [PATCH v2] Bluetooth: btrtl: Save firmware and config

2019-08-14 Thread 陆朱伟
Hi Marcel, It only saves the latest fw and config for only one device. I will dig the caching capability of request_firmware first. Thanks, BRs, > Subject: Re: [PATCH v2] Bluetooth: btrtl: Save firmware and config > > Hi Alex, > > > usb reset resume will cause downloading firmware again and > >

[PATCH V3 2/4] iio: adc: ad_sigma_delta: Export ad_sd_calibrate

2019-08-14 Thread Mircea Caprioru
This patch exports the ad_sd_calibrate function in order to be able to call it from outside ad_sigma_delta. There are cases where the option to calibrate one channel at a time is necessary (ex. system calibration for zero scale and full scale). Signed-off-by: Mircea Caprioru --- Changelog V2: -

[PATCH V3 1/4] staging: iio: adc: ad7192: Add low_pass_3db_filter_frequency

2019-08-14 Thread Mircea Caprioru
By adding this option we are able to remove the sync3 field and dt binding. When setting the required cutoff frequency we also determine the ADC configuration for chop and sync filter. Signed-off-by: Mircea Caprioru --- Changelog V2: - no changes here Changelog V3: - no changes here drivers/st

[PATCH V3 4/4] dt-bindings: iio: adc: ad7192: Add binding documentation for AD7192

2019-08-14 Thread Mircea Caprioru
This patch add device tree binding documentation for AD7192 adc in YAML format. Signed-off-by: Mircea Caprioru --- Changelog V2: - remove description from spi and interrupt properties - changed the name of the device from ad7192 to adc in the example Changelog V3: - added semicolon at the end of

[PATCH V3 3/4] staging: iio: adc: ad7192: Add system calibration support

2019-08-14 Thread Mircea Caprioru
This patch will add a system calibration attribute for each channel. Using this option the user will have the ability to calibrate each channel for zero scale and full scale. It uses the iio_chan_spec_ext_info and IIO_ENUM to implement the functionality. Signed-off-by: Mircea Caprioru --- Changel

Re: Regression in Linux next with show wakeup sources stats in sysfs

2019-08-14 Thread Tony Lindgren
* Stephen Boyd [190814 07:09]: > Quoting Tony Lindgren (2019-08-13 23:38:03) > > Hi all, > > > > Looks like commit 986845e747af ("PM / wakeup: Show wakeup sources stats > > in sysfs") has caused a regression in Linux next where I can now get > > some errors like this during the boot: > > > > kob

Re: [PATCH] soc: xilinx: Set CAP_UNUSABLE requirement for versal while powering down domain

2019-08-14 Thread Michal Simek
On 08. 08. 19 21:00, Jolly Shah wrote: > From: Tejas Patel > > For "0" requirement which is used to inform firmware that > device is not required currently by master, Versal LibPM disables This could be the first time when LibPM is mentioned in connection to Versal. That's why you should also sa

答复: [PATCH v2] Bluetooth: btusb: Fix suspend issue for Realtek devices

2019-08-14 Thread 陆朱伟
Hi Marcel, Okay, I will send a version for bluetooth-next. Thanks, BRs. > Subject: Re: [PATCH v2] Bluetooth: btusb: Fix suspend issue for Realtek > devices > > Hi Alex, > > > From the perspective of controller, global suspend means there is no > > SET_FEATURE (DEVICE_REMOTE_WAKEUP) and control

[PATCH V2 3/3] KVM/Hyper-V/VMX: Add direct tlb flush support

2019-08-14 Thread lantianyu1986
From: Vitaly Kuznetsov This patch is to enable Hyper-V direct tlb flush function for vmx. Signed-off-by: Vitaly Kuznetsov Signed-off-by: Tianyu Lan --- arch/x86/include/asm/hyperv-tlfs.h | 4 arch/x86/kvm/vmx/evmcs.h | 2 ++ arch/x86/kvm/vmx/vmx.c | 38 +++

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

2019-08-14 Thread lantianyu1986
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 enabled in L1. Patch 2 introduces new cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH to enable feature from user space. User

Re: linux-next: Tree for Aug 13

2019-08-14 Thread Stephen Rothwell
Hi all, On Wed, 14 Aug 2019 08:14:18 +0200 Marek Szyprowski wrote: > > On 2019-08-13 16:56, Steven Rostedt wrote: > > This looks related to what Marek posted. > > > > > > https://lore.kernel.org/linux-security-module/3028ed35-3b6d-459f-f3c8-103c5636f...@samsung.com/ > > > > Care to apply the

Re: [PATCH] PCI: dwc: Add map irq callback

2019-08-14 Thread Christoph Hellwig
On Wed, Aug 14, 2019 at 02:56:49PM +0800, Dilip Kota wrote: > Certain platforms like Intel need to configure > registers to enable the interrupts. > Map Irq callback helps to perform platform specific > configurations while assigning or enabling the interrupts. This seems to miss the hunk that act

Re: [PATCH AUTOSEL 5.2 067/123] driver core: Fix use-after-free and double free on glue directory

2019-08-14 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2019 at 10:09:51PM -0400, Sasha Levin wrote: > From: Muchun Song > > [ Upstream commit ac43432cb1f5c2950408534987e57c2071e24d8f ] > > There is a race condition between removing glue directory and adding a new > device under the glue dir. It can be reproduced in following test: >

Re: [PATCH AUTOSEL 4.19 31/68] driver core: Fix use-after-free and double free on glue directory

2019-08-14 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2019 at 10:15:09PM -0400, Sasha Levin wrote: > From: Muchun Song > > [ Upstream commit ac43432cb1f5c2950408534987e57c2071e24d8f ] > > There is a race condition between removing glue directory and adding a new > device under the glue dir. It can be reproduced in following test: >

Re: [PATCH AUTOSEL 4.14 18/44] driver core: Fix use-after-free and double free on glue directory

2019-08-14 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2019 at 10:18:07PM -0400, Sasha Levin wrote: > From: Muchun Song > > [ Upstream commit ac43432cb1f5c2950408534987e57c2071e24d8f ] > > There is a race condition between removing glue directory and adding a new > device under the glue dir. It can be reproduced in following test: >

Re: [PATCH v2 1/2] dt-bindings: pwm: sprd: Add Spreadtrum PWM documentation

2019-08-14 Thread Uwe Kleine-König
On Wed, Aug 14, 2019 at 03:25:53PM +0800, Baolin Wang wrote: > Hi Uwe, > > On Wed, 14 Aug 2019 at 15:01, Uwe Kleine-König > wrote: > > > > Hello Baolin, > > > > On Wed, Aug 14, 2019 at 09:51:34AM +0800, Baolin Wang wrote: > > > On Tue, 13 Aug 2019 at 22:13, Uwe Kleine-König > > > wrote: > > > >

Re: [PATCH v2 0/2] ARM: zynq: smp improvements

2019-08-14 Thread Michal Simek
On 08. 08. 19 14:52, Luis Araneda wrote: > This series adds support for kernel compiled in Thumb mode > and fixes a kernel panic on smp bring-up when FORTIFY_SOURCE > is enabled. > > The series started with the second patch as an RFC, and > the first patch were suggested on the review to complemen

Re: [patch] mm, page_alloc: move_freepages should not examine struct page of reserved memory

2019-08-14 Thread Vlastimil Babka
On 8/13/19 7:22 PM, David Rientjes wrote: > On Tue, 13 Aug 2019, Vlastimil Babka wrote: > >> > After commit 907ec5fca3dc ("mm: zero remaining unavailable struct pages"), >> > struct page of reserved memory is zeroed. This causes page->flags to be 0 >> > and fixes issues related to reading /proc/k

[PATCH] KVM : remove redundant assignment of var new_entry

2019-08-14 Thread Miaohe Lin
new_entry is reassigned a new value next line. So it's redundant and remove it. Signed-off-by: Miaohe Lin --- arch/x86/kvm/svm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index d685491fce4d..e3d3b2128f2b 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/

[PATCH v1] Bluetooth: hci_qca: Skip 1 error print in device_want_to_sleep()

2019-08-14 Thread Rocky Liao
Don't fall through to print error message when receive sleep indication in HCI_IBS_RX_ASLEEP state, this is allowed behavior. Signed-off-by: Rocky Liao --- drivers/bluetooth/hci_qca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bl

Re: linux-next: build warning after merge of the staging tree

2019-08-14 Thread Greg KH
On Wed, Aug 14, 2019 at 04:08:35PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/iio/light/noa1305.c: In function 'noa1305_scale': > drivers/iio/light/noa1305.c:87:9: warning: this s

Re: [PATCH 2/2] riscv: Add KASAN support

2019-08-14 Thread Nick Hu
Hi Christoph, Thanks for your reply. I will answer one by one. Hi Alexander, Would you help me for the question about SOFTIRQENTRY_TEXT? On Mon, Aug 12, 2019 at 11:10:50PM +0800, Christoph Hellwig wrote: > > 2. KASAN can't debug the modules since the modules are allocated in VMALLOC > > area. W

Re: [PATCH] powerpc/32s: fix boot failure with DEBUG_PAGEALLOC without KASAN.

2019-08-14 Thread Jonathan Neuschäfer
On Wed, Aug 14, 2019 at 05:28:35AM +, Christophe Leroy wrote: > When KASAN is selected, the definitive hash table has to be > set up later, but there is already an early temporary one. > > When KASAN is not selected, there is no early hash table, > so the setup of the definitive hash table can

[PATCH 1/2] PTP: introduce new versions of IOCTLs

2019-08-14 Thread Felipe Balbi
The current version of the IOCTL have a small problem which prevents us from extending the API by making use of reserved fields. In these new IOCTLs, we are now making sure that flags and rsv fields are zero which will allow us to extend the API in the future. Signed-off-by: Felipe Balbi --- dri

[PATCH 2/2] PTP: add support for one-shot output

2019-08-14 Thread Felipe Balbi
Some controllers allow for a one-shot output pulse, in contrast to periodic output. Now that we have extensible versions of our IOCTLs, we can finally make use of the 'flags' field to pass a bit telling driver that if we want one-shot pulse output. Signed-off-by: Felipe Balbi --- drivers/ptp/ptp

Re: [PATCH 14/22] ARM: omap1: use pci_ioremap_io() for omap_cf

2019-08-14 Thread Tony Lindgren
* Arnd Bergmann [190813 19:34]: > On Tue, Aug 13, 2019 at 8:12 PM Aaro Koskinen wrote: > > On Tue, Aug 13, 2019 at 01:02:16PM +0200, Arnd Bergmann wrote: > > > On Tue, Aug 13, 2019 at 12:36 PM Tony Lindgren wrote: > > > > > - I force CONFIG_PCI to be enabled here in order to keep the > > > asm

Re: [Linux-kernel-mentees] [PATCH v2 1/3] PCI: sysfs: Define device attributes with DEVICE_ATTR*()

2019-08-14 Thread Greg KH
On Tue, Aug 13, 2019 at 02:45:11PM -0600, Kelsey Skunberg wrote: > Defining device attributes should be done through the helper > DEVICE_ATTR*(_name, _mode, _show, _store). Change all instances using > __ATTR*() to now use DEVICE_ATTR*(). > > Example of old: > > struct device_attribute dev_attr_#

Re: [PATCH v2 1/2] dt-bindings: pwm: sprd: Add Spreadtrum PWM documentation

2019-08-14 Thread Baolin Wang
Hi Uwe, On 14/08/2019, Uwe Kleine-König wrote: > On Wed, Aug 14, 2019 at 03:25:53PM +0800, Baolin Wang wrote: >> Hi Uwe, >> >> On Wed, 14 Aug 2019 at 15:01, Uwe Kleine-König >> wrote: >> > >> > Hello Baolin, >> > >> > On Wed, Aug 14, 2019 at 09:51:34AM +0800, Baolin Wang wrote: >> > > On Tue, 13

Re: [Linux-kernel-mentees] [PATCH v2 2/3] PCI: sysfs: Change permissions from symbolic to octal

2019-08-14 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 12:38:46AM -0500, Bjorn Helgaas wrote: > [+cc Bodong, Don, Greg for permission question] > > On Tue, Aug 13, 2019 at 02:45:12PM -0600, Kelsey Skunberg wrote: > > Symbolic permissions such as "(S_IWUSR | S_IWGRP)" are not > > preferred and octal permissions should be used in

Re: [PATCH v5 11/15] ASoC: sun4i-i2s: Add support for H6 I2S

2019-08-14 Thread Jernej Škrabec
Hi! Dne sreda, 14. avgust 2019 ob 08:08:50 CEST je codekip...@gmail.com napisal(a): > From: Jernej Skrabec > > H6 I2S is very similar to that in H3, except it supports up to 16 > channels. > > Signed-off-by: Jernej Skrabec Your Signed-off-by is missing here and on all other patches made orig

Re: [PATCH 0/3 5.2-stable] Sync mappings in vmalloc/ioremap areas

2019-08-14 Thread Joerg Roedel
Hi Greg, On Tue, Aug 13, 2019 at 08:36:42PM +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 13, 2019 at 05:28:11PM +0200, Joerg Roedel wrote: > > From: Joerg Roedel > > > > Backport commits from upstream to fix a data corruption > > issue that gets exposed when using PTI on x86-32. > > > > Pleas

Thank you for contacting me!!

2019-08-14 Thread ダブルダウン in アメリカ
このメールは自動返信メールです。 メッセージ確認後、as soon as possibleでお返事致します。 いただいたメッセージ: Bitcoin rate is growing. Become a millionaire. Get a passive income of $ 3,500 per day.: http://niabatdoco.tk/5jqnr?xcU5z -- このメールは ダブルダウン in アメリカ (http://ddowninamerica.com) のお問い合わせフォームから送信されました

[PATCH 02/10] nouveau: reset dma_nr in nouveau_dmem_migrate_alloc_and_copy

2019-08-14 Thread Christoph Hellwig
When we start a new batch of dma_map operations we need to reset dma_nr, as we start filling a newly allocated array. Signed-off-by: Christoph Hellwig Reviewed-by: Ralph Campbell --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/nouve

Re: [v7 1/2] dt-bindings: gpio: aspeed: Add SGPIO support

2019-08-14 Thread Linus Walleij
On Wed, Jul 31, 2019 at 10:01 PM Hongwei Zhang wrote: > Add bindings to support SGPIO on AST2400 or AST2500. > > Signed-off-by: Hongwei Zhang > Reviewed-by: Andrew Jeffery OK timeout for further DT binding review. I adjusted a bunch of things like whitespace and referencing other files when

[tip:x86/cleanups] lib: Remove redundant ftrace flag removal

2019-08-14 Thread tip-bot for Mark Rutland
Commit-ID: 41b57d1bb8a4084e651c1f9a754fca64952666a0 Gitweb: https://git.kernel.org/tip/41b57d1bb8a4084e651c1f9a754fca64952666a0 Author: Mark Rutland AuthorDate: Tue, 6 Aug 2019 17:25:39 +0100 Committer: Borislav Petkov CommitDate: Wed, 14 Aug 2019 09:48:58 +0200 lib: Remove redundant f

[PATCH 05/10] nouveau: remove a few function stubs

2019-08-14 Thread Christoph Hellwig
nouveau_dmem_migrate_vma and nouveau_dmem_convert_pfn are only called when CONFIG_DRM_NOUVEAU_SVM is enabled, so there is no need to provide !CONFIG_DRM_NOUVEAU_SVM stubs for them. Signed-off-by: Christoph Hellwig --- drivers/gpu/drm/nouveau/nouveau_dmem.h | 11 --- 1 file changed, 11 de

[PATCH 06/10] nouveau: simplify nouveau_dmem_migrate_to_ram

2019-08-14 Thread Christoph Hellwig
Factor the main copy page to ram routine out into a helper that acts on a single page and which doesn't require the nouveau_dmem_fault structure for argument passing. Also remove the loop over multiple pages as we only handle one at the moment, although the structure of the main worker function ma

[PATCH 03/10] nouveau: factor out device memory address calculation

2019-08-14 Thread Christoph Hellwig
Factor out the repeated device memory address calculation into a helper. Signed-off-by: Christoph Hellwig Reviewed-by: Ralph Campbell --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 42 +++--- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/nouve

Re: [PATCH v2 0/2] Simplify mtty driver and mdev core

2019-08-14 Thread Cornelia Huck
On Wed, 14 Aug 2019 05:54:36 + Parav Pandit wrote: > > > I get that part. I prefer to remove the UUID itself from the structure > > > and therefore removing this API makes lot more sense? > > > > Mdev and support tools around mdev are based on UUIDs because it's defined > > in the document

答复: [PATCH v2] Bluetooth: btusb: Fix suspend issue for Realtek devices

2019-08-14 Thread 陆朱伟
Hi Dmitry, It's only for Realtek devices. If Realtek device firmware receives SET_FEATURE(device remote wakeup) usb cmd during usb is suspending, it will remains in suspend state. Otherwise, firmware will drop itself and device will consume less power. But when host resumes, it needs to reload fi

Re: [RFC PATCH v2 07/19] fs/xfs: Teach xfs to use new dax_layout_busy_page()

2019-08-14 Thread Dave Chinner
On Mon, Aug 12, 2019 at 11:05:51AM -0700, Ira Weiny wrote: > On Sat, Aug 10, 2019 at 09:30:37AM +1000, Dave Chinner wrote: > > On Fri, Aug 09, 2019 at 03:58:21PM -0700, ira.we...@intel.com wrote: > > > From: Ira Weiny > > > > > > dax_layout_busy_page() can now operate on a sub-range of the > > >

Re: [PATCH] mfd: asic3: Include the right header

2019-08-14 Thread Lee Jones
On Wed, 14 Aug 2019, Linus Walleij wrote: > This is a GPIO driver, use the appropriate header > rather than the legacy > header. > > Cc: Paul Parsons > Signed-off-by: Linus Walleij > --- > drivers/mfd/asic3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee

Re: [RFC PATCH v2 01/19] fs/locks: Export F_LAYOUT lease to user space

2019-08-14 Thread Dave Chinner
On Mon, Aug 12, 2019 at 10:36:26AM -0700, Ira Weiny wrote: > On Sat, Aug 10, 2019 at 09:52:31AM +1000, Dave Chinner wrote: > > On Fri, Aug 09, 2019 at 03:58:15PM -0700, ira.we...@intel.com wrote: > > > + /* > > > + * NOTE on F_LAYOUT lease > > > + * > > > + * LAYOUT lease types are taken on file

Dear,

2019-08-14 Thread Sylvester Fred
Dear, please i am still waiting to hear form you after sending the second message to you

Re: [PATCH] scsi: mvumi: fix 32 bit shift of a u32 value

2019-08-14 Thread Dan Carpenter
On Tue, Aug 13, 2019 at 07:01:13PM +0100, Colin King wrote: > From: Colin Ian King > > Currently the top 32 bits of a 64 bit address is being calculated > by shifting a u32 twice by 16 bits and then being cast into a 64 > bit address. Shifting a u32 twice by 16 bits always ends up with > a zero.

Re: [v7 2/2] gpio: aspeed: Add SGPIO driver

2019-08-14 Thread Linus Walleij
Hi Hongwei, thanks for your patch! I have now merged the bindings so you only need to respin this patch. On Wed, Jul 31, 2019 at 10:02 PM Hongwei Zhang wrote: > Add SGPIO driver support for Aspeed AST2500 SoC. > > Signed-off-by: Hongwei Zhang > Reviewed-by: Andrew Jeffery I guess I need t

Re: [PATCH v5 04/11] media: uapi: h264: Add the concept of start code

2019-08-14 Thread Hans Verkuil
On 8/12/19 9:35 PM, Ezequiel Garcia wrote: > Stateless decoders have different expectations about the > start code that is prepended on H264 slices. Add a > menu control to express the supported start code types > (including no start code). > > Drivers are allowed to support only one start code ty

Re: [PATCH] mm: vmscan: do not share cgroup iteration between reclaimers

2019-08-14 Thread Michal Hocko
On Tue 13-08-19 13:12:37, Johannes Weiner wrote: > On Tue, Aug 13, 2019 at 03:29:38PM +0200, Michal Hocko wrote: > > On Mon 12-08-19 15:23:16, Johannes Weiner wrote: [...] > > > This change completely eliminates the OOM kills on our service, while > > > showing no signs of overreclaim - no increase

PLEASE CONFIRM PURCHASE ORDER

2019-08-14 Thread Mr NARESH KUMAR
Could you please confirm if your recieved our purchase order last week. If no please confirm let me resend it to you. NARESH KUMAR Executive Purchase Saiapextrading Ltd Dubai, KSA. (T/F): +96-2667-264 777 / 778 (Mo): +96 94284 02803 Website - http://www.saiapexgeneraltrading.com

Re: [PATCH v9 6/7] powerpc/mce: Handle UE event for memcpy_mcsafe

2019-08-14 Thread Mahesh Jagannath Salgaonkar
On 8/12/19 2:52 PM, Santosh Sivaraj wrote: > If we take a UE on one of the instructions with a fixup entry, set nip > to continue execution at the fixup entry. Stop processing the event > further or print it. > > Co-developed-by: Reza Arbab > Signed-off-by: Reza Arbab > Cc: Mahesh Salgaonkar >

[PATCH] platform/chrome: cros_ec_rpmsg: Add host command AP sleep state support

2019-08-14 Thread Yilun Lin
Add EC host command to inform EC of AP suspend/resume status. Signed-off-by: Yilun Lin --- drivers/platform/chrome/cros_ec_rpmsg.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_rpmsg.c b/drivers/platform/chrome/cros_ec_rpmsg.c index 5

Re: [PATCH] phy: renesas: rcar-gen3-usb2: Fix sysfs interface of "role"

2019-08-14 Thread Pavel Machek
On Wed 2019-07-31 18:01:29, Yoshihiro Shimoda wrote: > Since the role_store() uses strncmp(), it's possible to refer > out-of-memory if the sysfs data size is smaller than strlen("host"). > This patch fixes it by using sysfs_streq() instead of strncmp(). > > Reported-by: Pavel Machek > Fixes: 9bb

[PATCH 0/2] dt-bindings: serial: lantiq: Convert to YAML & add support for new SoC

2019-08-14 Thread Rahul Tanwar
Patch 1 converts existing dt bindings txt file to YAML schema. Patch 2 updates the dt bindings YAML contents to add support for newly supported Intel Lightning Mountain(LGM) SoC. These patches are baselined upon Linux 5.3-rc4 at below Git tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh

[PATCH 1/2] dt-bindings: serial: lantiq: Convert to YAML schema

2019-08-14 Thread Rahul Tanwar
Convert the existing DT binding document for Lantiq SoC ASC serial controller from txt format to YAML format. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/serial/lantiq_asc.txt | 31 -- .../devicetree/bindings/serial/lantiq_asc.yaml | 70 ++ 2 file

[PATCH 2/2] dt-bindings: lantiq: Update for new SoC

2019-08-14 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC reuses Lantiq ASC serial controller IP. This patch updates the dt bindings to support LGM as well. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/serial/lantiq_asc.yaml | 17 + 1 file changed, 17 insertions(+) diff --git a/Docu

[PATCH v2 0/2] riscv: Correct the initialized flow of FP and __fstate_clean()

2019-08-14 Thread Vincent Chen
The following two reasons cause FP registers are sometimes not initialized before starting the user program. 1. Currently, the FP context is initialized in flush_thread() function and we expect these initial values to be restored to FP register when doing FP context switch. However, the FP co

[PATCH v2 2/2] riscv: Make __fstate_clean() work correctly.

2019-08-14 Thread Vincent Chen
Make the __fstate_clean() function correctly set the state of sstatus.FS in pt_regs to SR_FS_CLEAN. Fixes: 7db91e5 ("RISC-V: Task implementation") Cc: linux-stable Signed-off-by: Vincent Chen Reviewed-by: Anup Patel Reviewed-by: Christoph Hellwig --- arch/riscv/include/asm/switch_to.h | 2 +-

[PATCH v2 1/2] riscv: Correct the initialized flow of FP register

2019-08-14 Thread Vincent Chen
The following two reasons cause FP registers are sometimes not initialized before starting the user program. 1. Currently, the FP context is initialized in flush_thread() function and we expect these initial values to be restored to FP register when doing FP context switch. However, the FP

Re: [linux-sunxi] [PATCH v5 12/15] ASoC: sun4i-i2s: Add multi-lane functionality

2019-08-14 Thread Jernej Škrabec
Hi! Dne sreda, 14. avgust 2019 ob 08:08:51 CEST je codekip...@gmail.com napisal(a): > From: Marcus Cooper > > The i2s block supports multi-lane i2s output however this functionality > is only possible in earlier SoCs where the pins are exposed and for > the i2s block used for HDMI audio on the

Re: [linux-sunxi] [PATCH v5 14/15] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2019-08-14 Thread Jernej Škrabec
Hi! Dne sreda, 14. avgust 2019 ob 08:08:53 CEST je codekip...@gmail.com napisal(a): > From: Marcus Cooper > > Extend the functionality of the driver to include support of 20 and > 24 bits per sample for the earlier SoCs. > > Newer SoCs can also handle 32bit samples. > > Signed-off-by: Marcus

[PATCH 1/2] ASoC: fsl_sai: Add support for imx8qm

2019-08-14 Thread Daniel Baluta
SAI module on imx8qm features a register map similar with imx6 series (it doesn't have VERID and PARAM registers at the beginning of address spece). Also, it has one FIFO which can help up to 64 * 32 bit samples. Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_sai.c | 7 +++ 1 file chang

[PATCH 0/2] Add support for i.MX8QM

2019-08-14 Thread Daniel Baluta
i.MX8QM SOC integrates 6 SAI instances. Register map is similar with i.MX6 series. Daniel Baluta (2): ASoC: fsl_sai: Add support for imx8qm ASoC: dt-bindings: Introduce compatible string for imx8qm Documentation/devicetree/bindings/sound/fsl-sai.txt | 3 ++- sound/soc/fsl/fsl_sai.c

[PATCH 2/2] ASoC: dt-bindings: Introduce compatible string for imx8qm

2019-08-14 Thread Daniel Baluta
Register map for i.MX8QM is similar with i.MX6 series. Integration of SAI IP into i.MX8QM SOC features a FIFO size of 64 X 32 bits samples. Signed-off-by: Daniel Baluta --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/D

[PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-14 Thread Hayes Wang
Move the tx bottom function from NAPI to a new tasklet. Then, for multi-cores, the bottom functions of tx and rx may be run at same time with different cores. This is used to improve performance. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 39 ++-

Re: [PATCH] HID: uhid: actually use the err number from userspace

2019-08-14 Thread David Rheinsberg
Hey > > 2) I think you have to filter some of the error codes. For instance, > > if you return one of the -ERESTARTSYS codes, this might cause the > > syscall to restart (if auto-restart is enabled on this context). At > > the same time, this is not *that* bad. It might even be useful for the > >

Re: [PATCH net-next v2 6/9] net: macsec: hardware offloading infrastructure

2019-08-14 Thread Antoine Tenart
Hi Igor, On Tue, Aug 13, 2019 at 04:18:40PM +, Igor Russkikh wrote: > On 13.08.2019 16:17, Andrew Lunn wrote: > > On Tue, Aug 13, 2019 at 10:58:17AM +0200, Antoine Tenart wrote: > >> I think this question is linked to the use of a MACsec virtual interface > >> when using h/w offloading. The st

Re: New kernel interface for sys_tz and timewarp?

2019-08-14 Thread Arnd Bergmann
On Wed, Aug 14, 2019 at 2:06 AM Theodore Y. Ts'o wrote: > On Tue, Aug 13, 2019 at 10:30:34AM -0700, Linus Torvalds wrote: > > > > I suspect the only actual _valid_ use in the kernel for a time zone > > setting is likely for RTC clock setting, but even that isn't really > > "global", as much as "pe

Re: [PATCH] PCI: dwc: Add map irq callback

2019-08-14 Thread Dilip Kota
Hi Christoph Hellwig, On 8/14/2019 3:36 PM, Christoph Hellwig wrote: On Wed, Aug 14, 2019 at 02:56:49PM +0800, Dilip Kota wrote: Certain platforms like Intel need to configure registers to enable the interrupts. Map Irq callback helps to perform platform specific configurations while assigning

Re: [PATCH v8 01/21] pinctrl: tegra: Fix write barrier placement in pmx_writel

2019-08-14 Thread Linus Walleij
On Fri, Aug 9, 2019 at 1:47 AM Sowjanya Komatineni wrote: > pmx_writel uses writel which inserts write barrier before the > register write rather. > > This patch has fix to replace writel with writel_relaxed followed > by a write barrier to ensure write operation before the barrier > is completed

Re: [PATCH net-next v2 6/9] net: macsec: hardware offloading infrastructure

2019-08-14 Thread Antoine Tenart
Hi Andrew, On Tue, Aug 13, 2019 at 06:28:23PM +0200, Andrew Lunn wrote: > > It would also be nice to add extra information to the netlink API to > indicate if HW or SW is being used. In other places where we offload > to accelerators we have such additional information. Yes, that would be very n

Re: [PATCH v8 02/21] pinctrl: tegra: Add write barrier after all pinctrl register writes

2019-08-14 Thread Linus Walleij
On Fri, Aug 9, 2019 at 1:47 AM Sowjanya Komatineni wrote: > This patch adds write barrier after all pinctrl register writes > during resume to make sure all pinctrl changes are complete. > > Signed-off-by: Sowjanya Komatineni Patch applied with the ACKs. Yours, Linus Walleij

Re: [PATCH 1/7] [RFC] ARM: remove Intel iop33x and iop13xx support

2019-08-14 Thread Linus Walleij
On Mon, Aug 12, 2019 at 11:45 AM Martin Michlmayr wrote: > As Arnd points out, Debian used to have support for various iop32x > devices. While Debian hasn't supported iop32x in a number of years, > these devices are still usable and in use (RMK being a prime example). I suppose it could be a go

Re: [linux-sunxi] [PATCH v5 15/15] ASoC: sun4i-i2s: Adjust regmap settings

2019-08-14 Thread Jernej Škrabec
Hi! Dne sreda, 14. avgust 2019 ob 08:08:54 CEST je codekip...@gmail.com napisal(a): > From: Marcus Cooper > > Bypass the regmap cache when flushing the i2s FIFOs and modify the tables > to reflect this. > > Signed-off-by: Marcus Cooper > --- > sound/soc/sunxi/sun4i-i2s.c | 31 ++-

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-14 Thread Tony Lindgren
* Stephen Boyd [691231 23:00]: > I also notice that device_set_wakeup_capable() has a check to see if the > device is registered yet and it skips creating sysfs entries for the > device if it isn't created in sysfs yet. Why? Just so it can be called > before the device is created? I guess the same

[PATCH V4 2/3] genirq/affinity: Improve __irq_build_affinity_masks()

2019-08-14 Thread Ming Lei
One invariant of __irq_build_affinity_masks() is that all CPUs in the specified masks( cpu_mask AND node_to_cpumask for each node) should be covered during the spread. Even though all requested vectors have been reached, we still need to spread vectors among remained CPUs. The similar policy has be

Re: [PATCH 3/3] dt-bindings: aspeed: Remove mention of deprecated compatibles

2019-08-14 Thread Linus Walleij
On Mon, Aug 12, 2019 at 12:15 PM Lee Jones wrote: > On Mon, 05 Aug 2019, Linus Walleij wrote: > > > On Wed, Jul 24, 2019 at 10:13 AM Andrew Jeffery wrote: > > > > > Guide readers away from using the aspeed,g[45].* compatible patterns. > > > > > > Signed-off-by: Andrew Jeffery > > > > Patch appli

[PATCH V4 1/3] genirq/affinity: Enhance warning check

2019-08-14 Thread Ming Lei
The two-stage spread is done on same irq vectors, and we just need that either one stage covers all vector, not two stage work together to cover all vectors. So enhance the warning check to make sure all vectors are spread. Cc: Christoph Hellwig Cc: Keith Busch Cc: linux-n...@lists.infradead.or

[PATCH V4 0/3] genriq/affinity: Make vectors allocation fair

2019-08-14 Thread Ming Lei
Hi, The 1st patch enhances one warning check. The 2nd patch makes __irq_build_affinity_masks() more reliable, such as, all nodes can be covered in the spread. The 3rd patch spread vectors on node according to the ratio of this node's CPU number to number of all remaining CPUs, then vectors assi

[PATCH V4 3/3] genirq/affinity: Spread vectors on node according to nr_cpu ratio

2019-08-14 Thread Ming Lei
Now __irq_build_affinity_masks() spreads vectors evenly per node, and all vectors may not be spread in case that each numa node has different CPU number, then the warning in irq_build_affinity_masks() can be triggered. Improve current spreading algorithm by assigning vectors according to the ratio

Re: [PATCH v2 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-14 Thread Baolin Wang
Hi Uwe, On Tue, 13 Aug 2019 at 23:16, Uwe Kleine-König wrote: > > Hello, > > On Tue, Aug 13, 2019 at 09:46:41PM +0800, Baolin Wang wrote: > > This patch adds the Spreadtrum PWM support, which provides maximum 4 > > channels. > > > > Signed-off-by: Neo Hou > > Signed-off-by: Baolin Wang > > ---

[PATCH 1/2] venus: use on-chip interconnect API

2019-08-14 Thread Stanimir Varbanov
This aims to add a requests for bandwidth scaling depending on the resolution and framerate (macroblocks per second). The exact value ff the requested bandwidth is get from a pre-calculated tables for encoder and decoder. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/cor

[PATCH 0/2] Venus interconnect support for sdm845

2019-08-14 Thread Stanimir Varbanov
Hello, Here are two patches which adds interconnect bandwidth requests depending on the resolution (macroblocks) in order to lower bandwidth pressure on the interconnect and memory. regards, Stan Stanimir Varbanov (2): venus: use on-chip interconnect API arm64: dts: sdm845: Add interconnect

[PATCH 2/2] arm64: dts: sdm845: Add interconnect properties for Venus

2019-08-14 Thread Stanimir Varbanov
Populate Venus DT node with interconnect properties. Signed-off-by: Stanimir Varbanov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0323e3da190a..567bfc89bd77 1006

Re: [PATCH v2 1/2] dt-bindings: pwm: sprd: Add Spreadtrum PWM documentation

2019-08-14 Thread Uwe Kleine-König
Hello, On Wed, Aug 14, 2019 at 03:52:08PM +0800, Baolin Wang wrote: > On 14/08/2019, Uwe Kleine-König wrote: > > On Wed, Aug 14, 2019 at 03:25:53PM +0800, Baolin Wang wrote: > >> On Wed, 14 Aug 2019 at 15:01, Uwe Kleine-König > >> wrote: > >> > On Wed, Aug 14, 2019 at 09:51:34AM +0800, Baolin Wa

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-08-14 Thread H. Nikolaus Schaller
Hi all, > Am 17.07.2019 um 12:51 schrieb Merlijn Wajer : > > Hi, > > On 10/03/2019 08:07, H. Nikolaus Schaller wrote: >> >>> Am 10.03.2019 um 00:14 schrieb Merlijn Wajer : >>> >>> Hi, >>> >>> On 15/02/2019 14:09, H. Nikolaus Schaller wrote: >>> >> At least I can download and start firmwa

Re: [RFC PATCH 0/2] Add predictive memory reclamation and compaction

2019-08-14 Thread Michal Hocko
On Tue 13-08-19 09:20:51, Khalid Aziz wrote: > On 8/13/19 8:05 AM, Michal Hocko wrote: > > On Mon 12-08-19 19:40:10, Khalid Aziz wrote: > > [...] > >> Patch 1 adds code to maintain a sliding lookback window of (time, number > >> of free pages) points which can be updated continuously and adds code

Re: [PATCH 5/5] memremap: provide a not device managed memremap_pages

2019-08-14 Thread Bharata B Rao
On Wed, Aug 14, 2019 at 08:11:50AM +0200, Christoph Hellwig wrote: > On Tue, Aug 13, 2019 at 10:26:11AM +0530, Bharata B Rao wrote: > > Yes, this patchset works non-modular and with kvm-hv as module, it > > works with devm_memremap_pages_release() and release_mem_region() in the > > cleanup path. T

Re: [PATCH V3 1/3] genirq/affinity: Enhance warning check

2019-08-14 Thread Ming Lei
On Tue, Aug 13, 2019 at 07:31:39PM +, Derrick, Jonathan wrote: > Hi Ming, > > On Tue, 2019-08-13 at 16:14 +0800, Ming Lei wrote: > > The two-stage spread is done on same irq vectors, and we just need that > > either one stage covers all vector, not two stage work together to cover > > all vect

Re: linux-next: manual merge of the risc-v tree with the arm64 tree

2019-08-14 Thread Will Deacon
On Tue, Aug 13, 2019 at 10:24:30PM +, Paul Walmsley wrote: > On Tue, 13 Aug 2019, Will Deacon wrote: > > On Tue, Aug 13, 2019 at 09:34:47AM +1000, Stephen Rothwell wrote: > > > Today's linux-next merge of the risc-v tree got a conflict in: > > > > > > arch/arm64/kernel/topology.c > > > > >

Re: [linux-sunxi] [PATCH v5 15/15] ASoC: sun4i-i2s: Adjust regmap settings

2019-08-14 Thread Code Kipper
On Wed, 14 Aug 2019 at 10:38, Jernej Škrabec wrote: > > Hi! > > Dne sreda, 14. avgust 2019 ob 08:08:54 CEST je codekip...@gmail.com > napisal(a): > > From: Marcus Cooper > > > > Bypass the regmap cache when flushing the i2s FIFOs and modify the tables > > to reflect this. > > > > Signed-off-by: M

Re: [PATCH v9 1/7] powerpc/mce: Schedule work from irq_work

2019-08-14 Thread Balbir Singh
On 12/8/19 7:22 pm, Santosh Sivaraj wrote: > schedule_work() cannot be called from MCE exception context as MCE can > interrupt even in interrupt disabled context. > > fixes: 733e4a4c ("powerpc/mce: hookup memory_failure for UE errors") > Suggested-by: Mahesh Salgaonkar > Signed-off-by: Santos

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