Re: [PATCH v1 2/2] pinctrl: generic: improve apply_setting error verbosity

2018-05-01 Thread kbuild test robot
Hi Matheus, Thank you for the patch! Yet something to improve: [auto build test ERROR on pinctrl/devel] [also build test ERROR on v4.17-rc3 next-20180501] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH v7 3/9] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-05-01 Thread Kishon Vijay Abraham I
Hi Lorenzo, On Thursday 26 April 2018 10:26 PM, Lorenzo Pieralisi wrote: > On Tue, Apr 24, 2018 at 02:44:40PM +0100, Gustavo Pimentel wrote: >> Adds a seconds entry on the pci_epf_test_ids structure that disables the > > "Add a second entry to..." > >> linkup_notifier parameter on driver for the

Re: kernel BUG at include/linux/mm.h:LINE!

2018-05-01 Thread Tetsuo Handa
>From d54b2acf63191eba3d5052bf34fe6d26e3580ac2 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Tue, 1 May 2018 15:36:52 +0900 Subject: [PATCH] x86/kexec: avoid double free_page() upon do_kexec_load() failure. syzbot is reporting crashes after memory allocation failure inside do_kexec_load() [1

Re: [PATCH 00/12] mtd: nand: davinci: stop using pdev->id as chipselect

2018-05-01 Thread Sekhar Nori
On Monday 30 April 2018 10:17 PM, Boris Brezillon wrote: > On Mon, 30 Apr 2018 18:45:06 +0200 > Bartosz Golaszewski wrote: > >> 2018-04-30 12:09 GMT+02:00 Boris Brezillon : >>> Hi Bartosz, >>> >>> On Mon, 30 Apr 2018 10:24:41 +0200 >>> Bartosz Golaszewski wrote: >>> From: Bartosz Golaszewsk

Re: Moving unmaintained filesystems to staging

2018-05-01 Thread Pavel Machek
On Sun 2018-04-29 16:37:37, Greg KH wrote: > On Sun, Apr 29, 2018 at 10:07:26PM +0200, Ondrej Zary wrote: > > On Sunday 29 April 2018 14:07:05 Greg KH wrote: > > > On Thu, Apr 26, 2018 at 08:11:08AM +0200, Pavel Machek wrote: > > > > On Wed 2018-04-25 08:46:02, Matthew Wilcox wrote: > > > > > Recen

Re: [PATCH 2/7] genirq/msi: Limit level-triggered MSI to platform devices

2018-05-01 Thread Marc Zyngier
On 26/04/18 20:50, Thomas Gleixner wrote: > On Mon, 23 Apr 2018, Marc Zyngier wrote: > >> Nobody would be insane enough to try and use level triggered >> MSIs on PCI, but let's make sure it doesn't happen. Also, >> let's mandate that the irqchip backing the platform MSI domain >> is providing an i

Re: general protection fault in n_tty_set_termios

2018-05-01 Thread Tetsuo Handa
This will be essentially same with below one. ioctl(TIOCVHANGUP) versus ioctl(TCSETS) can race. #syz dup: KASAN: user-memory-access Write in n_tty_set_termios

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-01 Thread Peter Zijlstra
On Tue, May 01, 2018 at 01:20:26PM +0530, Kohli, Gaurav wrote: > But In our older case, where we have seen failure below is the wake up path > and ftraces, Wakeup occured and completed before schedule call only. > > So final state of CPUHP is running not parked. I have also pasted debug > ftraces

[PATCH] [stable] arm64: Add work around for Arm Cortex-A55 Erratum 1024718

2018-05-01 Thread Suzuki K Poulose
commit ece1397cbc89c51914fae1aec729539cfd8bd62b upstream Some variants of the Arm Cortex-55 cores (r0p0, r0p1, r1p0) suffer from an erratum 1024718, which causes incorrect updates when DBM/AP bits in a page table entry is modified without a break-before-make sequence. The work around is to disable

[PATCH v2 0/4] KVM: Support PUD hugepages at stage 2

2018-05-01 Thread Punit Agrawal
Hi, This patchset adds support for PUD hugepages at stage 2. This feature is useful on cores that have support for large sized TLB mappings (e.g., 1GB for 4K granule). Previous postings can be found at [0][1]. Support is added to code that is shared between arm and arm64. Dummy helpers for arm ar

[PATCH v2 1/4] KVM: arm/arm64: Share common code in user_mem_abort()

2018-05-01 Thread Punit Agrawal
The code for operations such as marking the pfn as dirty, and dcache/icache maintenance during stage 2 fault handling is duplicated between normal pages and PMD hugepages. Instead of creating another copy of the operations when we introduce PUD hugepages, let's share them across the different page

Re: INFO: task hung in wb_shutdown (2)

2018-05-01 Thread Tetsuo Handa
Tejun, Jan, Jens, Can you review this patch? syzbot has hit this bug for nearly 4000 times but is still unable to find a reproducer. Therefore, the only way to test would be to apply this patch upstream and test whether the problem is solved. On 2018/04/24 21:19, Tetsuo Handa wrote: >>From 39ed6b

[PATCH v2 4/4] KVM: arm64: Add support for PUD hugepages at stage 2

2018-05-01 Thread Punit Agrawal
KVM currently supports PMD hugepages at stage 2. Extend the stage 2 fault handling to add support for PUD hugepages. Addition of pud hugepage support enables additional hugepage sizes (e.g., 1G with 4K granule) which can be useful on cores that support mapping larger block sizes in the TLB entries

[PATCH v2 3/4] KVM: arm64: Support dirty page tracking for PUD hugepages

2018-05-01 Thread Punit Agrawal
In preparation for creating PUD hugepages at stage 2, add support for write protecting PUD hugepages when they are encountered. Write protecting guest tables is used to track dirty pages when migrating VMs. Also, provide trivial implementations of required kvm_s2pud_* helpers to allow sharing of c

[PATCH v2 2/4] KVM: arm/arm64: Introduce helpers to manupulate page table entries

2018-05-01 Thread Punit Agrawal
Introduce helpers to abstract architectural handling of the conversion of pfn to page table entries and marking a PMD page table entry as a block entry. The helpers are introduced in preparation for supporting PUD hugepages at stage 2 - which are supported on arm64 but do not exist on arm. Signed

Re: [PATCH 01/12] mtd: nand: davinci: store the core chipselect number in platform data

2018-05-01 Thread Sekhar Nori
On Tuesday 01 May 2018 03:23 PM, Sekhar Nori wrote: > On Tuesday 01 May 2018 02:55 PM, Sekhar Nori wrote: >> On Monday 30 April 2018 01:54 PM, Bartosz Golaszewski wrote: >>> From: Bartosz Golaszewski >>> >>> We have the 'ti,davinci-chipselect' property in the device tree, but >>> when using platfo

Re: [PATCH 14/18] thermal: exynos: move trips setting to exynos_tmu_initialize()

2018-05-01 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:29PM +0200, Bartlomiej Zolnierkiewicz wrote: > * Add dummy exynos4210_tmu_set_trip_hyst() helper. > > * Add ->tmu_set_trip_temp and ->tmu_set_trip_hyst methods to struct > exynos_tmu_data and set them in exynos_map_dt_data(). > > * Move trips setting to exynos_tmu_

Re: [PATCH 00/12] mtd: nand: davinci: stop using pdev->id as chipselect

2018-05-01 Thread Sekhar Nori
On Monday 30 April 2018 03:39 PM, Boris Brezillon wrote: > Hi Bartosz, > > On Mon, 30 Apr 2018 10:24:41 +0200 > Bartosz Golaszewski wrote: > >> From: Bartosz Golaszewski >> >> We have the 'ti,davinci-chipselect' property in the device tree, but >> when using platform data the driver silently us

Re: [PATCH 08/15] powerpc/powernv: implement opal_put_chars_atomic

2018-05-01 Thread Nicholas Piggin
On Tue, 01 May 2018 19:48:58 +1000 Benjamin Herrenschmidt wrote: > On Tue, 2018-05-01 at 00:55 +1000, Nicholas Piggin wrote: > > The RAW console does not need writes to be atomic, so relax > > opal_put_chars to be able to do partial writes, and implement an > > _atomic variant which does not take

Re: [PATCH v2 2/4] KVM: arm/arm64: Introduce helpers to manupulate page table entries

2018-05-01 Thread Suzuki K Poulose
On 01/05/18 11:26, Punit Agrawal wrote: Introduce helpers to abstract architectural handling of the conversion of pfn to page table entries and marking a PMD page table entry as a block entry. The helpers are introduced in preparation for supporting PUD hugepages at stage 2 - which are supported

[PATCH RFC 0/4] Changes for SDCC5 version

2018-05-01 Thread Vijay Viswanath
With SDCC5, the MCI register space got removed and the offset/order of several registers have changed. Based on SDCC version used and the register, we need to pick the base address and offset. Also power irq is a signal from controller to SW that it is ready for voltage switch. So added support to

[PATCH RFC 1/4] mmc: host: Register changes for sdcc V5

2018-05-01 Thread Vijay Viswanath
From: Sayali Lokhande For SDCC version 5.0.0, MCI registers are removed from SDCC interface and some registers are moved to HC. This change is to support MCI register removal for msmfalcon. New compatible string "qcom,sdhci-msm-v5" is added for msmfalcon to support this change. Change-Id: I0febf

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-01 Thread Peter Zijlstra
On Tue, May 01, 2018 at 12:18:45PM +0200, Peter Zijlstra wrote: > Aaaah... I think I've spotted a problem there. We clear SHOULD_PARK > before we rebind, so if the thread lost the first PARKED store, > does the completion, gets migrated, cycles through the loop and now > observes !SHOULD_PARK and b

Re: [PATCH 01/12] mtd: nand: davinci: store the core chipselect number in platform data

2018-05-01 Thread Sekhar Nori
On Tuesday 01 May 2018 03:59 PM, Sekhar Nori wrote: > On Tuesday 01 May 2018 03:23 PM, Sekhar Nori wrote: >> On Tuesday 01 May 2018 02:55 PM, Sekhar Nori wrote: >>> On Monday 30 April 2018 01:54 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We have the 'ti,davinci-chipsel

[PATCH RFC 3/4] host: sdhci: fix current caps when there is no host->vmmc

2018-05-01 Thread Vijay Viswanath
From: Sahitya Tummala When the regulators are not managed by SDHCI host driver (i.e., when host->vmmc and host->vmmcq are absent), get the regulator current capabilities through a new host op get_current_limit(). Signed-off-by: Sahitya Tummala Signed-off-by: Sayali Lokhande [vvisw...@codeauror

[PATCH RFC 4/4] host: sdhci-msm: implement get_current_limit() host op

2018-05-01 Thread Vijay Viswanath
From: Sahitya Tummala This is needed to get the current capabilities of vdd regulator that is not managed by SDHCI driver. Change-Id: I927c14b9890f1d672fe8a3e89d0b334f43463b36 Signed-off-by: Sahitya Tummala Signed-off-by: Sayali Lokhande Signed-off-by: Vijay Viswanath --- drivers/mmc/host/sd

[PATCH RFC 2/4] mmc: sdhci-msm: Add and use voltage regulator related APIs

2018-05-01 Thread Vijay Viswanath
From: Asutosh Das Some platforms require that the voltage switching happen only after the register write occurs and controller is ready for the switch. When the controller is ready, it will inform through power irq. Add voltage regulator APIs and use them during power irq to switch voltage inste

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-01 Thread Kohli, Gaurav
On 5/1/2018 3:48 PM, Peter Zijlstra wrote: On Tue, May 01, 2018 at 01:20:26PM +0530, Kohli, Gaurav wrote: But In our older case, where we have seen failure below is the wake up path and ftraces, Wakeup occured and completed before schedule call only. So final state of CPUHP is running not pa

Re: [PATCH 15/18] thermal: exynos: check return values of ->get_trip_[temp,hyst] methods

2018-05-01 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:30PM +0200, Bartlomiej Zolnierkiewicz wrote: > Check return values of ->get_trip_[temp,hyst] methods in > exynos_tmu_initialize(). > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/thermal/samsung/exynos_tmu.c | 10 +++--- > 1 file changed, 7 insertio

Good day,

2018-05-01 Thread abdul saladino
Good day, Greetings. This is the second time I am sending this email to you. Please confirm if this email is still in use for a confidential discussion. Best Regards,

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-01 Thread Peter Zijlstra
On Tue, May 01, 2018 at 12:18:45PM +0200, Peter Zijlstra wrote: > Aaaah... I think I've spotted a problem there. We clear SHOULD_PARK > before we rebind, so if the thread lost the first PARKED store, > does the completion, gets migrated, cycles through the loop and now > observes !SHOULD_PARK and b

Re: WARNING: kmalloc bug in bfs_fill_super

2018-05-01 Thread Tigran Aivazian
Looks good to me, thank you. On 1 May 2018 at 11:01, Tetsuo Handa wrote: > > From 247cae4da0490c2e285e0a99e630ef963fabb6d5 Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa > Date: Tue, 1 May 2018 14:15:19 +0900 > Subject: [PATCH] bfs: add sanity check at bfs_fill_super(). > > syzbot is reporting to

Re: [PATCH v6 0/7] ARM: davinci: complete the conversion to using the reset framework

2018-05-01 Thread Sekhar Nori
Hi Bartosz, On Tuesday 17 April 2018 11:00 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This series converts the only user of the handcoded, mach-specific reset > routines in the davinci platform to using the reset framework. > > Patches 1-2 add necessary lookups/DT-properties

Re: Suggested new user link command

2018-05-01 Thread Tony Wallace
Good point.  But there are gid and uid fields in inode disc record. https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Table I assume these can be use to ensure that the directory in which it is to be placed has permissions to accept the inode.  If that is not the case then it would ha

Dell WMI Hotkeys on Dell Inspiron 15R SE (7520)

2018-05-01 Thread Pali Rohár
Hello! Mistave contacted me, because he has Dell Inspiron 15R SE (7520) on which are not working 3 hotkeys located in the right upper corner. After debugging we find out that this Dell Inspirion sends following WMI event to dell-wmi.c driver: =

Re: [PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-05-01 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > Cleanup code for enabling threshold interrupts in ->tmu_control > method implementations. > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/the

Re: Suggested new user link command

2018-05-01 Thread Richard Weinberger
On Tue, May 1, 2018 at 12:58 PM, Tony Wallace wrote: > Good point. But there are gid and uid fields in inode disc record. > > https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Table > > I assume these can be use to ensure that the directory in which it is to > be placed has permission

Re: [PATCH 4/6] powerpc/64s: Enable barrier_nospec based on firmware settings

2018-05-01 Thread Michael Ellerman
Michal Suchánek writes: > Hello, > > On Tue, 24 Apr 2018 14:15:57 +1000 > Michael Ellerman wrote: > >> From: Michal Suchanek >> >> Check what firmware told us and enable/disable the barrier_nospec as >> appropriate. >> >> We err on the side of enabling the barrier, as it's no-op on older >> sy

Re: [PATCH 17/18] thermal: exynos: remove unused defines for Exynos5433

2018-05-01 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:32PM +0200, Bartlomiej Zolnierkiewicz wrote: > Remove unused defines for Exynos5433. I agree to remove these macros but is there a place with the documentation for those values if we need to put them back ? > There should be no functional changes caused by this patc

[PATCH v2] dell-wmi: Set correct keycode for Fn + left arrow hotkey

2018-05-01 Thread Pali Rohár
From: Henk Fn + left arrow hotkey combination is used for enabling/disabling automatic display brigthness based on integrated ALS sensor. For this purpose there is standard linux key KEY_BRIGHTNESS_AUTO so use it instead of KEY_UNKNOWN. Tested on Dell Lattitude E6500. Signed-off-by: Henk Vergon

Re: [PATCH 18/18] thermal: exynos: remove trip reporting to user-space

2018-05-01 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:33PM +0200, Bartlomiej Zolnierkiewicz wrote: > Remove trip reporting to user-space - I'm not aware of any user-space > program which relies on it and there is a thermal user-space governor > which does it in proper way nowadays. > > Signed-off-by: Bartlomiej Zolnierki

RE: [PATCH 1/4] xen/PVH: Replace GDT_ENTRY with explicit constant

2018-05-01 Thread David Laight
From: Boris Ostrovsky > Sent: 30 April 2018 17:24 > To: linux-kernel@vger.kernel.org; xen-de...@lists.xenproject.org > Cc: jgr...@suse.com; Boris Ostrovsky; sta...@vger.kernel.org > Subject: [PATCH 1/4] xen/PVH: Replace GDT_ENTRY with explicit constant > > Latest binutils release (2.29.1) will no

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-01 Thread Peter Zijlstra
On Tue, May 01, 2018 at 04:10:53PM +0530, Kohli, Gaurav wrote: > Yes with loop, it will reset TASK_PARKED but that is not happening in the > dumps we have seen. But was that with or without the fixed wait-loop? I don't care about stuff you might have seen with the current code, that is clearly bro

Re: [PATCH] power: supply: ab8500_charger: fix spelling mistake: "faile" -> "failed"

2018-05-01 Thread Sebastian Reichel
Hi, On Mon, Apr 30, 2018 at 05:04:50PM +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_error message. > > Signed-off-by: Colin Ian King > --- Thanks, queued. -- Sebastian > drivers/power/supply/ab8500_charger.c | 2 +- > 1 file changed, 1 insertio

[PATCH] i2c-mux-pca954x: Force reset on probe if available

2018-05-01 Thread Mike Looijmans
Instead of just hogging the reset GPIO into deactivated state, activate and then de-activate the reset. This allows for better recovery if the CPU was reset halfway through an I2C transaction for example. Signed-off-by: Mike Looijmans --- drivers/i2c/muxes/i2c-mux-pca954x.c | 12 ++-- 1

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-05-01 Thread Kohli, Gaurav
On 5/1/2018 5:01 PM, Peter Zijlstra wrote: On Tue, May 01, 2018 at 04:10:53PM +0530, Kohli, Gaurav wrote: Yes with loop, it will reset TASK_PARKED but that is not happening in the dumps we have seen. But was that with or without the fixed wait-loop? I don't care about stuff you might have se

Re: [PATCH v3 1/4] tpm: Add explicit endianness cast

2018-05-01 Thread Jarkko Sakkinen
On Wed, Apr 25, 2018 at 03:26:41PM +0200, Thiebaud Weksteen wrote: > Signed-off-by: Thiebaud Weksteen > --- > drivers/char/tpm/tpm_eventlog_of.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/char/tpm/tpm_eventlog_of.c > b/drivers/char/tpm/tpm_eventlog_of.c

Re: [PATCH v4 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-05-01 Thread Will Deacon
Hi Kim, On Fri, Apr 27, 2018 at 11:56:25AM -0500, Kim Phillips wrote: > On Fri, 27 Apr 2018 17:09:14 +0100 > Will Deacon wrote: > > On Fri, Apr 27, 2018 at 10:46:29AM -0500, Kim Phillips wrote: > > > On Fri, 27 Apr 2018 15:37:20 +0100 > > > Will Deacon wrote: > > > > For anything under drivers/p

Re: Linux messages full of `random: get_random_u32 called from`

2018-05-01 Thread Justin Forbes
On Mon, Apr 30, 2018 at 4:12 PM, Jeremy Cline wrote: > On 04/29/2018 06:05 PM, Theodore Y. Ts'o wrote: >> On Sun, Apr 29, 2018 at 01:20:33PM -0700, Sultan Alsawaf wrote: >>> On Sun, Apr 29, 2018 at 08:41:01PM +0200, Pavel Machek wrote: Umm. No. https://www.youtube.com/watch?v=xneBjc8z0DE >>>

Re: [PATCH v7 3/9] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-05-01 Thread Lorenzo Pieralisi
On Tue, May 01, 2018 at 03:37:47PM +0530, Kishon Vijay Abraham I wrote: > Hi Lorenzo, > > On Thursday 26 April 2018 10:26 PM, Lorenzo Pieralisi wrote: > > On Tue, Apr 24, 2018 at 02:44:40PM +0100, Gustavo Pimentel wrote: > >> Adds a seconds entry on the pci_epf_test_ids structure that disables the

Re: [PATCH 0/3] v4.16 tpmdd backports

2018-05-01 Thread Jarkko Sakkinen
On Thu, Apr 26, 2018 at 07:49:24PM +0200, Greg KH wrote: > On Wed, Apr 25, 2018 at 10:53:32AM -0700, James Bottomley wrote: > > On Wed, 2018-04-25 at 13:06 +0200, Greg KH wrote: > > > On Wed, Apr 25, 2018 at 01:44:20PM +0300, Jarkko Sakkinen wrote: > > > > "tpm: add retry logic" caused merge confli

RE: [PATCH] tipc: fix a potential missing-check bug

2018-05-01 Thread Jon Maloy
> -Original Message- > From: Wenwen Wang [mailto:wang6...@umn.edu] > Sent: Tuesday, May 01, 2018 00:26 > To: Wenwen Wang > Cc: Kangjie Lu ; Jon Maloy ; Ying > Xue ; David S. Miller ; > open list:TIPC NETWORK LAYER ; open list:TIPC > NETWORK LAYER ; open list ker...@vger.kernel.org> > Su

[PATCH v7 00/24] ASoC: qcom: Add support to QDSP based Audio

2018-05-01 Thread Srinivas Kandagatla
Thankyou everyone for providing feedback and testing v6 patchset. This patchset aims to provide a basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset support audio playback on HDMI-RX, MI2S, SLIMBus and will add support to other features as

[PATCH v7 04/24] ASoC: qdsp6: dt-bindings: Add q6afe dt bindings

2018-05-01 Thread Srinivas Kandagatla
This patch add DT bindings for AFE (Audio Frontend) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,q6afe.txt | 104 + include/dt-bindings/sound/qcom,q6afe.h | 31 ++ 2 files cha

[PATCH v7 15/24] ASoC: qdsp6: q6asm: Add support to memory map and unmap

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to memory map and unmap regions commands in q6asm module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6asm.c | 349 +++ sound/soc/qcom/qdsp6/q6asm.h | 5 + 2 files changed, 354

[PATCH v7 24/24] MAINTAINERS: Add myself as co-maintainer of qcom audio

2018-05-01 Thread Srinivas Kandagatla
Add myself as co-maintainer of qcom audio drivers Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4340b783ab80..527e2658cfe4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11531,6 +11531,7 @@ F: drivers/c

[PATCH v7 23/24] ASoC: qcom: apq8096: Add db820c machine driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/apq8096.c | 238 +++ 3 files changed, 249 insertions(+) create mode 100644 sou

[PATCH v7 13/24] ASoC: qdsp6: q6adm: Add q6adm driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to Q6ADM (Audio Device Manager) module in q6dsp. ADM performs routing between audio streams and AFE ports. It does Rate matching for streams going to devices driven by different clocks, it handles volume ramping, Mixing with channel and bit-width. ADM creates and destroys dy

[PATCH v7 22/24] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings

2018-05-01 Thread Srinivas Kandagatla
Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/qcom,apq8096.txt | 109 + 1 file changed, 109 insertions(+) create mode 100644 Documentation/devicet

[PATCH v7 21/24] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6asm-dai.c | 628

[PATCH v7 19/24] ASoC: qdsp6: q6routing: Add support to MI2S Mixers

2018-05-01 Thread Srinivas Kandagatla
This patch add support to MI2S mixers required to select path between ASM stream and AFE ports. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6routing.c | 329 +++ 1 file changed, 329 insertions(+) diff --gi

[PATCH v7 14/24] ASoC: qdsp6: q6asm: Add q6asm driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds basic support to Q6 ASM (Audio Stream Manager) module on Q6DSP. ASM supports up to 8 concurrent streams. each stream can be setup as playback/capture. ASM provides top control functions like Pause/flush/resume for playback and record. ASM can Create/destroy encoder, decoder and also

[PATCH v7 18/24] ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6routing.c | 261 +++ 1 file changed, 261 insertions(+) diff --

[PATCH v7 20/24] ASoC: qdsp6: q6afe: Add q6afe dai driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6afe-dai.c | 752 +++ 3

[PATCH v7 17/24] ASoC: qdsp6: q6routing: Add q6routing driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the matrix between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig

[PATCH v7 16/24] ASoC: qdsp6: q6asm: Add support to audio stream apis

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to open, write and media format commands in the q6asm module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6asm.c | 839 ++- sound/soc/qcom/qdsp6/q6asm.h | 49 +++ 2 files change

[PATCH v7 12/24] ASoC: qdsp6: q6afe: Add support to MI2S sysclks

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to LPASS Bit clock, LPASS Digital core clock and OSR clock. These clocks are required for both MI2S and PCM setup. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 171 +-- s

[PATCH v7 02/24] soc: qcom: Add APR bus driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to APR bus (Asynchronous Packet Router) driver. APR driver is made as a bus driver so that the apr devices can added removed more dynamically depending on the state of the services on the dsp. APR is used for communication between application processor and QDSP to use servic

[PATCH v7 11/24] ASoC: qdsp6: q6afe: Add support to MI2S ports

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to 4 MI2S ports on LPASS. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 224 +++ sound/soc/qcom/qdsp6/q6afe.h | 13 +++ 2 files changed, 237 insertions(+) diff --git a/s

[PATCH v7 10/24] ASoC: qdsp6: qdafe: Add SLIMBus port Support

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to 6 SLIMBus AFE ports, which are used as backend dais. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 129 +++ sound/soc/qcom/qdsp6/q6afe.h | 14 + 2 files changed, 1

Re: pull request: linux-firmware: update cxgb4 firmware

2018-05-01 Thread Josh Boyer
On Wed, Apr 25, 2018 at 11:06 AM, Ganesh Goudar wrote: > Hi, > > Kindly pull the new firmware from the following URL. > git://git.chelsio.net/pub/git/linux-firmware.git for-upstream > > Thanks > Ganesh > > The following changes since commit 0caed67f661bfa9552b636d1e4af379eda75ed67: > > cxgb4: up

[PATCH v7 09/24] ASoC: qdsp6: q6afe: Add q6afe driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to Q6AFE (Audio Front End) module on Q6DSP. AFE module sits right at the other end of cpu where the codec/audio devices are connected. AFE provides abstraced interfaces to both hardware and virtual devices. Each AFE tx/rx port can be configured to connect to one of the har

[PATCH v7 03/24] ASoC: qdsp6: dt-bindings: Add q6core dt bindings

2018-05-01 Thread Srinivas Kandagatla
This patch add DT bindings for Q6CORE DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/qcom,q6core.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentati

[PATCH v7 07/24] ASoC: qdsp6: q6common: Add qdsp6 helper functions

2018-05-01 Thread Srinivas Kandagatla
This patch adds some common helper functions like translating dsp error to linux error codes and channel mappings etc. These functions are used in all the following qdsp6 drivers. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 1

[PATCH v7 06/24] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings

2018-05-01 Thread Srinivas Kandagatla
This patch add DT bindings for ASM (Audio Stream Manager) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/qcom,q6asm.txt | 33 ++ include/dt-bindings/sound/qcom,q6asm.h

[PATCH v7 08/24] ASoC: qdsp6: q6core: Add q6core driver

2018-05-01 Thread Srinivas Kandagatla
This patch adds support to core apr service, which is used to query status of other static and dynamic services on the dsp. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig| 4 + sound/soc/qcom/qdsp6/Makefile | 1 + sound/soc/qcom/qds

Re: [Xen-devel] [PATCH 1/4] xen/PVH: Replace GDT_ENTRY with explicit constant

2018-05-01 Thread Boris Ostrovsky
On 05/01/2018 03:53 AM, Roger Pau Monné wrote: On Mon, Apr 30, 2018 at 02:07:43PM -0400, Boris Ostrovsky wrote: On 04/30/2018 12:57 PM, Roger Pau Monné wrote: On Mon, Apr 30, 2018 at 12:23:36PM -0400, Boris Ostrovsky wrote: Latest binutils release (2.29.1) will no longer allow proper computa

[PATCH v3] mm: vmalloc: Clean up vunmap to avoid pgtable ops twice

2018-05-01 Thread Chintan Pandya
vunmap does page table clear operations twice in the case when DEBUG_PAGEALLOC_ENABLE_DEFAULT is enabled. So, clean up the code as that is unintended. As a perf gain, we save few us. Below ftrace data was obtained while doing 1 MB of vmalloc/vfree on ARM64 based SoC *without* this patch applied.

[PATCH v7 05/24] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings

2018-05-01 Thread Srinivas Kandagatla
This patch add DT bindings for ADM (Audio Device Manager) DSP module. This module implements mixer controls to setup the connections between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar Reviewed-by: Rob Herring --- .../devicetree/bindings/so

[PATCH v7 01/24] soc: qcom dt-bindings: Add APR bus bindings

2018-05-01 Thread Srinivas Kandagatla
This patch add dt bindings for Qualcomm APR (Asynchronous Packet Router) bus driver. This bus is used for communicating with DSP which provides audio and various other services to cpu. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/soc/qcom/qcom,apr.txt

Re: Suggested new user link command

2018-05-01 Thread Tony Wallace
Two issues here: 1) Use case (which I have) 2) Permissions 1) Use case I am trying to build a backup system.  To avoid duplication of files over multiple backups I take an Md5 check sum of file contents.  Files with the same sum are hardlinked together.   Files are linked in to a standard directo

Re: [PATCH v2 2/3] power: supply: add cros-ec USBPD charger driver.

2018-05-01 Thread Sebastian Reichel
Hi Enric, On Mon, Apr 30, 2018 at 03:14:02PM +0200, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > This driver gets various bits of information about what is connected to > USB PD ports from the EC and converts that into power_supply properties. > > Signed-off-by: Sameer Nanda > Signed

Re: [PATCH v7 3/9] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-05-01 Thread Kishon Vijay Abraham I
Hi Lorenzo, On Tuesday 01 May 2018 05:24 PM, Lorenzo Pieralisi wrote: > On Tue, May 01, 2018 at 03:37:47PM +0530, Kishon Vijay Abraham I wrote: >> Hi Lorenzo, >> >> On Thursday 26 April 2018 10:26 PM, Lorenzo Pieralisi wrote: >>> On Tue, Apr 24, 2018 at 02:44:40PM +0100, Gustavo Pimentel wrote: >>

Re: [PATCH 2/6] powerpc/64s: Add support for ori barrier_nospec patching

2018-05-01 Thread Michael Ellerman
Michal Suchánek writes: > On Tue, 24 Apr 2018 14:15:55 +1000 > Michael Ellerman wrote: > >> From: Michal Suchanek >> >> Based on the RFI patching. This is required to be able to disable the >> speculation barrier. > > why do you not patch the nospec barrier which is included as part of > the RF

Re: [PATCH] usb: musb: Support gadget mode when the port is set to dual role

2018-05-01 Thread Bin Liu
On Mon, Apr 30, 2018 at 11:08:42PM +0200, Paul Kocialkowski wrote: > Hi, > > Le samedi 21 avril 2018 à 09:34 -0500, Bin Liu a écrit : > > Okay, this came down to an argument that whether we should require > > loading a gadget driver on a dual-role port to work in host mode, > > which is currently

Re: [V4 PATCH] perf parse-events: Specially handle uncore event alias in small groups

2018-05-01 Thread Liang, Kan
+static int +parse_events__set_leader_for_uncore_aliase(char *name, struct list_head *list, + struct parse_events_state *parse_state) +{ + struct perf_evsel *evsel, *leader; + uintptr_t *leaders; + bool is_leader = true; + int i,

[PATCH v8 01/12] ARM: Allow this header to be included by assembly files

2018-05-01 Thread Mylène Josserand
From: Doug Berger The constants defined in this file are equally useful in assembly and C source files. The arm64 architecture version of this file allows inclusion in both assembly and C source files, so this this commit adds that capability to the arm architecture version so that the constants

[PATCH v8 07/12] ARM: sunxi: Add initialization of CNTVOFF

2018-05-01 Thread Mylène Josserand
Add the initialization of CNTVOFF for sun8i-a83t. For boot CPU, create a new machine that handles this function's call in an "init_early" callback. We need to initialize CNTVOFF before the arch timer's initialization otherwise, it will not be taken into account and fails to boot correctly. Because

[PATCH v8 11/12] ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC

2018-05-01 Thread Mylène Josserand
Add the use of enable-method property for SMP support which allows to handle the SMP support for this specific SoC. This commit adds enable-method properties to all CPU nodes. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 8 1 file changed, 8 insertions(+) di

[PATCH v8 00/12] Sunxi: Add SMP support on A83T

2018-05-01 Thread Mylène Josserand
Hello everyone, This is a V8 of my series that adds SMP support for Allwinner sun8i-a83t. Based on sunxi's tree, sunxi/for-next branch. Depends on a patch from Doug Berger that allows to include the "cpu-type" header on assembly files that I included in my series (patch 01). If you have any remar

[PATCH v8 09/12] ARM: sun9i: smp: Add is_a83t field

2018-05-01 Thread Mylène Josserand
To prepare the support of sun8i-a83t, add a field in the smp_data structure to know if we are on sun9i-a80 or sun8i-a83t. Add also a global variable to retrieve which architecture we are having. Signed-off-by: Mylène Josserand --- arch/arm/mach-sunxi/mc_smp.c | 4 1 file changed, 4 inserti

[PATCH v8 12/12] ARM: shmobile: Convert file to use cntvoff

2018-05-01 Thread Mylène Josserand
Now that a common function is available for CNTVOFF's initialization, let's convert shmobile-apmu code to use this function. Signed-off-by: Mylène Josserand Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/common.h | 1 - arch/arm/mach-shmobile

[PATCH v8 10/12] ARM: sun8i: smp: Add support for A83T

2018-05-01 Thread Mylène Josserand
Add the support for A83T. A83T SoC has an additional register than A80 to handle CPU configurations: R_CPUS_CFG. Information about the register comes from Allwinner's BSP driver. An important difference is the Power Off Gating register for clusters which is BIT(4) in case of SUN9I-A80 and BIT(0) i

[PATCH v8 08/12] ARM: sun9i: smp: Rename clusters's power-off

2018-05-01 Thread Mylène Josserand
To prepare the support for sun8i-a83t, rename the macro that handles the power-off of clusters because it is different from sun9i-a80 to sun8i-a83t. The power off register for clusters are different from a80 and a83t. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard Reviewed-by: Chen-Yu

[PATCH v8 04/12] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-05-01 Thread Mylène Josserand
The R_CPUCFG is a collection of registers needed for SMP bringup on clusters and cluster's reset. For the moment, documentation about this register is found in Allwinner's code only. Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + 1 fil

[PATCH v8 02/12] ARM: sunxi: smp: Move assembly code into a file

2018-05-01 Thread Mylène Josserand
Move the assembly code for cluster cache enabling and resuming into an assembly file instead of having it directly in C code. Remove the CFLAGS because we are using the ARM directive "arch" instead. Signed-off-by: Mylène Josserand --- arch/arm/mach-sunxi/Makefile | 2 +- arch/arm/mach-sunxi/h

[PATCH v8 06/12] ARM: smp: Add initialization of CNTVOFF

2018-05-01 Thread Mylène Josserand
The CNTVOFF register from arch timer is uninitialized. It should be done by the bootloader but it is currently not the case, even for boot CPU because this SoC is booting in secure mode. It leads to an random offset value meaning that each CPU will have a different time, which isn't working very we

[PATCH v8 05/12] ARM: dts: sun8i: a83t: Add CCI-400 node

2018-05-01 Thread Mylène Josserand
Add CCI-400 node and control-port on CPUs needed by SMP bringup. Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 41 +++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch

[PATCH v8 03/12] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi

2018-05-01 Thread Mylène Josserand
As we found in sun9i-a80, CPUCFG is a collection of registers that are mapped to the SoC's signals from each individual processor core and associated peripherals. These registers are used for SMP bringup and CPU hotplugging. Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai --- arch/ar

Re: [Xen-devel] [PATCH 4/4] xen/PVH: Remove reserved entry in PVH GDT

2018-05-01 Thread Boris Ostrovsky
On 05/01/2018 04:00 AM, Roger Pau Monné wrote: On Mon, Apr 30, 2018 at 12:23:39PM -0400, Boris Ostrovsky wrote: And without it we can't use _BOOT_XX macros any longer so define new ones. Not being that familiar with Linux internals I'm not sure I see the benefit of this. Isn't there a risk t

<    1   2   3   4   5   6   7   8   9   >