Re: [PATCH v2] i2c: brcmstb: Allow enabling the driver on DSL SoCs

2018-10-05 Thread Wolfram Sang
On Mon, Oct 01, 2018 at 10:43:47AM -0700, Florian Fainelli wrote: > ARCH_BCM_63XX which is used by ARM-based DSL SoCs from Broadcom uses the > same controller, make it possible to select the STB driver and update > the Kconfig and help text a bit. > > Signed-off-by: Florian Fainelli > --- > Chang

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Ricardo Ribalda Delgado
Hi Boris On Fri, Oct 5, 2018 at 12:12 PM Boris Brezillon wrote: > > On Fri, 5 Oct 2018 11:54:18 +0200 > Ricardo Ribalda Delgado wrote: > > > Hi Boris > > > > Just seen that you already did the rebase at > > https://github.com/bbrezillon/linux-0day/commits/mtd/physmap-cleanup > > > > Thanks for t

Re: [PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-05 Thread Sebastian Andrzej Siewior
On 2018-10-04 12:45:08 [-0400], Rik van Riel wrote: > Wait, so any thread can bypass its memory protection > keys, even if there is a seccomp filter preventing > it from calling the PKRU syscalls? We have SYS_pkey_alloc +free and SYS_pkey_mprotect. For read/ write of the register value, libc is us

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 13:55, Namhyung Kim wrote: > On Fri, Oct 05, 2018 at 12:39:10PM +0300, Alexey Budankov wrote: >> >> It still have to adjust the file pos thru lseek() prior leaving >> record__aio_pushfn() so space in trace file would be pre-allocated for >> enqueued record and file pos be mov

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-05 Thread Ulf Hansson
On 5 October 2018 at 12:47, Lorenzo Pieralisi wrote: > On Thu, Oct 04, 2018 at 08:36:24PM +0200, Ulf Hansson wrote: >> On 4 October 2018 at 19:21, Lorenzo Pieralisi >> wrote: >> > On Thu, Oct 04, 2018 at 07:07:27PM +0200, Rafael J. Wysocki wrote: >> > >> > [...] >> > >> >> > > I don't see any de

[GIT PULL] clk/samsung updates for 4.20-rc1

2018-10-05 Thread Sylwester Nawrocki
Hi Stephen, Mike, The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk.git tags/clk-v4.20-samsung for you to fetch changes

Re: [PATCH v2 2/3] i2c: mux: ltc4306: simplify code to reach the adapter

2018-10-05 Thread Wolfram Sang
On Wed, Oct 03, 2018 at 05:50:23PM +0200, Luca Ceresoli wrote: > From: Luca Ceresoli > > struct i2c_client has a direct pointer to the adapter, no need to dig > it out of the struct device tree. > > Suggested-by: Peter Rosin > Signed-off-by: Luca Ceresoli Acked-by: Wolfram Sang signature.

Re: [PATCH v2 3/3] i2c: mux: mlxcpld: simplify code to reach the adapter

2018-10-05 Thread Wolfram Sang
On Wed, Oct 03, 2018 at 05:50:24PM +0200, Luca Ceresoli wrote: > From: Luca Ceresoli > > struct i2c_client has a direct pointer to the adapter, no need to dig > it out of the struct device tree. > > Suggested-by: Peter Rosin > Signed-off-by: Luca Ceresoli Acked-by: Wolfram Sang signature.

Re: [PATCH v2 1/3] i2c: mux: pca954x: simplify code to reach the adapter

2018-10-05 Thread Wolfram Sang
On Wed, Oct 03, 2018 at 05:50:22PM +0200, Luca Ceresoli wrote: > From: Luca Ceresoli > > struct i2c_client has a direct pointer to the adapter, no need to dig > it out of the struct device tree. > > Signed-off-by: Luca Ceresoli I like such cleanups! Acked-by: Wolfram Sang signature.asc De

Hi

2018-10-05 Thread Ann Hester
My name is Ann Hester, please reply me.

Re: [PATCH v14 15/19] platform/x86: Intel SGX driver

2018-10-05 Thread Jarkko Sakkinen
On Thu, Oct 04, 2018 at 11:01:17AM -0700, Sean Christopherson wrote: > On Tue, 2018-09-25 at 16:06 +0300, Jarkko Sakkinen wrote: > > Intel Software Guard eXtensions (SGX) is a set of CPU instructions that > > can be used by applications to set aside private regions of code and > > data. The code ou

Re: [PATCH v5 12/21] tpm: move pcr extend code to tpm2-cmd.c

2018-10-05 Thread Jarkko Sakkinen
On Thu, Oct 04, 2018 at 11:45:30AM +, Winkler, Tomas wrote: > There is no API change, in that sense. > The exported API is in tpm-interface.c int tpm_pcr_extend(struct tpm_chip > *chip, int pcr_idx, const u8 *hash) > that is used is outside of the tpm reminds the same, only the open coded >

[GIT PULL] irqchip updates for 4.20

2018-10-05 Thread Marc Zyngier
Hi Thomas, Here's the set of irqchip updates for 4.20. On the menu this time, support for the Marvell SEI and Cirrus Logic Madera interrupt controllers, support for kexec on GICv3 system, as well as a few fixes and cleanups. Note that the GICv3/kexec stuff depends on some EFI updates. The whole b

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-05 Thread Borislav Petkov
On Fri, Oct 05, 2018 at 11:31:08AM +0200, Ingo Molnar wrote: > > * Nadav Amit wrote: > > > > Are you using defconfig or a reasonable distro-config for your tests? > > > > I think it is best to take the kernel and run localyesconfig for testing. > > Ok, agreed - and this makes the numbers you p

Re: [PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Christian Borntraeger
Both applied. (FWIW, this was based on an older version of the ap patch set, I had to fixup the 2 patch) On 10/05/2018 10:31 AM, Pierre Morel wrote: > In the first patch we define kvm_arch_crypto_set_masks, > a new function to centralize the setup the APCB masks > inside the CRYCB SIE satelite an

kernel BUG at security/keys/keyring.c:LINE!

2018-10-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:befad944e231 Merge tag 'drm-fixes-2018-10-05' of git://ano.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=161fc97640 kernel config: https://syzkaller.appspot.com/x/.config?x=c0af03fe452b65fb da

Re: [PATCH] spi: spi-ep93xx: Change dir type in ep93xx_spi_dma_{finish,prepare}

2018-10-05 Thread Mark Brown
On Thu, Oct 04, 2018 at 09:41:20AM -0700, Nick Desaulniers wrote: > On Thu, Oct 4, 2018 at 9:04 AM Nathan Chancellor > > On Thu, Oct 04, 2018 at 11:32:47AM +0100, Mark Brown wrote: > > > Please remember to CC driver maintainers and authors on patch > > > submissions so they can review things, copy

Re: KASAN: use-after-scope in ext4_group_desc_csum

2018-10-05 Thread Dmitry Vyukov
On Fri, Oct 5, 2018 at 12:16 PM, Jan Glauber wrote: > Hi, > > I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64 > ThunderX2 system. > As far as I can tell this is present since KASAN_EXTRA was introduced (4.16). > > [ 64.547333] > =

[PATCH -next] staging: axis-fifo: remove duplicated include from axis-fifo.c

2018-10-05 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- drivers/staging/axis-fifo/axis-fifo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c index 63c8efd..48a9877 100644 --- a/drivers/staging/axis-fifo/axis-fi

Re: [PATCH v2 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-05 Thread Lorenzo Pieralisi
On Fri, Oct 05, 2018 at 12:59:16PM +0200, Philipp Zabel wrote: > Hi Lorenzo, > > On Fri, 2018-10-05 at 11:29 +0100, Lorenzo Pieralisi wrote: > > On Thu, Oct 04, 2018 at 04:34:30PM +, Leonard Crestez wrote: > > > When the root complex suspends it must send a PME_Turn_Off TLP. > > > Implement th

RE: [PATCH v3 1/3] acpi: arm64: add iort support for PMCG

2018-10-05 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: 04 October 2018 18:35 > To: Lorenzo Pieralisi ; Shameerali Kolothum Thodi > > Cc: will.dea...@arm.com; mark.rutl...@arm.com; Guohanjun (Hanjun Guo) > ; John Garry ; > pa...@codeaurora.org; vkil...@codeaurora.

[GIT PULL] GPIO fix for v4.19

2018-10-05 Thread Linus Walleij
Hi Greg, here is a single and hopefully final GPIO fix for the v4.19 series. Details in the signed tag. Please pull it in! Yours, Linus Walleij The following changes since commit 7876320f88802b22d4e2daf7eb027dd14175a0f8: Linux 4.19-rc4 (2018-09-16 11:52:37 -0700) are available in the Git re

Re: [PATCH v2 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-05 Thread Philipp Zabel
Hi Lorenzo, On Fri, 2018-10-05 at 11:29 +0100, Lorenzo Pieralisi wrote: > On Thu, Oct 04, 2018 at 04:34:30PM +, Leonard Crestez wrote: > > When the root complex suspends it must send a PME_Turn_Off TLP. > > Implement this by asserting the "turnoff" reset. > > > > On imx7d this functionality i

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Marc Zyngier
Hi Matthias, On 04/10/18 23:11, Matthias Brugger wrote: Friendly reminder, if anyone has any comment on the patch :) On 9/12/18 11:52 AM, matthias@kernel.org wrote: From: Matthias Brugger Some hardware does not implement two-level page tables so that the amount of contigious memory neede

Re: [PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Halil Pasic
On 10/05/2018 10:31 AM, Pierre Morel wrote: > In the first patch we define kvm_arch_crypto_set_masks, > a new function to centralize the setup the APCB masks > inside the CRYCB SIE satelite and add KVM_EVENT() to > kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. > > In the second pat

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Namhyung Kim
Hi, On Fri, Oct 05, 2018 at 12:39:10PM +0300, Alexey Budankov wrote: > Hi, > > On 05.10.2018 11:48, Namhyung Kim wrote: > > On Fri, Oct 05, 2018 at 11:31:11AM +0300, Alexey Budankov wrote: > > >> > >> Well, this could be implemented like this avoiding lseek() in else branch: > >> > >>off = l

Re: [PATCH v8 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-10-05 Thread Viresh Kumar
On 23-09-18, 16:03, Taniya Das wrote: > The CPUfreq HW present in some QCOM chipsets offloads the steps necessary > for changing the frequency of CPUs. The driver implements the cpufreq > driver interface for this hardware engine. > > Signed-off-by: Saravana Kannan > Signed-off-by: Taniya Das >

[GIT PULL] tpmdd updates for Linux 4.20

2018-10-05 Thread Jarkko Sakkinen
0700) are available in the Git repository at: git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-20181005 for you to fetch changes up to e487a0f52301293152a6f8c4e217f2a11dd808e3: tpm: Restore functionality to xen vtpm driver. (2018-10-05 13:4

Re: [ANN] init-kconfig - easy way to embrace Linux's kconfig

2018-10-05 Thread Masahiro Yamada
Hi, On Fri, Oct 5, 2018 at 5:03 AM Luis Chamberlain wrote: > > Every now and then a project is born, and they decide to use Linux's > kconfig to enable configuration of their project. As it stands we *know* > kconfig is now used in at least over 12 different projects [0]. I myself > added kconf

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-05 Thread Lorenzo Pieralisi
On Thu, Oct 04, 2018 at 08:36:24PM +0200, Ulf Hansson wrote: > On 4 October 2018 at 19:21, Lorenzo Pieralisi > wrote: > > On Thu, Oct 04, 2018 at 07:07:27PM +0200, Rafael J. Wysocki wrote: > > > > [...] > > > >> > > I don't see any dependency there, so I'll queue up the 1-3 in > >> > > pm-domains

[tip:x86/olpc] x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC

2018-10-05 Thread tip-bot for Lubomir Rintel
Commit-ID: d92116b800fb79a72ad26121f5011f6aa3ad94c2 Gitweb: https://git.kernel.org/tip/d92116b800fb79a72ad26121f5011f6aa3ad94c2 Author: Lubomir Rintel AuthorDate: Thu, 4 Oct 2018 18:08:08 +0200 Committer: Borislav Petkov CommitDate: Fri, 5 Oct 2018 12:29:20 +0200 x86/olpc: Indicate tha

Re: [PATCH v2 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-05 Thread Lorenzo Pieralisi
On Thu, Oct 04, 2018 at 04:34:30PM +, Leonard Crestez wrote: > When the root complex suspends it must send a PME_Turn_Off TLP. > Implement this by asserting the "turnoff" reset. > > On imx7d this functionality is part of the SRC and exposed through the > linux reset-controller subsystem. On im

Re: [PATCH] traps:Recover undefined user instruction on ARM

2018-10-05 Thread Russell King - ARM Linux
On Fri, Oct 05, 2018 at 10:15:57AM +0530, Manjeet Pawar wrote: > From: Rohit Thapliyal > > During user undefined instruction exception, the arm exception > handler currently results in application crash through SIGILL. > The bad instruction can be due to ddr/hardware issue. > For such cases, exc

Re: [PATCH] traps:Recover undefined user instruction on ARM

2018-10-05 Thread Mark Rutland
On Fri, Oct 05, 2018 at 10:15:57AM +0530, Manjeet Pawar wrote: > From: Rohit Thapliyal > > During user undefined instruction exception, the arm exception > handler currently results in application crash through SIGILL. > The bad instruction can be due to ddr/hardware issue. If the DDR controlle

KASAN: use-after-scope in ext4_group_desc_csum

2018-10-05 Thread Jan Glauber
Hi, I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64 ThunderX2 system. As far as I can tell this is present since KASAN_EXTRA was introduced (4.16). [ 64.547333] == [ 64.561933] BUG: KASAN: use-after-scop

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 11:54:18 +0200 Ricardo Ribalda Delgado wrote: > Hi Boris > > Just seen that you already did the rebase at > https://github.com/bbrezillon/linux-0day/commits/mtd/physmap-cleanup > > Thanks for that. > > I am about to test it in real hw (unless you want me wait) Sure, go ahe

Re: [PATCH] traps:Recover undefined user instruction on ARM

2018-10-05 Thread Robin Murphy
On 05/10/18 05:45, Manjeet Pawar wrote: From: Rohit Thapliyal During user undefined instruction exception, the arm exception handler currently results in application crash through SIGILL. The bad instruction can be due to ddr/hardware issue. For such cases, exception trap handler could try to r

[PATCH] mmc: meson-mx-sdio: mark expected switch fall-through

2018-10-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case, I replaced the "fall-through:" comment with a proper "fall through", which is what GCC is expecting to find. Addresses-Coverity-ID: 1373880 ("Missing b

[PATCH 0/3] Introduce STM32 thermal driver

2018-10-05 Thread David HERNANDEZ SANCHEZ
This series adds support for STMicroelectronics Digital Temperature Sensor (DTS), used on some STM32 SoCs. Driver is based on thermal sysfs and it has been tested OK on a 4.19-rc5 linux release. Please feel free to contact me back for further information and to discuss about this implementation.

[PATCH 2/3] thermal: add stm32 thermal driver

2018-10-05 Thread David HERNANDEZ SANCHEZ
Add support for DTS thermal sensor that can be found on some STM32 platforms. This driver is based on OF and works in interrupt mode. It offers two temperature trip points: passive and critical. The first is intended for passive cooling notification while the second is used for over-temperature r

[PATCH 3/3] ARM: dts: stm32: add thermal sensor support on STM32MP157c

2018-10-05 Thread David HERNANDEZ SANCHEZ
Add configuration on DT for thermal sensor driver Signed-off-by: David Hernandez Sanchez diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 661be94..e90b9f6 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -84,6

[PATCH 1/3] dt-bindings: stm32-thermal: add binding documentation

2018-10-05 Thread David HERNANDEZ SANCHEZ
Add thermal binding documentation for STM32 DTS sensor Signed-off-by: David Hernandez Sanchez diff --git a/Documentation/devicetree/bindings/thermal/stm32-thermal.txt b/Documentation/devicetree/bindings/thermal/stm32-thermal.txt new file mode 100644 index 000..8c0d5a4 --- /dev/null +++ b/Do

[GIT PULL] Power management fix for v4.19-rc7

2018-10-05 Thread Rafael J. Wysocki
Hi Greg, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.19-rc7 with top-most commit 69e445ab8b66a9f30519842ef18be555d3ee9b51 PM / core: Clear the direct_complete flag on errors on top of commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38 Lin

Re: [PATCH v2 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 11:41:59 +0200 wrote: > +struct stm32_fmc2 { You should inherit from nand_controller even if the nand_chip already embeds a dummy nand controller object. struct nand_controller base; > + struct stm32_fmc2_nand nand; > + struct device *dev; > + void __iome

[PATCH] mmc: tifm_sd: Mark expected switch fall-through

2018-10-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case, I replaced the "deliberate fall-through" comment with a proper "fall through" at the bottom of the case, which is what GCC is expecting to find. Addres

Re: [GIT PULL] perf fixes

2018-10-05 Thread Ingo Molnar
* Ingo Molnar wrote: > Linus, ... and Greg as well!! ;-) Thanks, Ingo ps. script fixed.

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Ricardo Ribalda Delgado
Hi Boris Just seen that you already did the rebase at https://github.com/bbrezillon/linux-0day/commits/mtd/physmap-cleanup Thanks for that. I am about to test it in real hw (unless you want me wait) Cheers! On Fri, Oct 5, 2018 at 10:37 AM Boris Brezillon wrote: > > On Fri, 5 Oct 2018 10:10:

Re: [PATCH] cpufreq / CPPC: Mark acpi_ids as used

2018-10-05 Thread Rafael J. Wysocki
On Wednesday, October 3, 2018 12:40:19 AM CEST Nick Desaulniers wrote: > On Tue, Oct 2, 2018 at 3:35 PM Nathan Chancellor > wrote: > > > > Clang warns: > > > > drivers/cpufreq/cppc_cpufreq.c:431:36: warning: variable 'cppc_acpi_ids' > > is not needed and will not be emitted [-Wunneeded-internal-de

[GIT PULL] x86 fixes

2018-10-05 Thread Ingo Molnar
Greg, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 02e425668f5c9deb42787d10001a3b605993ad15 x86/vdso: Fix vDSO syscall fallback asm constraint regression Misc fixes: - fix various vDSO

Re: [PATCH v2 1/3] dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 11:41:58 +0200 wrote: > From: Christophe Kerello > > This patch adds the documentation of the device tree bindings for the STM32 > FMC2 NAND controller. > > Signed-off-by: Christophe Kerello > --- > .../devicetree/bindings/mtd/stm32-fmc2-nand.txt| 59 > +++

Re: [PATCH 00/12][v4] Backport several fixes from 64bits to 32bits hibernation

2018-10-05 Thread Rafael J. Wysocki
On Tuesday, October 2, 2018 11:20:23 AM CEST Thomas Gleixner wrote: > On Fri, 21 Sep 2018, Chen Yu wrote: > > > Currently there are mainly three bugs in 32bits system when doing > > hibernation: > > 1. The page copy code is not running in safe page, which might > >cause hang during resume. > >

[GIT PULL] sound fixes for 4.19-rc7

2018-10-05 Thread Takashi Iwai
Greg, please pull sound fixes for v4.19-rc7 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.19-rc7 The topmost commit is 709ae62e8e6d9ac4df7dadb3b8ae432675c45ef9 sound fixes for 4.19-rc7 Just

Re: [PATCH v3] acpi/processor: Fix the return value of acpi_processor_ids_walk()

2018-10-05 Thread Rafael J. Wysocki
On Friday, August 24, 2018 4:51:26 AM CEST Dou Liyang wrote: > ACPI driver should make sure all the processor IDs in their ACPI Namespace > are unique. the driver performs a depth-first walk of the namespace tree > and calls the acpi_processor_ids_walk() to check the duplicate IDs. > > But, the ac

[GIT PULL] scheduler fixes

2018-10-05 Thread Ingo Molnar
Greg, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: 37355bdc5a129899f6b245900a8eb944a092f7fd sched/numa: Migrate pages to local nodes quicker early in the lifetime of a task These fix

Re: [PATCH] ACPI / LPIT: Register attributes based on FADT

2018-10-05 Thread Rafael J. Wysocki
On Friday, September 28, 2018 10:54:02 AM CEST Rajneesh Bhardwaj wrote: > ACPI Low Power S0 Idle capabilities are announced via FADT table and can > be used to inform the kernel about the presence of one or more Low Power > Idle (LPI) entries as descried in LPIT table. LPIT table can exist > indepe

Re: [PATCH v4 03/11] gpu: ipu-v3: Add planar support to interlaced scan

2018-10-05 Thread Philipp Zabel
On Thu, 2018-10-04 at 11:53 -0700, Steve Longerbeam wrote: > To support interlaced scan with planar formats, cpmem SLUV must > be programmed with the correct chroma line stride. For full and > partial planar 4:2:2 (YUV422P, NV16), chroma line stride must > be doubled. For full and partial planar 4:

Re: [PATCH v4 0/2] PPTT handle Handle architecturally unknown cache types

2018-10-05 Thread Rafael J. Wysocki
On Thursday, October 4, 2018 5:20:04 PM CEST Jeffrey Hugo wrote: > The ARM Architecture Reference Manual allows for caches to be "invisible" and > thus not specified in the system registers under some scenarios such as if the > cache cannot be managed by set/way operations. > > However, such cache

[PATCH v2 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-10-05 Thread christophe.kerello
From: Christophe Kerello The driver adds the support for the STMicroelectronics FMC2 NAND Controller found on STM32MP SOCs. This patch is based on FMC2 command sequencer. The purpose of the command sequencer is to facilitate the programming and the reading of NAND flash pages with the ECC and to

[PATCH v2 3/3] mtd: rawnand: stm32_fmc2: add manual mode

2018-10-05 Thread christophe.kerello
From: Christophe Kerello This patch adds the manual mode, a basic mode that do not need any DMA channels. This mode is also useful for debug purpose. Signed-off-by: Christophe Kerello --- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 325 + 1 file changed, 293 insert

Re: [PATCH v1 2/2] s390: vfio-ap: setup APCB mask using KVM dedicated function

2018-10-05 Thread David Hildenbrand
On 05/10/2018 10:31, Pierre Morel wrote: > We replace the vfio_ap_mdev_copy_masks() by the new > kvm_arch_crypto_set_masks() to be able to use the standard > KVM tracing system. > > Signed-off-by: Pierre Morel > --- > drivers/s390/crypto/vfio_ap_ops.c | 33 +++-- > 1

[PATCH v2 1/3] dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation

2018-10-05 Thread christophe.kerello
From: Christophe Kerello This patch adds the documentation of the device tree bindings for the STM32 FMC2 NAND controller. Signed-off-by: Christophe Kerello --- .../devicetree/bindings/mtd/stm32-fmc2-nand.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644

[PATCH v2 0/3] mtd: rawnand: add STM32 FMC2 NAND flash controller driver

2018-10-05 Thread christophe.kerello
From: Christophe Kerello This patchset adds the support for the STMicroelectronics FMC2 NAND flash controller found on STM32MP SOCs. This patchset supports: - the command sequencer feature, a hardware accelerator for read/write within a page - the manual mode feature, useful for debug pu

[GIT PULL] perf fixes

2018-10-05 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: d7cbbe49a9304520181fb8c9272d1327deec8453 perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events Misc fixes: -

Re: x86/mm: Found insecure W+X mapping at address (ptrval)/0xc00a0000

2018-10-05 Thread Paul Menzel
Dear Thomas, On 10/05/18 11:27, Thomas Gleixner wrote: > On Thu, 4 Oct 2018, Joerg Roedel wrote: > >> On Wed, Oct 03, 2018 at 11:22:55PM +0200, Borislav Petkov wrote: >>> On Fri, Sep 28, 2018 at 04:55:19PM +0200, Thomas Gleixner wrote: Sorry for the delay and thanks for the data. A quick di

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 11:48, Namhyung Kim wrote: > On Fri, Oct 05, 2018 at 11:31:11AM +0300, Alexey Budankov wrote: >> >> Well, this could be implemented like this avoiding lseek() in else branch: >> >> off = lseek(trace_fd, 0, SEEK_CUR); >> ret = record__aio_write(cblock, trace_fd, bf, siz

[GIT PULL] locking fixes

2018-10-05 Thread Ingo Molnar
Greg, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: e4a02ed2aaf447fa849e3254bfdb3b9b01e1e520 locking/ww_mutex: Fix runtime warning in the WW mutex selftest A fix in the ww_mutex s

Re: [PATCH v1 2/2] s390: vfio-ap: setup APCB mask using KVM dedicated function

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:31:10 +0200 Pierre Morel wrote: > We replace the vfio_ap_mdev_copy_masks() by the new > kvm_arch_crypto_set_masks() to be able to use the standard > KVM tracing system. > > Signed-off-by: Pierre Morel > --- > drivers/s390/crypto/vfio_ap_ops.c | 33 +++

Re: [PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:57:22 +0200 Pierre Morel wrote: > On 05/10/2018 10:49, Cornelia Huck wrote: > > On Fri, 5 Oct 2018 10:31:09 +0200 > > Pierre Morel wrote: > > > >> kvm_arch_crypto_set_masks is a new function to centralize > >> the setup the APCB masks inside the CRYCB SIE satelite. >

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-05 Thread Ingo Molnar
* Nadav Amit wrote: > > Are you using defconfig or a reasonable distro-config for your tests? > > I think it is best to take the kernel and run localyesconfig for testing. Ok, agreed - and this makes the numbers you provided pretty representative. Good - now that all of my concerns were addr

Re: x86/mm: Found insecure W+X mapping at address (ptrval)/0xc00a0000

2018-10-05 Thread Thomas Gleixner
On Thu, 4 Oct 2018, Joerg Roedel wrote: > On Wed, Oct 03, 2018 at 11:22:55PM +0200, Borislav Petkov wrote: > > On Fri, Sep 28, 2018 at 04:55:19PM +0200, Thomas Gleixner wrote: > > > Sorry for the delay and thanks for the data. A quick diff did not reveal > > > anything obvious. I'll have a closer

Re: [PATCH] block: BFQ default for single queue devices

2018-10-05 Thread Paolo Valente
> Il giorno 05 ott 2018, alle ore 00:42, Bart Van Assche > ha scritto: > > On Thu, 2018-10-04 at 22:39 +0200, Paolo Valente wrote: >> No, kernel build is, for evident reasons, one of the workloads I cared >> most about. Actually, I tried to focus on all my main >> kernel-development tasks, s

[PATCH v1] phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845

2018-10-05 Thread Manu Gautam
Tune1 register on sdm845 is used to update HSTX_TRIM with fused setting. Enable same by specifying update_tune1_with_efuse flag for sdm845, otherwise driver ends up programming tune2 register. While at it, also fix HSTX_TRIM tuning logic which instead of using fused value as HSTX_TRIM, incorrectly

Re: [PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Pierre Morel
On 05/10/2018 10:49, Cornelia Huck wrote: On Fri, 5 Oct 2018 10:31:09 +0200 Pierre Morel wrote: kvm_arch_crypto_set_masks is a new function to centralize the setup the APCB masks inside the CRYCB SIE satelite. s/satelite/satellite/ To trace APCB mask changes, we add KVM_EVENT() tracing t

Re: [PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread David Hildenbrand
On 05/10/2018 10:44, Cornelia Huck wrote: > On Fri, 5 Oct 2018 10:31:08 +0200 > Pierre Morel wrote: > >> In the first patch we define kvm_arch_crypto_set_masks, >> a new function to centralize the setup the APCB masks >> inside the CRYCB SIE satelite and add KVM_EVENT() to >> kvm_arch_crypto_set

CHARITY DONATION

2018-10-05 Thread Mavis Wanczyk....
-- I am Mavis Wanczyk i know you may not know me but am the latest largest US Powerball lottery winner of $758.7m just of recent, am currently helping out people in need of financial assistance, i know it's hard to believe anything on the internet, so if you don't need my help please don'

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-05 Thread Masami Hiramatsu
On Wed, 3 Oct 2018 21:11:28 -0400 Steven Rostedt wrote: > On Wed, 3 Oct 2018 15:12:27 -0400 > Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 01:18:43 +0900 > > Masami Hiramatsu wrote: > > > > > Allow kprobe-events to record module symbols. > > > > > > Since data symbols in a non-loaded modu

Re: [PATCH v2] mm: Introduce new function vm_insert_kmem_page

2018-10-05 Thread Miguel Ojeda
Hi Souptick, On Fri, Oct 5, 2018 at 7:51 AM Souptick Joarder wrote: > > On Fri, Oct 5, 2018 at 1:16 AM Miguel Ojeda > wrote: > > > > > > Also, not sure if you saw my comments/review: if the interface is not > > going to change, why the name change? Why can't we simply keep using > > vm_insert_pa

Re: [PATCH] spi: spi-ep93xx: Change dir type in ep93xx_spi_dma_{finish,prepare}

2018-10-05 Thread Nathan Chancellor
On Fri, Oct 05, 2018 at 11:28:44AM +0300, Mika Westerberg wrote: > Hi, > > On Thu, Oct 04, 2018 at 11:32:47AM +0100, Mark Brown wrote: > > On Wed, Oct 03, 2018 at 07:39:26PM -0700, Nathan Chancellor wrote: > > > Clang warns when one enumerated type is implicitly converted to another. > > > > > >

[RFC 17/17] arm64: compile the kernel with ptrauth -msign-return-address

2018-10-05 Thread Kristina Martsenko
Compile all functions with two ptrauth instructions: paciasp in the prologue to sign the return address, and autiasp in the epilogue to authenticate the return address. This should help protect the kernel against attacks using return-oriented programming. CONFIG_ARM64_PTR_AUTH enables pointer auth

[RFC 16/17] arm64: initialize and switch ptrauth kernel keys

2018-10-05 Thread Kristina Martsenko
Set up keys to use pointer auth in the kernel. Each task has its own APIAKey, which is initialized during fork. The key is changed during context switch and on kernel entry from EL0. A function that changes the key cannot return, so inline such functions. Signed-off-by: Mark Rutland Signed-off-b

[RFC 15/17] arm64: enable ptrauth earlier

2018-10-05 Thread Kristina Martsenko
When the kernel is compiled with pointer auth instructions, the boot CPU needs to start using pointer auth very early, so change the cpucap to account for this. A function that enables pointer auth cannot return, so inline such functions or compile them without pointer auth. Do not use the cpu_en

[RFC 14/17] arm64: unwind: strip PAC from kernel addresses

2018-10-05 Thread Kristina Martsenko
From: Mark Rutland When we enable pointer authentication in the kernel, LR values saved to the stack will have a PAC which we must strip in order to retrieve the real return address. Strip PACs when unwinding the stack in order to account for this. Signed-off-by: Mark Rutland Signed-off-by: Kr

Re: [PATCH 3/6] cpuidle: menu: Get rid of first_idx from menu_select()

2018-10-05 Thread Rafael J. Wysocki
On Fri, Oct 5, 2018 at 10:35 AM Daniel Lezcano wrote: > > On 04/10/2018 19:19, Rafael J. Wysocki wrote: > > On Thu, Oct 4, 2018 at 4:51 PM Daniel Lezcano > > wrote: > >> > >> On Tue, Oct 02, 2018 at 11:44:06PM +0200, Rafael J. Wysocki wrote: > >>> From: Rafael J. Wysocki > >>> > >>> Rearrange t

Re: [PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:31:09 +0200 Pierre Morel wrote: > kvm_arch_crypto_set_masks is a new function to centralize > the setup the APCB masks inside the CRYCB SIE satelite. s/satelite/satellite/ > > To trace APCB mask changes, we add KVM_EVENT() tracing to > both kvm_arch_crypto_set_masks and

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Namhyung Kim
On Fri, Oct 05, 2018 at 11:31:11AM +0300, Alexey Budankov wrote: > Hi, Hi, > > On 05.10.2018 10:16, Namhyung Kim wrote: > > On Wed, Oct 03, 2018 at 07:12:10PM +0300, Alexey Budankov wrote: > > >> +static void record__aio_sync(struct perf_mmap *md) > >> +{ > >> + struct aiocb *cblock = &md->cbl

Re: [PATCH v3 0/6] Add support for PDC Global on SDM845 SoCs

2018-10-05 Thread Philipp Zabel
Hi Sibi, Bjorn, On Thu, 2018-10-04 at 23:57 +0530, Sibi Sankar wrote: > On 09/04/2018 01:06 AM, Bjorn Andersson wrote: [...] > > Philipp, there's no compile time dependencies between the PDC and > > remoteproc patches in this series. Will you take these two through your > > tree and I'll take the

Re: [PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:31:08 +0200 Pierre Morel wrote: > In the first patch we define kvm_arch_crypto_set_masks, > a new function to centralize the setup the APCB masks > inside the CRYCB SIE satelite and add KVM_EVENT() to > kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. > > In the

Delete Message After Reading!

2018-10-05 Thread linux-kernel
Hello! I'm a member of an international hacker group. As you could probably have guessed, your account linux-kernel@vger.kernel.org was hacked, because I sent message you from it. Now I have access to you accounts! For example, your password for linux-kernel@vger.kernel.org is qwerty Within a

Re: [RFC 1/2] reboot: Make restart_handler_list a blocking notifier chain.

2018-10-05 Thread Russell King - ARM Linux
On Fri, Oct 05, 2018 at 10:27:48AM +0200, Nicolas Cavallari wrote: > On 04/10/2018 18:49, Russell King - ARM Linux wrote: > > This isn't going to work. > > > > For example, sysrq processing (which can happen in IRQ context) calls > > emergency_restart() for the reboot sysrq. That calls through to

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 10:10:22 +0200 Ricardo Ribalda Delgado wrote: > On Fri, Oct 5, 2018 at 9:08 AM Boris Brezillon > wrote: > > > > Hi Ricardo, > > > > On Fri, 5 Oct 2018 08:31:35 +0200 > > Ricardo Ribalda Delgado wrote: > > > > > Hi Boris > > > > > > > > > On Fri, Oct 5, 2018 at 12:21 AM Bori

Re: [PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-10-05 Thread Katsuhiro Suzuki
Hello, Sorry for late, thank you for your comments. On 2018年10月03日 18:53, Chen-Yu Tsai wrote: Hi, On Mon, Sep 17, 2018 at 8:28 PM Katsuhiro Suzuki wrote: This patch adds sound card node for rock64. Currently we can support S/PDIF only. It seems the lack of codec driver of rk3328 to enable a

Re: [PATCH 3/6] cpuidle: menu: Get rid of first_idx from menu_select()

2018-10-05 Thread Daniel Lezcano
On 04/10/2018 19:19, Rafael J. Wysocki wrote: > On Thu, Oct 4, 2018 at 4:51 PM Daniel Lezcano > wrote: >> >> On Tue, Oct 02, 2018 at 11:44:06PM +0200, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> Rearrange the code in menu_select() so that the loop over idle states >>> always sta

[PATCH V7 20/20] MAINTAINERS: Add csky

2018-10-05 Thread Guo Ren
Add a maintainer information for the csky(C-SKY) architecture. Signed-off-by: Guo Ren --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d870cb5..9dac20e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3211,6 +3211,15 @@ T: git git:/

[PATCH V7 18/20] dt-bindings: csky CPU Bindings

2018-10-05 Thread Guo Ren
This patch adds the documentation to describe that how to add cpu nodes in dts for SMP. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/csky/cpus.txt | 70 + 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt

[PATCH V7 19/20] dt-bindings: Add vendor prefix for csky

2018-10-05 Thread Guo Ren
Add csky vendor definition. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.tx

[PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Pierre Morel
In the first patch we define kvm_arch_crypto_set_masks, a new function to centralize the setup the APCB masks inside the CRYCB SIE satelite and add KVM_EVENT() to kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. In the second patch we replace the vfio_ap_mdev_copy_masks() by the new kvm_

[PATCH v1 2/2] s390: vfio-ap: setup APCB mask using KVM dedicated function

2018-10-05 Thread Pierre Morel
We replace the vfio_ap_mdev_copy_masks() by the new kvm_arch_crypto_set_masks() to be able to use the standard KVM tracing system. Signed-off-by: Pierre Morel --- drivers/s390/crypto/vfio_ap_ops.c | 33 +++-- 1 file changed, 3 insertions(+), 30 deletions(-) diff --gi

[PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Pierre Morel
kvm_arch_crypto_set_masks is a new function to centralize the setup the APCB masks inside the CRYCB SIE satelite. To trace APCB mask changes, we add KVM_EVENT() tracing to both kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. Signed-off-by: Pierre Morel --- arch/s390/include/asm/kvm_h

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 10:16, Namhyung Kim wrote: > On Wed, Oct 03, 2018 at 07:12:10PM +0300, Alexey Budankov wrote: >> +static void record__aio_sync(struct perf_mmap *md) >> +{ >> +struct aiocb *cblock = &md->cblock; >> +struct timespec timeout = { 0, 1000 * 1000 * 1 }; // 1ms >> + >> +d

[PATCH] UBI: mark expected switch fall-throughs

2018-10-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1373884 ("Missing break in switch") Addresses-Coverity-ID: 114869 ("Missing break in switch") Addresses-Coverity-ID: 114870 ("Missing break in switch") Signed-off-by:

<    1   2   3   4   5   6   7   >