Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-05-02 Thread Jesper Dangaard Brouer
On Tue, 6 Mar 2018 15:42:41 -0800 Chris Mason wrote: > On 6 Mar 2018, at 11:12, Linus Torvalds wrote: > [...] > > > > I do *not* want this to be a magical way to hide things. > > Especially early on, this makes a lot of sense. But I wanted to plug > bps and the hopefully growing set of bpf

Re: [PATCH v4 6/6] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc

2018-05-02 Thread Laurentiu Tudor
Hi Nipun, On 04/30/2018 09:27 AM, Nipun Gupta wrote: > fsl-mc bus support the new iommu-map property. Comply to this binding > for fsl_mc bus. > > Signed-off-by: Nipun Gupta This looks good to me, so: Reviewed-By: Laurentiu Tudor --- Best Regards, Laurentiu > --- > arch/arm64/boot/dts/free

Re: [PATCH 03/18] thermal: exynos: always check for critical trip points existence

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 11:00:18 AM Daniel Lezcano wrote: > On Mon, Apr 30, 2018 at 05:24:15PM +0200, Bartlomiej Zolnierkiewicz wrote: > > On Monday, April 30, 2018 04:44:50 PM Daniel Lezcano wrote: > > > On Thu, Apr 26, 2018 at 01:51:18PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > * Check fo

Re: [PATCH v2] mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

2018-05-02 Thread Boris Brezillon
On Wed, 2 May 2018 10:06:36 +0200 Ladislav Michl wrote: > Hi Boris, > > (and apologies for delay) > > On Fri, Apr 20, 2018 at 10:01:34PM +0200, Boris Brezillon wrote: > > Hi Ladislav, > > > > On Mon, 16 Apr 2018 08:52:59 +0200 > > Ladislav Michl wrote: > > > > > dma_map_single doesn't get

[PATCH][media-next] media: davinci_vpfe: fix memory leaks of params

2018-05-02 Thread Colin King
From: Colin Ian King There are memory leaks of params; when copy_to_user fails and also the exit via the label 'error'. Fix this by kfree'ing params in error exit path and jumping to this on the copy_to_user failure path. Detected by CoverityScan, CID#1467966 ("Resource leak") Fixes: da43b6cca

Re: [PATCH 0/5] kernel hacking: GCC optimization for debug experience (-Og)

2018-05-02 Thread Du, Changbin
On Wed, May 02, 2018 at 09:33:15AM +0200, Ingo Molnar wrote: > > * changbin...@intel.com wrote: > > > Comparison of system performance: a bit drop. > > > > w/o CONFIG_DEBUG_EXPERIENCE > > $ time make -j4 > > real6m43.619s > > user19m5.160s > > sys 2m20.287s > >

Re: [PATCH 06/18] thermal: exynos: fix trips limit checking in get_th_reg()

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 11:39:14 AM Daniel Lezcano wrote: > On Mon, Apr 30, 2018 at 05:48:29PM +0200, Bartlomiej Zolnierkiewicz wrote: > > On Monday, April 30, 2018 05:34:31 PM Daniel Lezcano wrote: > > > On Thu, Apr 26, 2018 at 01:51:21PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > of_thermal

Re: Regression due to "Workaround for uPD72020x USB3 chips"

2018-05-02 Thread Domenico Andreoli
On Wed, May 02, 2018 at 10:22:05AM +0200, Ard Biesheuvel wrote: > On 2 May 2018 at 10:06, Domenico Andreoli wrote: > > Dear all, > > > > my home machine stopped to boot starting from kernel version 4.12.7. > > > > The last message I read is about resetting some USB3 bus. It's 100% > > reproducib

Re: [PATCH v5 2/6] mfd: stm32-timers: add support for dmas

2018-05-02 Thread Fabrice Gasnier
On 04/17/2018 03:38 PM, Fabrice Gasnier wrote: > STM32 Timers can support up to 7 DMA requests: > - 4 channels, update, compare and trigger. > Optionally request part, or all DMAs from stm32-timers MFD core. > > Also add routine to implement burst reads using DMA from timer registers. > This is ex

Re: [v4.17-rcx] Lost IBPB, IBRS_FW support for spectre_v2 mitigation.

2018-05-02 Thread Jörg Otte
2018-05-02 11:02 GMT+02:00 Thomas Gleixner : > On Wed, 2 May 2018, Jörg Otte wrote: >> With revert: >> >> jojo@fichte:~$ dmesg | grep -i -e spec -e micro -e "Linux version" >> >> [0.00] microcode: microcode updated early to revision 0x24, >> date = 2018-01-21 >> [0.00] Linux version

Re: [PATCH v4 05/22] iommu: introduce iommu invalidate API function

2018-05-02 Thread Jean-Philippe Brucker
On 01/05/18 23:58, Jacob Pan wrote: Maybe this should be called "NG_PAGE_PASID", >>> Sure. I was thinking page range already implies non-global pages. and "DOMAIN_PAGE" should instead be "PAGE_PASID". If I understood their meaning correctly, it would be more consistent with

