Re: [PATCH -next] fork: remove duplicated include from fork.c

2018-12-09 Thread Stephen Rothwell
Hi all, On Sun, 9 Dec 2018 14:29:52 +0800 YueHaibing wrote: > > Remove duplicated include. > > Signed-off-by: YueHaibing Reviewed-by: Stephen Rothwell -- Cheers, Stephen Rothwell pgpyUHKpVkpga.pgp Description: OpenPGP digital signature

Re: [RFC PATCH v8 1/4] media: Media Device Allocator API

2018-12-09 Thread Pavel Machek
On Thu 2018-12-06 08:33:14, shuah wrote: > On 11/19/18 1:59 AM, Pavel Machek wrote: > >On Thu 2018-11-01 18:31:30, sh...@kernel.org wrote: > >>From: Shuah Khan > >> > >>Media Device Allocator API to allows multiple drivers share a media device. > >>Using this API, drivers can allocate a media devi

Re: [PATCH 4/4] leds: trigger: Add pattern initialization from Device Tree

2018-12-09 Thread Pavel Machek
On Fri 2018-12-07 13:32:54, Krzysztof Kozlowski wrote: > Allow initialization of pattern used in pattern trigger from Device Tree > property. > > This is especially useful for embedded systems where the pattern trigger > would be used to indicate the process of boot status in a nice, > user-friend

Re: [PATCH V4 5/6] net: maclorawan: Implement maclorawan class module

2018-12-09 Thread Jian-Hong Pan
I made a fake skb and passed it to lrw_parse_frame() function for testing. I use print_hex_dump() function to show the skb's content. Here is the original content in the skb->data and the length is 20 bytes. [ 33.732033] : 40 04 03 02 01 00 00 00 00 27 76 d3 2d 1b 79 a0 @'v.-.y

Re: [PATCH v5 1/1] signal: add pidfd_send_signal() syscall

2018-12-09 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Christian-Brauner/signaling-processes-through-pidfds/20181209-142857 config: ia64-allnoconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

[ANNOUNCE] Git v2.20.0

2018-12-09 Thread Junio C Hamano
The latest feature release Git v2.20.0 is now available at the usual places. It is comprised of 962 non-merge commits since v2.19.0 (this is by far the largest release in v2.x.x series), contributed by 83 people, 26 of which are new faces. The tarballs are found at: https://www.kernel.org/pu

Re: [PATCH v2 1/2] power: supply: add input voltage limit property.

2018-12-09 Thread Pavel Machek
Hi! > On Sat, Dec 01, 2018 at 04:09:34PM +0100, Pavel Machek wrote: > > > I think that handle this via dt / ACPI is not possible for our use case. > > > It can > > > be a hardware bug or a hardware/user constrain, let me try to explain > > > better > > > with an example. > > > > > > On Pixel C'

Re: [PATCH 0/3] spi-nor: Add Octal SPI support

2018-12-09 Thread Vignesh R
Hi Boris, On 03/10/18 10:26 PM, Vignesh R wrote: > This series adds support for octal mode of mt35x flash. Also, adds > support for OSPI version of Cadence QSPI controller. > > Based on top of patches adding basic support for mt35xu512aba here: > https://patchwork.ozlabs.org/cover/971437/ > > Vi

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-09 Thread Pavel Machek
On Tue 2018-12-04 14:36:11, Chanwoo Choi wrote: > Hi Lukasz, > > Looks good to me. But, I add the some comments. > If you will fix it, feel free to add my tag: > Reviewed-by: Chanwoo choi > > On 2018년 12월 03일 23:31, Lukasz Luba wrote: > > The patch prepares devfreq device for handling suspend/re

[PATCH 2/2] arm64: dts: ti: k3-am654: Enable main domain McSPI0

2018-12-09 Thread Vignesh R
Enable McSPI0 of main domain and add DT node for the SPI NOR flash connected to CS0. Signed-off-by: Vignesh R --- .../arm64/boot/dts/ti/k3-am654-base-board.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/bo

[PATCH 0/2] AM654: Add McSPI DT entry

2018-12-09 Thread Vignesh R
Couple of patches to add support for McSPIs in AM654 SoC. Vignesh R (2): arm64: dts: ti: k3-am654: Add McSPI DT nodes arm64: dts: ti: k3-am654: Enable main domain McSPI0 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 52 +++ arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 30

[PATCH 1/2] arm64: dts: ti: k3-am654: Add McSPI DT nodes

2018-12-09 Thread Vignesh R
There are 3 instances of McSPI in MCU domain and 4 instances in Main domain. Add DT nodes for all McSPI instances present on AM654 SoC. Signed-off-by: Vignesh R --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 52 arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 30 +