Re: [PATCH v2 1/3] mfd: cros_ec: Add USBPD charger commands and struct definitions.

2018-05-02 Thread Enric Balletbo i Serra
Hi Lee, Thanks for the reviews. On 01/05/18 10:29, Lee Jones wrote: > On Mon, 30 Apr 2018, Enric Balletbo i Serra wrote: > >> From: Sameer Nanda >> >> The USBPD charger driver gets information from the ChromeOS EC, this >> patch adds the USBPD charger definitions needed by this driver. >> >> Si

Re: [PATCH 11/18] thermal: exynos: add exynos*_tmu_set_[trip,hyst]() helpers

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 11:55:40 AM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:26PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Add exynos*_tmu_set_[trip,hyst]() helpers and convert > > all ->tmu_initialize implementations accordingly. > > > > Signed-off-by: Bartlomiej Zolnierkiewicz

Re: [PATCH 2/5] regulator: add dummy of_find_regulator_by_node

2018-05-02 Thread Du, Changbin
On Wed, May 02, 2018 at 05:40:36AM +0900, Mark Brown wrote: > On Tue, May 01, 2018 at 09:00:11PM +0800, changbin...@intel.com wrote: > > From: Changbin Du > > > > If device tree is not enabled, of_find_regulator_by_node() should have > > a dummy function since the function call is still there. >

Re: [PATCH 4/5] kernel hacking: new config DEBUG_EXPERIENCE to apply GCC -Og optimization

2018-05-02 Thread Du, Changbin
On Tue, May 01, 2018 at 08:25:27AM -0700, Randy Dunlap wrote: > Good morning. > > On 05/01/2018 06:00 AM, changbin...@intel.com wrote: > > From: Changbin Du > > > > > > Signed-off-by: Changbin Du > > --- > > Makefile | 4 > > include/linux/compiler-gcc.h | 2 +- > >

Re: [PATCH v4 5/6] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-05-02 Thread Laurentiu Tudor
Hi Nipun, On 04/30/2018 09:27 AM, Nipun Gupta wrote: > Signed-off-by: Nipun Gupta > --- If my understanding is correct, the kbuild error is triggered by this missing dependency patch: https://patchwork.kernel.org/patch/10370081/ Apart from that, patch looks good to me, so Reviewed-by: Lauren

Re: [linux-sunxi] [PATCH 3/3] arm64: allwinner: h6: enable MMC0/2 on Pine H64

2018-05-02 Thread Maxime Ripard
On Mon, Apr 30, 2018 at 10:47:35AM +0100, Andre Przywara wrote: > >> I am just asking because I want to avoid running into the same problem > >> as with the A64 before: that future DTs become incompatible with older > >> kernels, because we change the power supply to point to the AXP > >> regulator

Re: [PATCH 3/5] kernel hacking: new config NO_AUTO_INLINE to disable compiler atuo-inline optimizations

2018-05-02 Thread Du, Changbin
On Tue, May 01, 2018 at 10:54:20AM -0400, Steven Rostedt wrote: > On Tue, 1 May 2018 21:00:12 +0800 > changbin...@intel.com wrote: > > > From: Changbin Du > > > > This patch add a new kernel hacking option NO_AUTO_INLINE. Selecting > > this option will make compiler not auto-inline kernel funct

Re: [PATCH 13/18] thermal: exynos: set trips in ascending order in exynos7_tmu_initialize()

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:02:42 PM Daniel Lezcano wrote: > On Thu, Apr 26, 2018 at 01:51:28PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Set trips in ascending order in exynos7_tmu_initialize() (it should > > make no difference in driver operation). This prepares the driver > > code to moving tr

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

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:31:26 PM Daniel Lezcano wrote: > 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 t

[PATCH] ntfs: fix spelling mistake: "initiailized" -> "initialized"

2018-05-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in ntfs_debug debug message Signed-off-by: Colin Ian King --- fs/ntfs/mft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c index 32c523cf5a2d..8e76f64d9784 100644 --- a/fs/ntfs/mft.c +++ b/f

Re: Regression due to "Workaround for uPD72020x USB3 chips"

2018-05-02 Thread Ard Biesheuvel
On 2 May 2018 at 11:18, Domenico Andreoli wrote: > On Wed, May 02, 2018 at 10:22:05AM +0200, Ard Biesheuvel wrote: >> On 2 May 2018 at 10:06, Domenico Andreoli >> wrote: >> > Dear all, >> > >> > my home machine stopped to boot starting from kernel version 4.12.7. >> > >> > The last message I r

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

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 12:43:04 PM Daniel Lezcano wrote: > 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/t

Re: [PATCH] staging: wilc1000: fix infinite loop and out-of-bounds access

2018-05-02 Thread Ajay Singh
On Wed, 2 May 2018 11:39:36 +0300 Dan Carpenter wrote: > We're mainly discussing readability, right? > > To me when people use "int" that tells me as a reader that we don't > need to think about the type. It's going to be a small number. > > Say you have data which the user can control, then i