Re: [PATCH 12/34] powerpc/cell: move dma direct window setup out of dma_configure

2018-12-09 Thread Michael Ellerman
Christoph Hellwig writes: > Configure the dma settings at device setup time, and stop playing games > with get_pci_dma_ops. This prepares for using the common dma_configure > code later on. > > Signed-off-by: Christoph Hellwig > --- > arch/powerpc/platforms/cell/iommu.c | 20 +++---

Re: [PATCH v3] ARM: smp: add support for per-task stack canaries

2018-12-09 Thread kbuild test robot
-Biesheuvel/ARM-smp-add-support-for-per-task-stack-canaries/20181209-033321 base: git://git.armlinux.org.uk/~rmk/linux-arm.git for-next config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com

Re: [PATCH v3] ARM: smp: add support for per-task stack canaries

2018-12-09 Thread Russell King - ARM Linux
euvel/ARM-smp-add-support-for-per-task-stack-canaries/20181209-033321 > base: git://git.armlinux.org.uk/~rmk/linux-arm.git for-next > config: arm-allmodconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget > https://ra

Hei ystävä

2018-12-09 Thread Wang jianlin 2
Aion antaa sinulle osan vauraudestani vapaaehtoiseksi rahalliseksi lahjoitukseksi sinulle, Vastaa osallistumaan. Wang Jianlin Wanda Group

[PATCH] Watchdog: remove outdated comment

2018-12-09 Thread Hardik Singh Rathore
The lock field doesn't exist in watchdog_device structure. It was added by commit f4e9c82f64b5 ("watchdog: Add Locking support") and removed by commit b4ffb1909843 ("watchdog: Separate and maintain variables based on variable lifetime") Signed-off-by: Hardik Singh Rathore --- include/linux/watch

[tip:x86/build] x86, powerpc: Remove -funit-at-a-time compiler option entirely

2018-12-09 Thread tip-bot for Masahiro Yamada
Commit-ID: 63fea0af43af5beb3779fd2cae078d5d77b4bb11 Gitweb: https://git.kernel.org/tip/63fea0af43af5beb3779fd2cae078d5d77b4bb11 Author: Masahiro Yamada AuthorDate: Mon, 12 Nov 2018 11:35:20 +0900 Committer: Borislav Petkov CommitDate: Sun, 9 Dec 2018 11:55:32 +0100 x86, powerpc: Remove

[tip:x86/build] x86/um: Remove -fno-unit-at-a-time workaround for pre-4.0 GCC

2018-12-09 Thread tip-bot for Masahiro Yamada
Commit-ID: 829889ac4a7d26858860c297e64051bd27ce8fbe Gitweb: https://git.kernel.org/tip/829889ac4a7d26858860c297e64051bd27ce8fbe Author: Masahiro Yamada AuthorDate: Mon, 12 Nov 2018 11:35:19 +0900 Committer: Borislav Petkov CommitDate: Sun, 9 Dec 2018 11:51:11 +0100 x86/um: Remove -fno-

[GIT PULL] TTY/Serial fixes for 4.20-rc6

2018-12-09 Thread Greg KH
The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-4.20-rc6 for you to fetch changes up to dada6a43b0402eba438a1

[GIT PULL] USB/PHY driver fixes for 4.20-rc6