Re: [PATCH v2 3/3] mfd: cros_ec_dev: Register cros_usbpd-charger driver as a subdevice.

2018-05-02 Thread Enric Balletbo i Serra
Hi Lee, On 01/05/18 10:32, Lee Jones wrote: > On Mon, 30 Apr 2018, Enric Balletbo i Serra wrote: > >> Check whether this EC instance has USBPD host command support and >> instatiate the cros_usbpd-charger driver as a subdevice in such case. >> >> Signed-off-by: Enric Balletbo i Serra >> --- >> >

Re: [PATCH v2] staging: greybus: Use gpio_is_valid()

2018-05-02 Thread Arvind Yadav
On Wednesday 02 May 2018 02:13 PM, Johan Hovold wrote: On Sat, Apr 28, 2018 at 10:05:39AM +0530, Arvind Yadav wrote: Replace the manual validity checks for the GPIO with the gpio_is_valid(). Signed-off-by: Arvind Yadav --- chnage in v2 : Returning invalid gpio as error instead

Re: [PATCH v3] drm/i915: Disable some extra clang warnings

2018-05-02 Thread Chris Wilson
Quoting Matthias Kaehlcke (2018-05-01 19:24:40) > Commit 39bf4de89ff7 ("drm/i915: Add -Wall -Wextra to our build, set > warnings to full") enabled extra warnings for i915 to spot possible > bugs in new code, and then disabled a subset of these warnings to keep > the current code building without wa

Re: non-blocking connect for kernel SCTP sockets

2018-05-02 Thread Xin Long
On Wed, May 2, 2018 at 5:06 PM, Michal Kubecek wrote: > Hello, > > while investigating a bug, we noticed that DLM tries to connect an SCTP > socket in non-blocking mode using > > result = sock->ops->connect(sock, (struct sockaddr *)&daddr, addr_len, > O_

Re: [PATCH v4 03/10] i3c: Add sysfs ABI spec

2018-05-02 Thread Geert Uytterhoeven
Hi Greg, On Sun, Apr 29, 2018 at 3:37 PM, Greg Kroah-Hartman wrote: > On Fri, Mar 30, 2018 at 09:47:44AM +0200, Boris Brezillon wrote: >> Document sysfs files/directories/symlinks exposed by the I3C subsystem. >> >> Signed-off-by: Boris Brezillon >> --- >> Changes in v2: >> - new patch >> --- >>

[PATCH v2 0/3] sh: make early_platform code SuperH-specific

2018-05-02 Thread Bartosz Golaszewski
I recently started a discussion about the need for a proper early device probing mechanism[1]. One that would be based on real platform drivers and support both platform data and device tree. While we're far from reaching any consensus on the implementation, Arnd suggested that I start off by movi

[PATCH v2 3/3] sh: add the sh_ prefix to early platform symbols

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Old early platform device support is now sh-specific. Before moving on to implementing new early platform framework based on real platform devices, prefix all early platform symbols with 'sh_'. Signed-off-by: Bartosz Golaszewski --- arch/sh/drivers/platform_early.c

[PATCH v2 2/3] platform: move the early platform device support to arch/sh

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski SuperH is the only user of the current implementation of early platform device support. We want to introduce a more robust approach to early probing. As the first step - move all the current early platform code to arch/sh. In order not to export internal drivers/base fu

[PATCH net-next v8 1/3] vmcore: add API to collect hardware dump in second kernel

2018-05-02 Thread Rahul Lakkireddy
The sequence of actions done by device drivers to append their device specific hardware/firmware logs to /proc/vmcore are as follows: 1. During probe (before hardware is initialized), device drivers register to the vmcore module (via vmcore_add_device_dump()), with callback function, along with bu

[PATCH net-next v8 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-05-02 Thread Rahul Lakkireddy
On production servers running variety of workloads over time, kernel panic can happen sporadically after days or even months. It is important to collect as much debug logs as possible to root cause and fix the problem, that may not be easy to reproduce. Snapshot of underlying hardware/firmware stat

[PATCH net-next v8 3/3] cxgb4: collect hardware dump in second kernel

2018-05-02 Thread Rahul Lakkireddy
Register callback to collect hardware/firmware dumps in second kernel before hardware/firmware is initialized. The dumps for each device will be available as elf notes in /proc/vmcore in second kernel. Signed-off-by: Rahul Lakkireddy Signed-off-by: Ganesh Goudar --- v8: - No changes. v7: - Remo

Re: [PATCH] swiotlb: Fix inversed DMA_ATTR_NO_WARN test

2018-05-02 Thread Christian König
Am 01.05.2018 um 15:24 schrieb Michel Dänzer: From: Michel Dänzer The result was printing the warning only when we were explicitly asked not to. Cc: sta...@vger.kernel.org Fixes: 0176adb004065d6815a8e67946752df4cd947c5b "swiotlb: refactor coherent buffer allocation" Signed-off-by: Michel Dän

[PATCH net-next v8 2/3] vmcore: append device dumps to vmcore as elf notes

2018-05-02 Thread Rahul Lakkireddy
Update read and mmap logic to append device dumps as additional notes before the other elf notes. We add device dumps before other elf notes because the other elf notes may not fill the elf notes buffer completely and we will end up with zero-filled data between the elf notes and the device dumps.

[PATCH v2 1/3] clocksource: timer-ti-dm: remove the early platform driver registration

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This driver is no longer used as an early platform driver. Remove the registration macro. Signed-off-by: Bartosz Golaszewski --- drivers/clocksource/timer-ti-dm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksour

[PATCH v3 3/3] mfd: cros_ec_dev: Register cros_usbpd-charger driver as a subdevice.

2018-05-02 Thread Enric Balletbo i Serra
Check whether this EC instance has USBPD host command support and instatiate the cros_usbpd-charger driver as a subdevice in such case. Signed-off-by: Enric Balletbo i Serra --- Changes in v3: None Changes in v2: - [3/3] Use ARRAY_SIZE instead of hardcoded 1. drivers/mfd/cros_ec_dev.c | 16 +++

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

2018-05-02 Thread Enric Balletbo i Serra
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-off-by: Enric Balletbo i Serra Acked-by: Lee Jones --- Changes in v3: - [2/3] Add missing POW

[PATCH v3 0/3] mfd/power: cros_ec: add support for USBPD charger driver.

2018-05-02 Thread Enric Balletbo i Serra
Dear all, This is a third version of a patched to add support for the ChromeOS EC USBPD charger driver, the driver has been used on Chromebooks kernel for long time and has been ported now to mainline. The patches were tested successfully with a Samsung Chromebook Plus and an Pixel 2 Chromebook.

[PATCH v3 1/3] mfd: cros_ec: Add USBPD charger commands and struct definitions.

2018-05-02 Thread Enric Balletbo i Serra
From: Sameer Nanda The USBPD charger driver gets information from the ChromeOS EC, this patch adds the USBPD charger definitions needed by this driver. Signed-off-by: Sameer Nanda Signed-off-by: Enric Balletbo i Serra --- Changes in v3: - [1/3] Use the BIT macro. Changes in v2: None includ

Re: WARNING: bad unlock balance in xfs_iunlock

2018-05-02 Thread Jan Tulak
On Mon, Apr 30, 2018 at 5:14 PM, Eric Sandeen wrote: > On 4/30/18 9:02 AM, Dmitry Vyukov wrote: >> Suggestions are welcome. Currently it says "syzbot hit the following >> crash on upstream commit SHA1", which was supposed to mean just the >> state of the source tree when the crash happened. But I

Re: [PATCH v2 1/3] mfd: cros_ec: Add USBPD charger commands and struct definitions.

2018-05-02 Thread Lee Jones
> >> From: Sameer Nanda > >> > >> The USBPD charger driver gets information from the ChromeOS EC, this > >> patch adds the USBPD charger definitions needed by this driver. > >> > >> Signed-off-by: Sameer Nanda > >> Signed-off-by: Enric Balletbo i Serra > >> --- > >> > >> Changes in v2: None > >>

[PATCH 2/3] remoteproc/davinci: prepare and unprepare the clock where needed

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're currently switching the platform to using the common clock framework. We need to explicitly prepare and unprepare the rproc clock. Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna Reviewed-by: David Lechner Reviewed-by: Sekhar Nori --- drivers/remotepr

[PATCH 0/3] remoteproc/davinci: common clock framework related fixes

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Hi Bjorn, this series contains the patches from my previous remoteproc series[1] which are safe to apply on top of 4.17-rc1. They contain fixes needed for the driver to work once we're done converting to using the CCF for DaVinci. The last remoteproc patch will be sent

[PATCH 3/3] remoteproc/davinci: use octal permissions for module_param()

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Checkpatch recommends to use octal perms instead of S_IRUGO. Signed-off-by: Bartosz Golaszewski Reviewed-by: Sekhar Nori Acked-by: Suman Anna --- drivers/remoteproc/da8xx_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remote

[PATCH 1/3] remoteproc/davinci: add the missing retval check for clk_enable()

2018-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The davinci platform is being switched to using the common clock framework, where clk_enable() can fail. Add the return value check. Signed-off-by: Bartosz Golaszewski Acked-by: Suman Anna Reviewed-by: David Lechner Reviewed-by: Sekhar Nori --- drivers/remoteproc/d

Re: [PATCH v2] staging: greybus: Use gpio_is_valid()

2018-05-02 Thread Johan Hovold
On Wed, May 02, 2018 at 03:15:05PM +0530, Arvind Yadav wrote: > On Wednesday 02 May 2018 02:13 PM, Johan Hovold wrote: > > On Sat, Apr 28, 2018 at 10:05:39AM +0530, Arvind Yadav wrote: > >> Replace the manual validity checks for the GPIO with the > >> gpio_is_valid(). > >> > >> Signed-off-by: Arvi

RESPONSE

2018-05-02 Thread Ms. Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your respons

[PATCH 01/10] crypto: aead - allow to allocate AEAD requests on the stack

2018-05-02 Thread Antoine Tenart
Adds the AEAD_REQUEST_ON_STACK primitive to allow allocating AEAD requests on the stack, as it can already be done with various other crypto algorithms within the kernel. Signed-off-by: Antoine Tenart --- include/crypto/aead.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/cryp

[PATCH 03/10] crypto: inside-secure - rework the alg type settings in the context

2018-05-02 Thread Antoine Tenart
This patches reworks the way the algorithm type is set in the context, by using the fact that the decryption algorithms are just a combination of the algorithm encryption type and CONTEXT_CONTROL_TYPE_NULL_IN. This will help having simpler code when adding the AEAD support, to avoid ending up with

[PATCH 08/10] crypto: inside-secure - authenc(hmac(sha256),cbc(aes)) support

2018-05-02 Thread Antoine Tenart
This patch adds support for the first AEAD algorithm in the Inside Secure SafeXcel driver, authenc(hmac(sha256),cbc(aes)). As this is the first AEAD algorithm added to this driver, common AEAD functions are added as well. Signed-off-by: Antoine Tenart --- drivers/crypto/Kconfig

[PATCH 05/10] crypto: inside-secure - make the key and context size computation dynamic

2018-05-02 Thread Antoine Tenart
This patches makes the key and context size computation dynamic when using memzero_explicit() on these two arrays. This is safer, cleaner and will help future modifications of the driver when these two parameters sizes will changes (the context size will be bigger when using AEAD algorithms). Sign

[PATCH 07/10] crypto: inside-secure - improve error reporting

2018-05-02 Thread Antoine Tenart
This patch improves the error reporting from the Inside Secure driver to the upper layers and crypto consumers. All errors reported by the engine aren't fatal, and some may be genuine. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 21 +++ drive

[PATCH 06/10] crypto: inside-secure - fix the hash then encrypt/decrypt types

2018-05-02 Thread Antoine Tenart
This commit fixes the CONTEXT_CONTROL_TYPE_HASH_ENCRYPT_OUT and CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT types by assigning the right value, and by renaming CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT to CONTEXT_CONTROL_TYPE_HASH_DECRYPT_IN. This is not submitted as a fix for older kernel versions as these

[PATCH 09/10] crypto: inside-secure - authenc(hmac(sha224),cbc(aes)) support

2018-05-02 Thread Antoine Tenart
This patch adds the authenc(hmac(sha224),cbc(aes)) AEAD algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 1 + drivers/crypto/inside-secure/safexcel.h | 1 + .../crypto/inside-secure/safexcel_cipher.c

[PATCH 00/10] crypto: inside-secure - AEAD support

2018-05-02 Thread Antoine Tenart
Hi all, This series brings AEAD algorithms to the Inside Secure SafeXcel driver. The first 7 commits rework the driver to allow the future AEAD addition, and then 3 commits add AEAD functions and 3 algorithms. This is based on top of v4.17-rc3. Thanks! Antoine Antoine Tenart (10): crypto: aea

[PATCH 04/10] crypto: inside-secure - make the context control size dynamic

2018-05-02 Thread Antoine Tenart
This patch makes the context control size computation dynamic, not to rely on hardcoded values. This is better for the future, and will help adding the AEAD support. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel_cipher.c | 5 ++--- 1 file changed, 2 insertions(+), 3 del

[PATCH 02/10] crypto: inside-secure - rework cipher functions for future AEAD support

2018-05-02 Thread Antoine Tenart
This patch reworks the Inside Secure cipher functions, to remove all skcipher specific information and structure from all functions generic enough to be shared between skcipher and aead algorithms. This is a cosmetic only patch. Signed-off-by: Antoine Tenart --- .../crypto/inside-secure/safexce

[PATCH 10/10] crypto: inside-secure - authenc(hmac(sha1),cbc(aes)) support

2018-05-02 Thread Antoine Tenart
This patch adds the authenc(hmac(sha1),cbc(aes)) AEAD algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 1 + drivers/crypto/inside-secure/safexcel.h | 1 + .../crypto/inside-secure/safexcel_cipher.c

Re: [PATCH v3 2/2] x86/mce: add CMCI support for Centaur CPUs

2018-05-02 Thread David Wang
> -Original Mail- > Sender: Borislav Petkov [mailto:b...@alien8.de] > Time: 2018年4月30日 17:48 > Receiver: David Wang > CC: tony.l...@intel.com; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; gre...@linuxfoundation.org; x...@kernel.org; linux- > ker...@vger.kernel.org; linux-e...@

Re: [PATCH] pinctrl: meson: axg: add tdm pins

2018-05-02 Thread Linus Walleij
On Mon, Apr 9, 2018 at 4:54 PM, Jerome Brunet wrote: > Add the information related to the tdm pins of the A113D SoC > > Signed-off-by: Jerome Brunet Patch applied with Neil's review tag. Yours, Linus Walleij

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

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 01:02:39 PM Daniel Lezcano wrote: > 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

[PATCH] swiotlb: Suppress "Out of SW-IOMMU" errors for NO_WARN

2018-05-02 Thread Chris Wilson
This extends the warning suppression from commit d0bc0c2a31c9 ("swiotlb: suppress warning when __GFP_NOWARN is set") to suppress the warnings when DMA_ATTR_NO_WARN is given by caller. In such cases the caller wants to handle the error themselves. Fixes: d0bc0c2a31c9 ("swiotlb: suppress warning whe

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

2018-05-02 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 01:11:20 PM Daniel Lezcano wrote: > 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

Re: [PATCH 2/2] PCI: mediatek: Using chained IRQ to setup IRQ handle

2018-05-02 Thread Marc Zyngier
On 02/05/18 10:41, Honghui Zhang wrote: > On Mon, 2018-04-30 at 12:03 +0100, Marc Zyngier wrote: >> Hi Zhang, >> >> On 20/04/18 06:25, honghui.zh...@mediatek.com wrote: >>> From: Honghui Zhang >>> >>> Using irq_chip solution to setup IRQs for the consistent with IRQ framework. >>> >>> Signed-off-b

Re: [PATCH] mm: provide a fallback for PAGE_KERNEL_RO for architectures

2018-05-02 Thread Geert Uytterhoeven
Hi Luis, On Sat, Apr 28, 2018 at 2:15 AM, Luis R. Rodriguez wrote: > Some architectures do not define PAGE_KERNEL_RO, best we can do > for them is to provide a fallback onto PAGE_KERNEL. Remove the > hack from the firmware loader and move it onto the asm-generic > header, and document while at it

Re: [PATCH] gpio: zynq: Setup chip->base based on alias ID

2018-05-02 Thread Linus Walleij
On Thu, Apr 26, 2018 at 3:35 PM, Michal Simek wrote: >> The only use case which I can think about is userspace sysfs >> and then I would really like to know why these userspace >> users cannot use the character device that is nowadays >> supported by libgpiod and there is even patches for some >>

[PATCH] gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize"

2018-05-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DRM_ERROR error message Signed-off-by: Colin Ian King --- drivers/gpu/drm/sti/sti_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c index 21e50d7b1f8

Re: [PATCH v5] gpio: dwapb: Add support for 1 interrupt per port A GPIO

2018-05-02 Thread Linus Walleij
On Thu, Apr 26, 2018 at 6:19 PM, Phil Edworthy wrote: > The DesignWare GPIO IP can be configured for either 1 interrupt or 1 > per GPIO in port A, but the driver currently only supports 1 interrupt. > See the DesignWare DW_apb_gpio Databook description of the > 'GPIO_INTR_IO' parameter. > > This

RE: [PATCH v2] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-05-02 Thread Adam Thomson
On 01 May 2018 21:50, Mark Brown wrote: > On Mon, Apr 30, 2018 at 07:05:19PM +, Adam Thomson wrote: > > > There is already a means via DT to specify the MCLK for a device using the > > generic clock DT bindings, and this driver already uses that. Should ACPI > > not > > have something simila

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

2018-05-02 Thread Kohli, Gaurav
On 5/2/2018 1:50 PM, Peter Zijlstra wrote: On Wed, May 02, 2018 at 10:45:52AM +0530, Kohli, Gaurav wrote: On 5/1/2018 6:49 PM, Peter Zijlstra wrote: - complete(&kthread->parked), which we can do inside schedule(); this solves the problem because then kthread_park() will not return e

Re: [PATCH] gpio: zynq: Setup chip->base based on alias ID

2018-05-02 Thread Michal Simek
On 2.5.2018 12:10, Linus Walleij wrote: > On Thu, Apr 26, 2018 at 3:35 PM, Michal Simek wrote: > >>> The only use case which I can think about is userspace sysfs >>> and then I would really like to know why these userspace >>> users cannot use the character device that is nowadays >>> supported b

Re: [PATCH] firmware/psci: add support for SYSTEM_RESET2

2018-05-02 Thread Sudeep Holla
On 01/05/18 18:59, Florian Fainelli wrote: > On 05/01/2018 07:51 AM, Sudeep Holla wrote: >> PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets >> where the semantics are described by the PSCI specification itself as >> well as vendor-specific resets. Currently only system warm

Re: linux-next: manual merge of the rdma tree with the rdma-fixes tree

2018-05-02 Thread Leon Romanovsky
On Mon, Apr 30, 2018 at 08:55:35PM -0400, Doug Ledford wrote: > On Tue, 2018-05-01 at 10:10 +1000, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the rdma tree got a conflict in: > > > > drivers/infiniband/sw/rxe/rxe_resp.c > > > > between commit: > > > > 9fd4350ba895 (

Re: [v5 2/2] clk: qcom: clk-rpmh: Add QCOM RPMh clock driver

2018-05-02 Thread Taniya Das
Thanks Stephen for the comments. On 5/2/2018 2:57 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-05-01 01:41:33) Add the RPMh clock driver to control the RPMh managed clock resources on some of the Qualcomm Technologies, Inc. SoCs. Signed-off-by: Amit Nischal Signed-off-by: Taniya Das Dr

Re: [PATCH v7 2/5] cpuset: Add cpuset.sched_load_balance to v2

2018-05-02 Thread Peter Zijlstra
On Thu, Apr 19, 2018 at 09:47:01AM -0400, Waiman Long wrote: > + cpuset.sched_load_balance > + A read-write single value file which exists on non-root cgroups. Uhhm.. it should very much exist in the root group too. Otherwise you cannot disable it there, which is required to allow smaller gro

Re: [PATCH 2/2] Use bit-wise majority to recover the contents of ONFI parameter

2018-05-02 Thread Boris Brezillon
Hi Jane, On Thu, 26 Apr 2018 17:19:56 -0700 Jane Wan wrote: > Signed-off-by: Jane Wan > --- > drivers/mtd/nand/nand_base.c | 35 +++ > 1 file changed, 31 insertions(+), 4 deletions(-) > > diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.

Re: [PATCH V4 2/8] soc: mediatek: pwrap: add caps flag for pwrap

2018-05-02 Thread Matthias Brugger
On 05/02/2018 11:21 AM, argus@mediatek.com wrote: > From: Argus Lin > > We use caps to describe pwrap's capability, used > to replace has_bridge flag for single meaning. > > Signed-off-by: Argus Lin > --- > drivers/soc/mediatek/mtk-pmic-wrap.c | 11 +++ > 1 file changed, 11 inser

Re: [PATCH V4 3/8] soc: mediatek: pwrap: remove has_bridge flag

2018-05-02 Thread Matthias Brugger
On 05/02/2018 11:21 AM, argus@mediatek.com wrote: > From: Argus Lin > > We use new flag caps to replace has_bridge. > Legacy chips support bridge use PWRAP_CAP_BRIDGE > to explain such capability. > > Signed-off-by: Argus Lin > --- Squash this one into 2/8. Regards, Matthias > drivers

Re: [v2 PATCH 1/1] tg3: fix meaningless hw_stats reading after tg3_halt memset 0 hw_stats

2018-05-02 Thread Zumeng Chen
On 2018年05月02日 13:12, Michael Chan wrote: On Tue, May 1, 2018 at 5:42 PM, Zumeng Chen wrote: diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h index 3b5e98e..c61d83c 100644 --- a/drivers/net/ethernet/broadcom/tg3.h +++ b/drivers/net/ethernet/broadcom/tg3.h

Re: [PATCH V4 4/8] soc: mediatek: pwrap: add int1_en_all flag

2018-05-02 Thread Matthias Brugger
On 05/02/2018 11:21 AM, argus@mediatek.com wrote: > From: Argus Lin > > MT6797 support int1_en flag for starvation > and cmd_miss exception interrupt. We add > a new flag int1_en_all to check if we need > to enable interrupt source or not. > > Signed-off-by: Argus Lin > --- > drivers/soc

Re: possible deadlock in blkdev_reread_part

2018-05-02 Thread Tetsuo Handa
Dmitry Vyukov wrote: > > syzbot is reporting various bugs which involve /dev/loopX. > > Two of them > > > > INFO: rcu detected stall in lo_ioctl > > > > https://syzkaller.appspot.com/bug?id=7b49fb610af9cca78c24e9f796f2e8b0d5573997 > > > > general protection fault in lo_ioctl (2) > > > > h

[PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-05-02 Thread Sudeep Holla
PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets where the semantics are described by the PSCI specification itself as well as vendor-specific resets. Currently only system warm reset semantics is defined as part of architectural resets by the specification. This patch impleme

Re: [PATCH 2/2] Use bit-wise majority to recover the contents of ONFI parameter

2018-05-02 Thread Boris Brezillon
On Wed, 2 May 2018 12:25:45 +0200 Boris Brezillon wrote: > Hi Jane, > > On Thu, 26 Apr 2018 17:19:56 -0700 > Jane Wan wrote: > > > Signed-off-by: Jane Wan > > --- > > drivers/mtd/nand/nand_base.c | 35 +++ > > 1 file changed, 31 insertions(+), 4 deletions(-)

Re: [PATCH V4 5/8] soc: mediatek: pwrap: add pwrap for mt6797 SoCs

2018-05-02 Thread Matthias Brugger
On 05/02/2018 11:21 AM, argus@mediatek.com wrote: > From: Argus Lin > > mt6797 is a highly integrated SoCs, it uses mt6351 for power > management. We need to add pwrap support to access mt6351. > Pwrap of mt6797 support new feature include starvation and channel > request exception interrup

Re: general protection fault in kernfs_kill_sb

2018-05-02 Thread Tetsuo Handa
On 2018/04/20 11:44, Eric Biggers wrote: > Fix for the kernfs bug is now queued in vfs/for-linus: > > #syz fix: kernfs: deal with early sget() failures Well, the following patches rpc_pipefs: deal with early sget() failures kernfs: deal with early sget() failures procfs: deal with early sg

Re: [PATCH 1/2] Fix FSL NAND driver to read all ONFI parameter pages

2018-05-02 Thread Boris Brezillon
On Tue, 1 May 2018 05:01:23 + "Wan, Jane (Nokia - US/Sunnyvale)" wrote: > Hi Miquèl and Boris, > > Thank you for your response and feedback. I've modified the fix based on > your comments. > Please see the updated patch file at the end of this message (also in > attachment). > My answer

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

2018-05-02 Thread Gustavo Pimentel
Hi Lorenzo, On 01/05/2018 15:26, Lorenzo Pieralisi wrote: > On Tue, May 01, 2018 at 05:53:59PM +0530, Kishon Vijay Abraham I wrote: >> 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 Lor

Re: [Regression] PCI / PM: Simplify device wakeup settings code

2018-05-02 Thread Rafael J. Wysocki
On Tue, May 1, 2018 at 9:55 PM, Bjorn Helgaas wrote: > On Tue, May 01, 2018 at 10:34:29AM +0200, Rafael J. Wysocki wrote: >> On Mon, Apr 30, 2018 at 4:22 PM, Joseph Salisbury >> wrote: >> > On 04/16/2018 11:58 AM, Rafael J. Wysocki wrote: >> >> On Mon, Apr 16, 2018 at 5:31 PM, Joseph Salisbury >>

[PATCH v3] mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

2018-05-02 Thread Ladislav Michl
dma_map_single does not work for vmalloc-ed buffers, so disable DMA in this case. Signed-off-by: Ladislav Michl Reported-by: "H. Nikolaus Schaller" Tested-by: "H. Nikolaus Schaller" --- Changes: -v2: Added Tested-by tag, based on v4.17-rc1 (no change in patch itself) -v3: Reworded commit l

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

2018-05-02 Thread Bartosz Golaszewski
2018-05-01 12:29 GMT+02:00 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' proper

Re: [PATCH v3] mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

2018-05-02 Thread Peter Ujfalusi
On 2018-05-02 13:41, Ladislav Michl wrote: > dma_map_single does not work for vmalloc-ed buffers, > so disable DMA in this case. Reviewed-by: Peter Ujfalusi > Signed-off-by: Ladislav Michl > Reported-by: "H. Nikolaus Schaller" > Tested-by: "H. Nikolaus Schaller" > --- > Changes: > -v2: A

Re: [PATCH v2] staging: greybus: Use gpio_is_valid()

2018-05-02 Thread Arvind Yadav
On Wednesday 02 May 2018 03:27 PM, Johan Hovold wrote: On Wed, May 02, 2018 at 03:15:05PM +0530, Arvind Yadav wrote: On Wednesday 02 May 2018 02:13 PM, Johan Hovold wrote: On Sat, Apr 28, 2018 at 10:05:39AM +0530, Arvind Yadav wrote: Replace the manual validity checks for the GPIO with the

[PATCH 1/2] dt-bindings: clock: Introduce QCOM RPMh clock bindings

2018-05-02 Thread Taniya Das
Add RPMh clock device bindings for Qualcomm Technology Inc's SoCs. These devices would be used for communicating resource state requests to control the clocks managed by RPMh. Signed-off-by: Taniya Das Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/qcom,rpmh-clk.txt| 46

Re: [PATCH] ACPI: prefer bool over int for predicates

2018-05-02 Thread Rafael J. Wysocki
On Sunday, April 8, 2018 10:46:27 AM CEST Joey Pabalinas wrote: > > --dohnnvt2hwn6rmo4 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Prefer bool over int for variables / returns which are > predicate expressions to mak

[v6 0/2] clk: qcom: clk-rpmh: Add QCOM RPMh clock driver

2018-05-02 Thread Taniya Das
[v6] * Addressed comments from Rob * Addressed comments from Stephen [v5] * Addressed comments from Stephen * Introduced a new DT property to take clock divs [v4] * Addressed comments from Stephen [v3] * Addressed documentation & code review comments from Bjorn * Addressed

[PATCH 2/2] clk: qcom: clk-rpmh: Add QCOM RPMh clock driver

2018-05-02 Thread Taniya Das
Add the RPMh clock driver to control the RPMh managed clock resources on some of the Qualcomm Technologies, Inc. SoCs. Signed-off-by: Taniya Das --- drivers/clk/qcom/Kconfig| 9 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-rpmh.c | 366 ++

Re: [PATCH 2/2] PCI: mediatek: Using chained IRQ to setup IRQ handle

2018-05-02 Thread Honghui Zhang
On Mon, 2018-04-30 at 12:03 +0100, Marc Zyngier wrote: > Hi Zhang, > > On 20/04/18 06:25, honghui.zh...@mediatek.com wrote: > > From: Honghui Zhang > > > > Using irq_chip solution to setup IRQs for the consistent with IRQ framework. > > > > Signed-off-by: Honghui Zhang > > --- > > drivers/pci

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