2018-12-09 Thread Greg KH
The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7: Linux 4.20-rc5 (2018-12-02 15:07:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-4.20-rc6 for you to fetch changes up to 3caad34eab57e622dad48

[GIT PULL] Staging/IIO driver fixes for 4.20-rc6

2018-12-09 Thread Greg KH
The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7: Linux 4.20-rc5 (2018-12-02 15:07:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-4.20-rc6 for you to fetch changes up to 87e4a5405f08

[GIT PULL] Char/Misc driver fixes for 4.20-rc6

2018-12-09 Thread Greg KH
The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7: Linux 4.20-rc5 (2018-12-02 15:07:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-4.20-rc6 for you to fetch changes up to dbde117c

v4.20-rc5+ on x220: Resetting chip for hang on rcs0

2018-12-09 Thread Pavel Machek
Hi! Another day, another problem... but this one is different from the previous hang, as machine survives. Chromium was running with youtube video playing. [31850.666274] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [31850.666277] [drm] Please file a

Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-09 Thread Avi Kivity
I have an application that receives spurious EIO when running with RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The application uses AIO+DIO, and errors were seen on both xfs and ext4. I suspect the following code: /*  * Process one completed BIO.  No locks are hel

Re: [RFC PATCH v8 1/4] media: Media Device Allocator API

2018-12-09 Thread Mauro Carvalho Chehab
Em Sun, 9 Dec 2018 09:09:44 +0100 Pavel Machek escreveu: > On Thu 2018-12-06 08:33:14, shuah wrote: > > On 11/19/18 1:59 AM, Pavel Machek wrote: > > >On Thu 2018-11-01 18:31:30, sh...@kernel.org wrote: > > >>From: Shuah Khan > > >> > > >>Media Device Allocator API to allows multiple drivers

Re: Process for severe early stable bugs?

2018-12-09 Thread Greg KH
On Sat, Dec 08, 2018 at 12:18:53PM -0500, Theodore Y. Ts'o wrote: > On Sat, Dec 08, 2018 at 12:56:29PM +0100, Greg KH wrote: > > A nice step forward would have been if someone could have at least > > _told_ the stable maintainer (i.e. me) that there was such a serious bug > > out there. That didn'

Re: [RFC PATCH v8 1/4] media: Media Device Allocator API

2018-12-09 Thread Pavel Machek
Hi! > > On Thu 2018-12-06 08:33:14, shuah wrote: > > > On 11/19/18 1:59 AM, Pavel Machek wrote: > > > >On Thu 2018-11-01 18:31:30, sh...@kernel.org wrote: > > > >>From: Shuah Khan > > > >> > > > >>Media Device Allocator API to allows multiple drivers share a media > > > >>device. > > > >>Usi

[GIT PULL 1/4] ARM: defconfig: Exynos for v4.21

2018-12-09 Thread Krzysztof Kozlowski
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.21 for you to fetch changes up to 24c8e4b8

[GIT PULL 0/4] ARM: exynos: Stuff for v4.21

2018-12-09 Thread Krzysztof Kozlowski
Hi, No dependencies, please pull in any order. I extended the validity of my key (it was set to expire on March 2019) so please run "gpg --refresh-keys". Best regards, Krzysztof

[GIT PULL 2/4] ARM: dts: exynos: Pull for v4.21

2018-12-09 Thread Krzysztof Kozlowski
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-4.21 for you to fetch changes up to 57b13b8b34002ce

[GIT PULL 4/4] ARM: samsung: SoC/mach for 4.21

2018-12-09 Thread Krzysztof Kozlowski
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-soc-4.21 for you to fetch changes up to cafbc79e327f44

[GIT PULL 3/4] arm64: dts: exynos: Pull for v4.21

2018-12-09 Thread Krzysztof Kozlowski
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt64-4.21 for you to fetch changes up to 9deffb5ee78e4

Re: perf: perf_fuzzer triggers GPF in perf_prepare_sample

2018-12-09 Thread Jiri Olsa
On Sat, Dec 08, 2018 at 09:08:28PM -0500, Vince Weaver wrote: > On Thu, 6 Dec 2018, Jiri Olsa wrote: > > > On Thu, Dec 06, 2018 at 10:35:28AM -0500, Vince Weaver wrote: > > > On Wed, 5 Dec 2018, Jiri Olsa wrote: > > > Maybe it is a corruption issue. I had applied my own debug patch that > > > wo

Re: [PATCH 1/2] Input: omap-keypad: Fix keyboard debounce configuration

2018-12-09 Thread Pavel Machek
On Sun 2018-12-02 17:29:32, Tony Lindgren wrote: > I noticed that the Android v3.0.8 kernel on droid4 is using different > keypad values from the mainline kernel and does not have issues with > keys occasionally being stuck until pressed again. Turns out there was > an earlier patch posted to fix t

The Fair Pay OS, for an online Technocracy.

2018-12-09 Thread Ywe Cærlyn
The Fair Pay OS, for an online Technocracy. The Fair Pay OS represents democratic wishes, labour party politics, and work union efforts for fair pay, with the original principle of Fair Pay being from monotheism, respecting this, and using a zën-concept of the godh, as spirituality is best unde

Re: [PATCH v6 4/7] tpm: modify tpm_pcr_read() definition to pass a TPM hash algorithm

2018-12-09 Thread Nayna Jain
On 12/05/2018 05:10 AM, Jarkko Sakkinen wrote: On Tue, Dec 04, 2018 at 09:21:35AM +0100, Roberto Sassu wrote: Currently the TPM driver allows other kernel subsystems to read only the SHA1 PCR bank. This patch modifies the parameters of tpm_pcr_read() and tpm2_pcr_read() to pass a tpm_digest s

Droid 4: poweroff does not work? calls

2018-12-09 Thread Pavel Machek
Hi! Poweroff does not seem to work on Motorola droid 4 -- it reboots. It seems to be problem "forever", 4.18 and 4.20-rc5 seem to be affected. It is bad, because when your battery is low, you get into reboot loop and discharge it furher, which batteries do not like. Any ideas, or at least idea ho

Re: [PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-09 Thread Nayna Jain
On 12/04/2018 01:51 PM, Roberto Sassu wrote: TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, which contain variable-sized arrays in the middle of the definition. Since these structures are not suitable for type casting, this patch removes structure members after the v

Re: [PATCH v3 1/5] dt-bindings: soc: Add a new binding for the BCM2835 PM node.

2018-12-09 Thread Stefan Wahren
Hi Eric, [add Sebastian] > Eric Anholt hat am 30. November 2018 um 21:27 geschrieben: > > > This binding supersedes the bcm2835-pm-wdt binding which only covered > enough to provide a watchdog, but the HW block is actually mostly > about power domains. > > Signed-off-by: Eric Anholt > --- >

Re: [PATCH v3 06/12] arm: perf/core: use PERF_PMU_CAP_NO_EXCLUDE for exclude incapable PMUs

2018-12-09 Thread Shawn Guo
On Thu, Dec 06, 2018 at 04:47:23PM +, Andrew Murray wrote: > For drivers that do not support context exclusion let's advertise the > PERF_PMU_CAP_NO_EXCLUDE capability. This ensures that perf will > prevent us from handling events where any exclusion flags are set. > Let's also remove the now u

Re: [PATCH] ARM: dts: imx6ul: Remove extra space between node name and {

2018-12-09 Thread Shawn Guo
On Thu, Dec 06, 2018 at 07:22:16PM +, Leonard Crestez wrote: > Fixes: 7d1cd2978664 ("ARM: dts: imx6ul: add gpmi support") > > Signed-off-by: Leonard Crestez Applied, thanks.

Re: AMD EPYC Topology problems

2018-12-09 Thread Borislav Petkov
On Mon, Dec 03, 2018 at 11:23:49AM +, Andrew Cooper wrote: > Right, but the documentation also states that where it says package, it > means "Node" in AMD's terminology, and the information in CPUID is per > socket, not per node. > > My point is that the numbers ending up in cpuinfo_x86 don't

There is no 'no space' message when using xfs with nfs.

2018-12-09 Thread Guk-Bong Kwon
hi all i use xfs filesystem over nfs I am using the xfs file system via NFS on two Linux servers. Even though xfs is full, you will not get a 'no space' message through nfs. The server's load average goes up and the kworker consumes the CPU. The server's nfs service is not responding. When

Re: [PATCH v2 0/9] Improvements for i.MX7D PICO SoM and its baseboards

2018-12-09 Thread Shawn Guo
On Thu, Dec 06, 2018 at 08:08:56AM -0200, Otavio Salvador wrote: > This patchset rework the imx7d-pico SoM, its Pi baseboard > and add the Hobbit baseboard support as well. > > Changes in v2: > - replace fsl,uart-has-rtscts with uart-has-rtscts > > Fabio Estevam (8): > ARM: dts: imx7d-pico: Do

[PATCH 0/5] Add support for STM32F4 SPI

2018-12-09 Thread cezary . gapinski
From: Cezary Gapinski This series of patches adds support for first generation of SPI interface for STM32F4 family. This version of driver is mostly different to STM32H7 one. Based on linux kernel I2C drivers for STM32 where drivers were splited into STM32F4 and STM32F7 family the same approach

[PATCH 5/5] spi: stm32: add description about STM32F4 bindings

2018-12-09 Thread cezary . gapinski
From: Cezary Gapinski Add description that STM32F4 can be used in compatible property. Master Inter-Data Idleness optional property cannot be used in STM32F4. Signed-off-by: Cezary Gapinski --- Documentation/devicetree/bindings/spi/spi-stm32.txt | 9 ++--- 1 file changed, 6 insertions(+),

[PATCH 1/5] spi: stm32: rename STM32 SPI registers and functions to STM32H7

2018-12-09 Thread cezary . gapinski
From: Cezary Gapinski Rename STM32 SPI registers and functions to be related to STM32H7 SPI driver and not STM32 generally. Signed-off-by: Cezary Gapinski --- drivers/spi/spi-stm32.c | 662 +--- 1 file changed, 340 insertions(+), 322 deletions(-) di

[PATCH 2/5] spi: stm32: rename spi-stm32 to spi-stm32h7

2018-12-09 Thread cezary . gapinski
From: Cezary Gapinski Rename spi-stm32 driver to be related to STM32H7 type. Signed-off-by: Cezary Gapinski --- drivers/spi/Kconfig |8 +- drivers/spi/Makefile |2 +- drivers/spi/spi-stm32.c | 1340 - drivers/spi/spi-stm32h7.c |

[PATCH 4/5] ARM: dts: stm32: add SPI support on STM32F429 SoC

2018-12-09 Thread cezary . gapinski
From: Cezary Gapinski This patch adds all SPI instances of the STM32F429 SoC. Signed-off-by: Cezary Gapinski --- arch/arm/boot/dts/stm32f429.dtsi | 60 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/s

[PATCH 3/5] spi: stm32: add driver for STM32F4 controller

2018-12-09 Thread cezary . gapinski
From: Cezary Gapinski The STM32F4 Serial Peripheral Interface (SPI) can be used to communicate with external devices while using the specific synchronous protocol. This version supports full-duplex communication with 8 or 16-bit per word. DMA capability is optionally supported when RX and TX DMA

[RFC PATCH] X.509: Parse public key parameters from x509 for akcipher

2018-12-09 Thread Vitaly Chikunov
Some public key algorithms (like ECDSA) keep in parameters field important data such as digest and curve OIDs (possibly more for different ECDSA variants). Thus, just setting a public key (as for RSA) is not enough. Introduce set_params() callback for akcipher which will be used to pass BER encode

[PATCH v3] mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe

2018-12-09 Thread Keerthy
Use devm_regmap_add_irq_chip and clean up error path in probe and also the remove function. Reported-by: Christian Hohnstaedt Signed-off-by: Keerthy --- Changes in v2: * Cleaned up remove function as well. Changes in v3: * Deleted the remove function which was just returning 0 drivers/

Re: [PATCH] Watchdog: remove outdated comment

2018-12-09 Thread Guenter Roeck
On 12/9/18 2:47 AM, Hardik Singh Rathore wrote: The lock field doesn't exist in watchdog_device structure. It was added by commit f4e9c82f64b5 ("watchdog: Add Locking support") and removed by commit b4ffb1909843 ("watchdog: Separate and maintain variables based on variable lifetime") Signed-off-

Re: use generic DMA mapping code in powerpc V4

2018-12-09 Thread Christian Zigotzky
Next step: 602307b034734ce77a05da4b99333a2eaf6b6482 (powerpc/fsl_pci: simplify fsl_pci_dma_set_mask) git checkout 602307b034734ce77a05da4b99333a2eaf6b6482 The PASEMI onboard ethernet works and the X5000 boots. -- Christian On 08 December 2018 at 2:47PM, Christian Zigotzky wrote: Next step: e

[PATCH] phy: ti: fix semicolon.cocci warnings

2018-12-09 Thread kbuild test robot
From: kbuild test robot drivers/phy/ti/phy-gmii-sel.c:91:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 1811851f4e73 ("phy: ti: introduce phy-gmii-sel driver") CC: Grygorii Strashko Signed-off-by: kbuild test robot --- tree:

Re: [PATCH] nvme-rdma: complete requests from ->timeout

2018-12-09 Thread Nitzan Carmi
Hi, We encountered similar issue. I think that the problem is that error_recovery might not even be queued, in case we're in DELETING state (or CONNECTING state, for that matter), because we cannot move from those states to RESETTING. We prepared some patches which handle completions in case suc

Re: [PATCH v6 02/13] arm64: add pointer authentication register bits

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > #define SCTLR_ELx_DSSBS (1UL << 44) > +#define SCTLR_ELx_ENIA (1 << 31) 1U or 1UL lest you produce signed -0x8000. Otherwise, Reviewed-by: Richard Henderson r~

[PATCH v5 0/6] Add basic support for i.MX8MQ SoC and i.MX8MQ EVK board

2018-12-09 Thread Abel Vesa
Took this from Lucas since he's busy with some other work for the moment and I thought we might be able to get this ready for the merge window. Basically is just a respin with a minor fix for a comment from Rob. Lucas, thanks for all the effort with this. Changes since v5: * replaced the name o

[PATCH v5 1/6] arm64: add basic Kconfig symbols for i.MX8

2018-12-09 Thread Abel Vesa
From: Lucas Stach Add basic Kconfig symbols to make the MXC architecture available in the ARM64 world. Signed-off-by: Lucas Stach Reviewed-by: Fabio Estevam --- arch/arm64/Kconfig.platforms | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch

[PATCH v5 4/6] MAINTAINERS: add i.MX8 DT path to i.MX architecture

2018-12-09 Thread Abel Vesa
From: Lucas Stach Shawn agreed to take patches for the i.MX8 parts through his tree. Signed-off-by: Lucas Stach Reviewed-by: Dong Aisheng --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3625a8d..b41ebff 100644 --- a/MAINTAINERS +++ b/MAINTAI

[PATCH v5 2/6] arm64: add basic DTS for i.MX8MQ

2018-12-09 Thread Abel Vesa
From: Lucas Stach This adds the basic DTS for the i.MX8MQ. For now only the following peripherals are supported: - IOMUXC (pin controller) - CCM (clock controller) - GPIO - UART - uSDHC (SD/eMMC controller) - FEC (ethernet controller) - i2c This is enough to get a very basic board support up and

[PATCH v5 5/6] arm64: dts: imx8mq: add watchdog devices

2018-12-09 Thread Abel Vesa
From: Baruch Siach Signed-off-by: Baruch Siach Signed-off-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 370

[PATCH v5 3/6] arm64: add support for i.MX8M EVK board

2018-12-09 Thread Abel Vesa
From: Lucas Stach This is the evaluation kit board for the i.MX8M. The current level of support yields a working console and is able to boot userspace from SD card or Network. Signed-off-by: Lucas Stach Reviewed-by: Fabio Estevam (v1) Reviewed-by: Rob Herring (v3) Tested-by: Tested-by: Baruch

[PATCH v5 6/6] arm64: dts: imx8mq-evk: enable watchdog

2018-12-09 Thread Abel Vesa
From: Baruch Siach The external nWDOG signal connects to the EVK board reset circuit. Tested on the i.MX8MQ EVK rev B3. Signed-off-by: Baruch Siach Signed-off-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/a

Re: [RFC 3/3] virtio_ring: use new vring flags

2018-12-09 Thread Michael S. Tsirkin
On Sat, Dec 08, 2018 at 09:47:29PM +0800, Tiwei Bie wrote: > On Fri, Dec 07, 2018 at 01:10:48PM -0500, Michael S. Tsirkin wrote: > > On Fri, Dec 07, 2018 at 04:48:42PM +0800, Tiwei Bie wrote: > > > Switch to using the _SPLIT_ and _PACKED_ variants of vring flags > > > in split ring and packed ring

Re: [PATCH v6 01/13] arm64: add comments about EC exception levels

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > To make it clear which exceptions can't be taken to EL1 or EL2, add > comments next to the ESR_ELx_EC_* macro definitions. > > Signed-off-by: Kristina Martsenko > --- > arch/arm64/include/asm/esr.h | 14 +++--- > 1 file changed, 7 insertio

Re: [PATCH v6 03/13] arm64/kvm: consistently handle host HCR_EL2 flags

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > In KVM we define the configuration of HCR_EL2 for a VHE HOST in > HCR_HOST_VHE_FLAGS, but we don't have a similar definition for the > non-VHE host flags, and open-code HCR_RW. Further, in head.S we > open-code the flags for

Re: [PATCH,1/2] genhd: avoid overflow of sectors in disk_stats

2018-12-09 Thread Huijin Park
Hi Omar Sandoval, On Sat, Dec 1, 2018 at 4:56 AM Omar Sandoval wrote: > > On Fri, Nov 30, 2018 at 04:32:40AM -0500, Huijin Park wrote: > > From: "huijin.park" > > > > This patch changes the 'sectors' type to an u64. > > In 32 bit system, the 'sectors' can accumulate up to about 2TiB. > > If a 32

Re: [PATCH v6 04/13] arm64/kvm: hide ptrauth from guests

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > In subsequent patches we're going to expose ptrauth to the host kernel > and userspace, but things are a bit trickier for guest kernels. For the > time being, let's hide ptrauth from KVM guests. > > Regardless of how well-be

Re: [PATCH v6 05/13] arm64: Don't trap host pointer auth use to EL2

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > To allow EL0 (and/or EL1) to use pointer authentication functionality, > we must ensure that pointer authentication instructions and accesses to > pointer authentication keys are not trapped to EL2. > > This patch ensures th

Re: [PATCH v6 06/13] arm64/cpufeature: detect pointer authentication

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > So that we can dynamically handle the presence of pointer authentication > functionality, wire up probing code in cpufeature.c. > > From ARMv8.3 onwards, ID_AA64ISAR1 is no longer entirely RES0, and now > has four fields des

Re: [PATCH v6 07/13] arm64: add basic pointer authentication support

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > This patch adds basic support for pointer authentication, allowing > userspace to make use of APIAKey, APIBKey, APDAKey, APDBKey, and > APGAKey. The kernel maintains key values for each process (shared by all > threads within

[PATCH v3 0/6] memblock: simplify several early memory allocation

2018-12-09 Thread Mike Rapoport
Hi, These patches simplify some of the early memory allocations by replacing usage of older memblock APIs with newer and shinier ones. Quite a few places in the arch/ code allocated memory using a memblock API that returns a physical address of the allocated area, then converted this physical add

[PATCH v3 4/6] openrisc: simplify pte_alloc_one_kernel()

2018-12-09 Thread Mike Rapoport
The pte_alloc_one_kernel() function allocates a page using __get_free_page(GFP_KERNEL) when mm initialization is complete and memblock_phys_alloc() on the earlier stages. The physical address of the page allocated with memblock_phys_alloc() is converted to the virtual address and in the both cases

[PATCH v3 6/6] arm, unicore32: remove early_alloc*() wrappers

2018-12-09 Thread Mike Rapoport
On arm and unicore32i the early_alloc_aligned() and and early_alloc() are oneliner wrappers for memblock_alloc. Replace their usage with direct call to memblock_alloc. Suggested-by: Christoph Hellwig Signed-off-by: Mike Rapoport --- arch/arm/mm/mmu.c | 11 +++ arch/unicore32/mm/m

[PATCH v3 3/6] sh: prefer memblock APIs returning virtual address

2018-12-09 Thread Mike Rapoport
Rather than use the memblock_alloc_base that returns a physical address and then convert this address to the virtual one, use appropriate memblock function that returns a virtual address. There is a small functional change in the allocation of then NODE_DATA(). Instead of panicing if the local all

[PATCH v3 2/6] microblaze: prefer memblock API returning virtual address

2018-12-09 Thread Mike Rapoport
Rather than use the memblock_alloc_base that returns a physical address and then convert this address to the virtual one, use appropriate memblock function that returns a virtual address. Signed-off-by: Mike Rapoport Tested-by: Michal Simek --- arch/microblaze/mm/init.c | 5 +++-- 1 file change

[PATCH v3 5/6] arch: simplify several early memory allocations

2018-12-09 Thread Mike Rapoport
There are several early memory allocations in arch/ code that use memblock_phys_alloc() to allocate memory, convert the returned physical address to the virtual address and then set the allocated memory to zero. Exactly the same behaviour can be achieved simply by calling memblock_alloc(): it allo

[PATCH v3 1/6] powerpc: prefer memblock APIs returning virtual address

2018-12-09 Thread Mike Rapoport
There are a several places that allocate memory using memblock APIs that return a physical address, convert the returned address to the virtual address and frequently also memset(0) the allocated range. Update these places to use memblock allocators already returning a virtual address. Use membloc

[PATCH] x86/platform/olpc: remove duplicated check on node == -1

2018-12-09 Thread Colin King
From: Colin Ian King Currently the node == -1 check is being performed twice, the second check is redundant and can be removed. Fix this by removing the redundant second check and moving the first check into a combined check with the result from the olpc_ofw call. Detected by cppcheck: Identica

Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > When pointer authentication is in use, data/instruction pointers have a > number of PAC bits inserted into them. The number and position of these > bits depends on the configured TCR_ELx.TxSZ and whether tagging is > enabled.

[PATCH][clk-next] clk: imx: remove redundant initialization of ret to zero

2018-12-09 Thread Colin King
From: Colin Ian King The initialization of ret is redundant as it is being re-assigned to the return value from the call to imx8m_clk_composite_compute_dividers. Clean this up by removing the initialization. Signed-off-by: Colin Ian King --- drivers/clk/imx/clk-composite-8m.c | 2 +- 1 file ch

Re: [PATCH v3 0/2] spi: Add Renesas R-Car Gen3 RPC SPI driver

2018-12-09 Thread Sergei Shtylyov
On 12/07/2018 02:13 PM, Mason Yang wrote: > This Renesas R-Car Gen3 RPC SPI driver is based on Boris's new > spi-mem direct mapping read/write mode [1][2]. > > v3 patch is according to Marek and Geert's comments including: > 1) soc_device_mach() to set up RPC_PHYCNT_STRTIM. > 2) get_unaligned() >

Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > When pointer authentication is in use, data/instruction pointers have a > number of PAC bits inserted into them. The number and position of these > bits depends on the configured TCR_ELx.TxSZ and whether tagging is > enabled. ARMv8.3 allows tagging t

[PATCH] staging: erofs: Add braces to do-while statements

2018-12-09 Thread Thomas Jespersen
This fixes warning reported by sparse (with -Wsparse-all). Signed-off-by: Thomas Jespersen --- drivers/staging/erofs/internal.h | 4 ++-- drivers/staging/erofs/utils.c| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/erofs/internal.h b/drivers/staging/e

HELLO FRIEND

2018-12-09 Thread Wang jianlin 2
I intend to give you a portion of my wealth as a free-will financial donation to you, Respond to partake. Wang Jianlin Wanda Group

[PATCH v13] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-09 Thread Elie Morisse
MP2 controllers have two separate busses, so may accommodate up to two I2C adapters. Those adapters are listed in the ACPI namespace with the "AMDI0011" HID, and probed by a platform driver. Communication with the MP2 takes place through iomapped registers, or through DMA for more than 32 bytes tr

Re: [PATCH v2 3/3] PCI/ACPI: allow ACPI to be built without PCI support

2018-12-09 Thread Sinan Kaya
On 12/9/2018 1:20 AM, Andy Shevchenko wrote: +#ifdef CONFIG_PCI struct pci_dev *acpi_get_pci_dev(acpi_handle); +#else +static inline struct pci_dev *acpi_get_pci_dev(acpi_handle hndl) Can you spell handle fully? Yeah, I can do that.

Re: [PATCH] staging: erofs: Add braces to do-while statements

2018-12-09 Thread Greg KH
On Sun, Dec 09, 2018 at 04:59:00PM +0100, Thomas Jespersen wrote: > This fixes warning reported by sparse (with -Wsparse-all). Why is sparse warning about this? > Signed-off-by: Thomas Jespersen > --- > drivers/staging/erofs/internal.h | 4 ++-- > drivers/staging/erofs/utils.c| 4 ++-- > 2

[PATCH] staging: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-09 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/staging/fwserial/fwserial.c | 32 +++ drivers/staging/greybus/loopback.c| 16 ++ drivers/staging/rtlwifi/debug.c | 23 - .../staging

Re: [PATCH v2 0/2] Provide sched_clock for riscv_timer

2018-12-09 Thread Daniel Lezcano
On 07/12/2018 18:59, Palmer Dabbelt wrote: > On Tue, 04 Dec 2018 02:29:50 PST (-0800), a...@brainfault.org wrote: >> This patchset extends riscv_timer to provide sched_clock using generic >> sched_clock framework. >> >> The patchset is tested on QEMU virt machine. It is based on >> Linux-4.20-rc5 >

Re: [PATCH v3 0/2] sysctl: handle overflow for file-max

2018-12-09 Thread Christian Brauner
On Mon, Oct 29, 2018 at 10:44 PM Kees Cook wrote: > > On Mon, Oct 29, 2018 at 7:58 AM, Christian Brauner > wrote: > > On Wed, Oct 17, 2018 at 12:33:20AM +0200, Christian Brauner wrote: > >> Hey, > >> > >> Here is v3 of this patchset. Changelogs are in the individual commits. > >> > >> Currently,

Re: Droid 4: poweroff does not work? calls

2018-12-09 Thread Tony Lindgren
* Pavel Machek [181209 12:13]: > Hi! > > Poweroff does not seem to work on Motorola droid 4 -- it reboots. It > seems to be problem "forever", 4.18 and 4.20-rc5 seem to be > affected. It is bad, because when your battery is low, you get into > reboot loop and discharge it furher, which batteries

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-09 Thread Pavel Machek
Hi! > > There would be three types of users: > > > > 1. Ones that have access to neither of the devices. > > 2. Ones that have access to unprivileged. Who are these? > > Either 0666 (world) or an sgx group. Sgx group, please. Or even better, what is generic term for sgx? We probably want to use

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-09 Thread Pavel Machek
Hi! > On Thu, Nov 15, 2018 at 5:08 PM 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 outside the enclave is disallowed to access the memory > > ins

Re: [PATCH] x86/platform/olpc: remove duplicated check on node == -1

2018-12-09 Thread Christophe JAILLET
Le 09/12/2018 à 16:01, Colin King a écrit : From: Colin Ian King Currently the node == -1 check is being performed twice, the second check is redundant and can be removed. Fix this by removing the redundant second check and moving the first check into a combined check with the result from the

Re: [PATCH] x86/platform/olpc: remove duplicated check on node == -1

2018-12-09 Thread Christophe JAILLET
Le 09/12/2018 à 16:01, Colin King a écrit : From: Colin Ian King Currently the node == -1 check is being performed twice, the second check is redundant and can be removed. Fix this by removing the redundant second check and moving the first check into a combined check with the result from the

Re: Droid 4: poweroff does not work? calls

2018-12-09 Thread Pavel Machek
On Sun 2018-12-09 08:46:50, Tony Lindgren wrote: > * Pavel Machek [181209 12:13]: > > Hi! > > > > Poweroff does not seem to work on Motorola droid 4 -- it reboots. It > > seems to be problem "forever", 4.18 and 4.20-rc5 seem to be > > affected. It is bad, because when your battery is low, you get

Re: [PATCH] staging: erofs: Add braces to do-while statements

2018-12-09 Thread Joe Perches
On Sun, 2018-12-09 at 17:20 +0100, Greg KH wrote: > On Sun, Dec 09, 2018 at 04:59:00PM +0100, Thomas Jespersen wrote: > > This fixes warning reported by sparse (with -Wsparse-all). > > Why is sparse warning about this? Probably because it's the kernel preferred style to use single statement

  1   2   3   4   5   6   7   8   >