Re: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-05-30 Thread Boris Brezillon
Hi Frieder, On Wed, 30 May 2018 15:14:32 +0200 Frieder Schrempf wrote: > + > +static const char *fsl_qspi_get_name(struct spi_mem *mem) > +{ > + struct fsl_qspi *q = spi_controller_get_devdata(mem->spi->master); > + struct device *dev = >spi->dev; > + const char *name; > + > +

Re: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-05-30 Thread Frieder Schrempf
Hi Boris, On 30.05.2018 16:58, Boris Brezillon wrote: Hi Frieder, On Wed, 30 May 2018 15:14:32 +0200 Frieder Schrempf wrote: + +static const char *fsl_qspi_get_name(struct spi_mem *mem) +{ + struct fsl_qspi *q = spi_controller_get_devdata(mem->spi->master); + struct device *dev

Re: [PATCH] IB/mad: Use ID allocator routines to allocate agent number

2018-05-30 Thread Jason Gunthorpe
On Wed, May 30, 2018 at 09:32:02AM +0200, Håkon Bugge wrote: > > > > On 29 May 2018, at 18:40, Jason Gunthorpe wrote: > > > > On Tue, May 29, 2018 at 06:16:14PM +0200, Håkon Bugge wrote: > >> > >>> On 29 May 2018, at 17:49, Jason Gunthorpe wrote: > >>> > >>> On Tue, May 29, 2018 at

Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-30 Thread Doug Anderson
Hi, On Wed, May 30, 2018 at 8:02 AM, Mark Brown wrote: > On Wed, May 30, 2018 at 07:46:50AM -0700, Doug Anderson wrote: >> On Wed, May 30, 2018 at 2:37 AM, Mark Brown wrote: > >> >> Linux vote for the lowest voltage it's comfortable with. Linux keeps >> >> track of the true voltage that the

Re: [PATCH v5 07/10] sched/irq: add irq utilization tracking

2018-05-30 Thread Dietmar Eggemann
On 05/25/2018 03:12 PM, Vincent Guittot wrote: interrupt and steal time are the only remaining activities tracked by rt_avg. Like for sched classes, we can use PELT to track their average utilization of the CPU. But unlike sched class, we don't track when entering/leaving interrupt; Instead, we

Re: [PATCH v2 1/6] ARM: dra762: hwmod: Add MCAN support

2018-05-30 Thread Tony Lindgren
* Tero Kristo [180530 15:44]: > On 30/05/18 18:28, Tony Lindgren wrote: > > * Tero Kristo [180530 15:18]: > > > For the OCP if part, I think that is still needed until we switch over to > > > full sysc driver. clkctrl_offs you probably also need because that is used > > > for mapping the

Re: [PATCH v9 01/15] ARM: Add Krait L2 register accessor functions

2018-05-30 Thread Stephen Boyd
Quoting Sricharan R (2018-05-24 22:40:11) > Hi Bjorn, > > On 5/24/2018 11:09 PM, Bjorn Andersson wrote: > > On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > > > >> From: Stephen Boyd > >> > >> Krait CPUs have a handful of L2 cache controller registers that > >> live behind a cp15 based

[PATCH v2] platform/chrome: Use to_cros_ec_dev more broadly

2018-05-30 Thread Gwendal Grignou
Move to_cros_ec_dev macro to cros_ec.h and use it when the private ec object is needed from device object. Signed-off-by: Gwendal Grignou --- Change since v1: Remove changes in cros_ec_dev.c to avoid inter-dependencies. drivers/platform/chrome/cros_ec_lightbar.c | 21 +++--

[PATCH] objtool: Fix GCC 8 cold subfunction detection for aliased functions

2018-05-30 Thread Josh Poimboeuf
The kbuild test robot reported the following issue: kernel/time/posix-stubs.o: warning: objtool: sys_ni_posix_timers.cold.1()+0x0: unreachable instruction This file creates symbol aliases for the sys_ni_posix_timers() function. So there are multiple ELF function symbols for the same function:

Re: [PATCH 2/2] fs, elf: drop MAP_FIXED usage from elf_map

2018-05-30 Thread Michal Hocko
On Wed 30-05-18 08:00:29, Mike Kravetz wrote: > On 05/30/2018 01:02 AM, Michal Hocko wrote: > > On Tue 29-05-18 15:21:14, Mike Kravetz wrote: > >> Just a quick heads up. I noticed a change in libhugetlbfs testing starting > >> with v4.17-rc1. > >> > >> V4.16 libhugetlbfs test results > >>

Re: [PATCH 06/13] blkcg: add generic throttling mechanism

2018-05-30 Thread Tejun Heo
Hello, On Tue, May 29, 2018 at 05:17:17PM -0400, Josef Bacik wrote: > +static void blkcg_scale_delay(struct blkcg_gq *blkg, u64 now) > +{ > + u64 old = atomic64_read(>delay_start); > + > + if (old + NSEC_PER_SEC <= now && Maybe time_before64()? > + atomic64_cmpxchg(>delay_start,

Re: [virtio-dev] [PATCH] virtio_pci: support enabling VFs

2018-05-30 Thread Duyck, Alexander H
On Wed, 2018-05-30 at 19:22 +0300, Michael S. Tsirkin wrote: > On Wed, May 30, 2018 at 09:10:57AM -0700, Alexander Duyck wrote: > > On Wed, May 30, 2018 at 1:55 AM, Tiwei Bie wrote: > > > There is a new feature bit allocated in virtio spec to > > > support SR-IOV (Single Root I/O Virtualization):

[PATCH v2] cros_ec: Use devm_kzalloc for private data

2018-05-30 Thread Gwendal Grignou
Use dev_kzmalloc, remove .release entry point. Signed-off-by: Gwendal Grignou --- Change sinc v1: - Readd __remove to avoid a warning when loaded as a module. drivers/mfd/cros_ec_dev.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/cros_ec_dev.c

[PATCH] selftests: lib: fix prime_numbers module search and skip logic

2018-05-30 Thread Shuah Khan (Samsung OSG)
prime_numbers modules search and skip logic removes the module instead of searching for it. Fix it. Signed-off-by: Shuah Khan (Samsung OSG) --- tools/testing/selftests/lib/prime_numbers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v1 1/2] PCI/AER: Decode Error Source Requester ID

2018-05-30 Thread Rajat Jain
On Wed, May 30, 2018 at 10:54 AM Bjorn Helgaas wrote: > From: Bjorn Helgaas > Decode the Requester ID from the AER Error Source Register into domain/ > bus/device/function format to match other logging. In cases where the ID > matches the device used for pci_err(), drop the extra ID

[PATCH v2] dmaengine: pxa: add a default requestor policy

2018-05-30 Thread Robert Jarzmik
As what former drcmr -1 value meant, add a this as a default to each channel, ie. that by default no requestor line is used. This is specifically used for network drivers smc91x and smc911x, and needed for their port to slave maps. Cc: Arnd Bergmann Signed-off-by: Robert Jarzmik --- Since v1:

Re: [PATCH v3 0/2] mm: PAGE_KERNEL_* fallbacks

2018-05-30 Thread Luis R. Rodriguez
On Wed, May 30, 2018 at 10:06:08PM +0200, Greg KH wrote: > On Wed, May 30, 2018 at 09:55:00PM +0200, Luis R. Rodriguez wrote: > > On Wed, May 23, 2018 at 11:35:51PM +0200, Luis R. Rodriguez wrote: > > > On Wed, May 16, 2018 at 06:44:03PM +0200, Luis R. Rodriguez wrote: > > > > On Thu, May 10, 2018

Re: Bugs involving maliciously crafted file system

2018-05-30 Thread Matthew Garrett
On Wed, May 30, 2018 at 1:42 PM Dave Chinner wrote: > We've learnt this lesson the hard way over and over again: don't > parse untrusted input in privileged contexts. How many times do we > have to make the same mistakes before people start to learn from > them? You're not wrong, but we haven't

Re: [patch] mm, hugetlb_cgroup: suppress SIGBUS when hugetlb_cgroup charge fails

2018-05-30 Thread David Rientjes
Hi Mike, On Tue, 29 May 2018, Mike Kravetz wrote: > > When charging to a hugetlb_cgroup fails, alloc_huge_page() returns > > ERR_PTR(-ENOSPC) which will cause VM_FAULT_SIGBUS to be returned to the > > page fault handler. > > > > Instead, return the proper error code, ERR_PTR(-ENOMEM), so

[PATCH v7 09/10] dt-bindings: clock: Add bindings for ZynqMP clock driver

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++ include/dt-bindings/clock/xlnx,zynqmp-clk.h| 116

[PATCH v7 10/10] drivers: clk: Add ZynqMP clock driver

2018-05-30 Thread Jolly Shah
From: Jolly Shah This patch adds CCF compliant clock driver for ZynqMP. Clock driver queries supported clock information from firmware and regiters pll and output clocks with CCF. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Shubhrajyoti Datta Signed-off-by: Jolly Shah

[PATCH v7 06/10] firmware: xilinx: Add debugfs interface

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Firmware-debug provides debugfs interface to all APIs. Debugfs can be used to call firmware APIs with required parameters. Usage: * Calling firmware API through debugfs: # echo " .. " > /sys/.../zynqmp-firmware/pm * Read output of last called firmware API: # cat

[PATCH v7 02/10] firmware: xilinx: Add Zynqmp firmware driver

2018-05-30 Thread Jolly Shah
From: Rajan Vaja This patch is adding communication layer with firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW(Platform Management Unit). All requests go through ATF. Signed-off-by: Rajan Vaja Signed-off-by:

Re: [PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-05-30 Thread Andrew Lunn
On Wed, May 30, 2018 at 01:48:30PM -0700, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > moves the allocation into struct mdio_mux_gpio_state during probe. > > [1] >

[PATCH v7 00/10] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-05-30 Thread Jolly Shah
v7: - Removed xilinx specific clock debugfs API support - Added reviewed-by tags for FW and clock bindings - Updated clock node name to clock-controller v6: - Broke patch series to have base FW driver and Clock driver user - Incorporated code review comments from last FW and Clock driver

[PATCH v7 05/10] firmware: xilinx: Add clock APIs

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add clock APIs to control clocks through firmware interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 186 ++- include/linux/firmware/xlnx-zynqmp.h | 30 ++ 2 files changed, 214

Re: [PATCH 02/11] PM / devfreq: Fix handling of min/max_freq == 0

2018-05-30 Thread Matthias Kaehlcke
On Wed, May 30, 2018 at 05:04:14PM +0900, Chanwoo Choi wrote: > Hi, > > On 2018년 05월 30일 03:57, Matthias Kaehlcke wrote: > > On Mon, May 28, 2018 at 03:37:47PM +0900, Chanwoo Choi wrote: > >> Hi, > >> > >> On 2018년 05월 26일 05:30, Matthias Kaehlcke wrote: > >>> Commit ab8f58ad72c4 ("PM / devfreq:

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-05-30 Thread Sagi Grimberg
Hi Folks, I'm sorry to chime in super late on this, but a lot has been going on for me lately which got me off the grid. So I'll try to provide my input hopefully without starting any more flames.. This patch series aims to provide a more fine grained control over nvme's native multipathing,

[PATCH] staging: lustre: include linux/highmem.h when needed

2018-05-30 Thread Arnd Bergmann
Something in recent linux-next kernels caused linux/highmem.h to no longer be included implicitly from o2iblnd_cb.c, causing a build failure: drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function 'kiblnd_kvaddr_to_page':

Re: [PATCH v3 1/3] Input: ti_am335x_tsc - Mark IRQ as wakeup capable

2018-05-30 Thread Dmitry Torokhov
Hi Vignesh, On Tue, Apr 24, 2018 at 11:57:39AM +0530, Vignesh R wrote: > On AM335x, ti_am335x_tsc can wake up the system from suspend, mark the > IRQ as wakeup capable, so that device irq is not disabled during system > suspend. > > Signed-off-by: Vignesh R > --- > v3: Drop unneeded

[PATCH] ieee802154: mcr20a: add missing includes

2018-05-30 Thread Arnd Bergmann
Without CONFIG_GPIOLIB, some headers are not included implicitly, leading to a build failure: drivers/net/ieee802154/mcr20a.c: In function 'mcr20a_probe': drivers/net/ieee802154/mcr20a.c:1347:13: error: implicit declaration of function 'irq_get_trigger_type'; did you mean

Re: LKMM litmus test for Roman Penyaev's rcu-rr

2018-05-30 Thread Paul E. McKenney
On Wed, May 30, 2018 at 04:28:56PM -0400, Alan Stern wrote: > On Wed, 30 May 2018, Paul E. McKenney wrote: > > > > > My current guess is that we need to change the memory-model tool. If > > > > that is the case, here are some possible resolutions: > > > > > > > > 1. Make herd's C-language

Re: WARNING and PANIC in irq_matrix_free

2018-05-30 Thread Thomas Gleixner
Song, On Tue, 29 May 2018, Song Liu wrote: > > On May 29, 2018, at 1:35 AM, Thomas Gleixner wrote: > >> Maybe we cannot enable all trace points under irq_vectors/ and irq_matrix. > > > > Right. Sorry, I forgot to say that we only need the irq_vectors ones which > > are related to vector

Re: [PATCH][next] mailbox: PCC: check for negative count for parse failure checking

2018-05-30 Thread Al Stone
On 05/30/2018 12:24 PM, Colin Ian King wrote: > On 30/05/18 18:59, Al Stone wrote: >> On 05/30/2018 11:14 AM, Colin King wrote: >>> From: Colin Ian King >>> >>> The function acpi_table_parse_enties_array can potentially return a >>> negative value if parsing fails. Currently the check on the

Re: LKMM litmus test for Roman Penyaev's rcu-rr

2018-05-30 Thread Paul E. McKenney
On Wed, May 30, 2018 at 03:08:43PM -0400, Alan Stern wrote: > On Wed, 30 May 2018, Paul E. McKenney wrote: > > > On Wed, May 30, 2018 at 09:59:28AM -0500, Linus Torvalds wrote: > > > On Wed, May 30, 2018 at 9:29 AM Alan Stern > > > wrote: > > > > > > > > > > > > > Can't we simplify the whole

[Patch v2 00/15] CIFS: Add direct I/O support

2018-05-30 Thread Long Li
From: Long Li This patch set implements direct I/O. In normal code path (even with cache=none), CIFS copies I/O data from user-space to kernel-space for security reasons of possible protocol required signing and encryption on user data. With this patch set, CIFS passes the I/O data directly

Re: [PATCH v4 04/22] iommu/vt-d: add bind_pasid_table function

2018-05-30 Thread Jacob Pan
On Wed, 30 May 2018 12:53:53 +0100 Jean-Philippe Brucker wrote: > On 30/05/18 04:45, Tian, Kevin wrote: > >> On SMMUv3 the minimum alignment for base_ptr is 64 bytes, so > >> a > guest > >> under a vSMMU might pass a pointer that's not aligned on 4k. > >> > > PASID

[Patch v2 01/15] CIFS: Introduce offset for the 1st page in data transfer structures

2018-05-30 Thread Long Li
From: Long Li When direct I/O is used, the data buffer may not always align to page boundaries. Introduce a page offset in transport data structures to describe the location of the buffer within the page. Also change the function to pass the page offset when sending data to transport.

[Patch v2 10/15] CIFS: SMBD: Support page offset in memory registration

2018-05-30 Thread Long Li
From: Long Li Change code to pass the correct page offset during memory registration for RDMA read/write. Signed-off-by: Long Li --- fs/cifs/smb2pdu.c | 18 - fs/cifs/smbdirect.c | 76 +++-- fs/cifs/smbdirect.h | 2 +- 3 files

[Patch v2 08/15] CIFS: SMBD: Support page offset in RDMA send

2018-05-30 Thread Long Li
From: Long Li The RDMA send function needs to look at offset in the request pages, and send data starting from there. Signed-off-by: Long Li --- fs/cifs/smbdirect.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/fs/cifs/smbdirect.c

[Patch v2 06/15] CIFS: Introduce helper function to get page offset and length in smb_rqst

2018-05-30 Thread Long Li
From: Long Li Introduce a function rqst_page_get_length to return the page offset and length for a given page in smb_rqst. This function is to be used by following patches. Signed-off-by: Long Li --- fs/cifs/cifsproto.h | 3 +++ fs/cifs/misc.c | 17 + 2 files changed, 20

[Patch v2 09/15] CIFS: SMBD: Support page offset in RDMA recv

2018-05-30 Thread Long Li
From: Long Li RDMA recv function needs to place data to the correct place starting at page offset. Signed-off-by: Long Li --- fs/cifs/smbdirect.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c index

Re: [PATCH 0/9] clk: davinci: outstanding fixes

2018-05-30 Thread Michael Turquette
Hi David, Quoting David Lechner (2018-05-25 11:11:41) > This is a resend of all of the outstanding DaVinci clock patches plus one new > patch. All of the patches (except the new one) have been reviewed and tested > by someone other than me. > > The new patch ("clk: davinci: Fix link errors when

Re: Linux 4.4.135

2018-05-30 Thread Greg KH
diff --git a/Makefile b/Makefile index 119dbcb4f311..9b14a5a224c5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 134 +SUBLEVEL = 135 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index

Linux 4.4.135

2018-05-30 Thread Greg KH
I'm announcing the release of the 4.4.135 kernel. This is a quick release, reverting one commit in the 4.4.134 networking stack that should not have gotten backported. If 4.4.134 works for you, wonderful, but you really should update to be sure... The updated 4.4.y git tree can be found at:

Re: [PATCH v1 05/20] signal: flatten do_send_sig_info()

2018-05-30 Thread Eric W. Biederman
Christian Brauner writes: 2> On Tue, May 29, 2018 at 07:28:27AM -0500, Eric W. Biederman wrote: >> Christian Brauner writes: >> >> > Let's return early when lock_task_sighand() fails and move send_signal() >> > and unlock_task_sighand() out of the if block. >> >> Introducing multiple exits

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-30 Thread Janusz Krzysztofik
On Wednesday, May 30, 2018 7:52:20 PM CEST Boris Brezillon wrote: > On Wed, 30 May 2018 19:43:09 +0200 > > Janusz Krzysztofik wrote: > > On Wednesday, May 30, 2018 11:05:00 AM CEST Boris Brezillon wrote: > > > Hi Janusz, > > > > Hi Boris, > > > > > On Sat, 26 May 2018 00:20:45 +0200 > > > > >

[PATCH v2] mdio-mux-gpio: Remove VLA usage

2018-05-30 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this moves the allocation into struct mdio_mux_gpio_state during probe. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com Signed-off-by: Kees Cook --- v2: allocate array as part of

Re: linux-next: manual merge of the regulator tree with the arm-soc tree

2018-05-30 Thread Janusz Krzysztofik
On Wednesday, May 30, 2018 7:07:11 AM CEST Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the regulator tree got a conflict in: > > arch/arm/mach-omap1/board-ams-delta.c > > between commit: > > 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables") > > from the

Re: [PATCH v7 5/7] drivers/i2c: Add transfer implementation for FSI algorithm

2018-05-30 Thread Eddie James
On 05/29/2018 07:08 PM, Andy Shevchenko wrote: On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote: From: "Edward A. James" Execute I2C transfers from the FSI-attached I2C master. Use polling instead of interrupts as we have no hardware IRQ over FSI. + if (msg->flags & I2C_M_RD) +

Re: [PATCH 16/28] ovl: Do not expose metacopy only dentry from d_real()

2018-05-30 Thread Vivek Goyal
On Tue, May 29, 2018 at 04:46:00PM +0200, Miklos Szeredi wrote: > From: Vivek Goyal > > Metacopy dentry/inode is internal to overlay and is never exposed outside > of it. Exception is metacopy upper file used for fsync(). Modify d_real() > to look for dentries/inode which have data, but also

[PATCH] h8300:let the checker know that size_t is ulong

2018-05-30 Thread Luc Van Oostenryck
All 64bit archs use unsigned long for size_t and most 32bit archs use 'unsigned int'. By default, this is what is assumed by sparse. However, on h8300 (a 32bit arch) size_t is unsigned long which can led sparse to emit wrong warnings. Fix this by passing to sparse the flag -msize-long, telling

Re: [PATCH] lib/bch: Remove VLA usage

2018-05-30 Thread Kees Cook
On Wed, May 30, 2018 at 6:46 AM, Ivan Djelic wrote: > On Tue, May 29, 2018 at 03:42:07PM -0700, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this removes >> the on-stack working buffers in favor of pre-allocated working buffers >> (which were already used in

[PATCH v2] staging: mt7621-mmc: Fix line size exceeding 80 columns

2018-05-30 Thread Sankalp Negi
This patch fixes checkpatch.pl warning and check: WARNING: line over 80 characters CHECK: Alignment should match open parenthesis Signed-off-by: Sankalp Negi --- Changes in v2: - Made alignments to match open parenthesis. --- drivers/staging/mt7621-mmc/dbg.c | 3 ++- 1 file changed, 2

Re: [PATCH 4/9] clk: davinci: pll-dm646x: keep PLL2 SYSCLK1 always enabled

2018-05-30 Thread David Lechner
On 05/30/2018 12:22 PM, Michael Turquette wrote: Quoting David Lechner (2018-05-25 11:11:45) From: Sekhar Nori PLL2 SYSCLK1 on DM646x is connected to DDR2 PHY and cannot be disabled. Mark it so to prevent unused clock disable infrastructure from disabling it. Signed-off-by: Sekhar Nori

Re: [PATCH 00/12] introduce support for early platform drivers

2018-05-30 Thread Michael Turquette
Hi Rob, Quoting Rob Herring (2018-05-14 06:20:57) > On Mon, May 14, 2018 at 6:38 AM, Bartosz Golaszewski wrote: > > 2018-05-11 22:13 GMT+02:00 Rob Herring : > >> On Fri, May 11, 2018 at 11:20 AM, Bartosz Golaszewski > >> wrote: > >>> This series is a follow-up to the RFC[1] posted a couple

[Patch v2 03/15] CIFS: Use offset when reading pages

2018-05-30 Thread Long Li
From: Long Li With offset defined in rdata, transport functions need to look at this offset when reading data into the correct places in pages. Signed-off-by: Long Li --- fs/cifs/cifsproto.h | 4 +++- fs/cifs/connect.c | 5 +++-- fs/cifs/file.c | 52

[Patch v2 12/15] CIFS: Pass page offset for encrypting

2018-05-30 Thread Long Li
From: Long Li Encryption function needs to read data starting page offset from input buffer. This doesn't affect decryption path since it allocates its own page buffers. Signed-off-by: Long Li --- fs/cifs/smb2ops.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-)

[Patch v2 11/15] CIFS: Pass page offset for calculating signature

2018-05-30 Thread Long Li
From: Long Li When calculating signature for the packet, it needs to read into the correct page offset for the data. Signed-off-by: Long Li --- fs/cifs/cifsencrypt.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c

[Patch v2 15/15] CIFS: Add direct I/O functions to file_operations

2018-05-30 Thread Long Li
From: Long Li With direct read/write functions implemented, add them to file_operations. When mounting with "cache=none", CIFS uses direct I/O. Signed-off-by: Long Li --- fs/cifs/cifsfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/cifs/cifsfs.c

[Patch v2 14/15] CIFS: Add support for direct I/O write

2018-05-30 Thread Long Li
From: Long Li Implement the function for direct I/O write. It doesn't support AIO, which will be implemented in a follow up patch. Signed-off-by: Long Li --- fs/cifs/cifsfs.h | 1 + fs/cifs/file.c | 165 +++ 2 files changed, 166

[Patch v2 04/15] CIFS: Add support for direct pages in wdata

2018-05-30 Thread Long Li
From: Long Li Add a function to allocate wdata without allocating pages for data transfer. This gives the caller an option to pass a number of pages that point to the data buffer to write to. wdata is reponsible for free those pages after it's done. Signed-off-by: Long Li ---

[PATCH v3] PCI: Expand documentation for pci_add_dma_alias()

2018-05-30 Thread Logan Gunthorpe
Seeing there's been some confusion about the use of pci_add_dma_alias(), expand the comment to describe why it must be called early and how early it must be called. Also, expand on the purpose of this function and common reasons it would be used. [The comment was reworded to some extent by Alex

[RESEND v2] dmaengine: pxa: add a default requestor policy

2018-05-30 Thread Robert Jarzmik
As what former drcmr -1 value meant, add a this as a default to each channel, ie. that by default no requestor line is used. This is specifically used for network drivers smc91x and smc911x, and needed for their port to slave maps. Cc: Arnd Bergmann Signed-off-by: Robert Jarzmik --- Since v1:

RE: [Patch v2 02/15] CIFS: Add support for direct pages in rdata

2018-05-30 Thread Ruhl, Michael J
>-Original Message- >From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- >ow...@vger.kernel.org] On Behalf Of Long Li >Sent: Wednesday, May 30, 2018 3:48 PM >To: Steve French ; linux-c...@vger.kernel.org; samba- >techni...@lists.samba.org; linux-kernel@vger.kernel.org; linux-

Linux 4.9.105

2018-05-30 Thread Greg KH
I'm announcing the release of the 4.9.105 kernel. This is a quick release, reverting one commit in the 4.9.104 networking stack that should not have gotten backported. If 4.9.104 works for you, wonderful, but you really should update to be sure... The updated 4.9.y git tree can be found at:

Re: Linux 4.9.105

2018-05-30 Thread Greg KH
diff --git a/Makefile b/Makefile index 780dcc8033b2..7d06dba3fde8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 104 +SUBLEVEL = 105 EXTRAVERSION = NAME = Roaring Lionus diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index

Re: Linux 4.14.47

2018-05-30 Thread Greg KH
diff --git a/Makefile b/Makefile index 3b1845f2b8f8..d6db01a02252 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 46 +SUBLEVEL = 47 EXTRAVERSION = NAME = Petit Gorille diff --git a/net/ipv4/ip_vti.c

Linux 4.14.47

2018-05-30 Thread Greg KH
I'm announcing the release of the 4.14.47 kernel. This is a quick release, reverting one commit in the 4.14.46 networking stack that should not have gotten backported. If 4.14.46 works for you, wonderful, but you really should update to be sure... The updated 4.14.y git tree can be found at:

[PATCH v8 4/7] i2c: fsi: Add abort and hardware reset procedures

2018-05-30 Thread Eddie James
Add abort procedure for failed transfers. Add engine and bus reset procedures to recover from as many faults as possible. Signed-off-by: Eddie James --- drivers/i2c/busses/i2c-fsi.c | 179 +++ 1 file changed, 179 insertions(+) diff --git

[PATCH 2/5] vt: preserve unicode values corresponding to screen characters

2018-05-30 Thread Nicolas Pitre
The vt code translates UTF-8 strings into glyph index values and stores those glyph values directly in the screen buffer. Because there can only be at most 512 glyphs, it is impossible to represent most unicode characters, in which case a default glyph (often '?') is displayed instead. The

[PATCH 3/5] vt: introduce unicode mode for /dev/vcs

2018-05-30 Thread Nicolas Pitre
Now that the core vt code knows how to preserve unicode values for each displayed character, it is then possible to let user space access it via /dev/vcs*. Unicode characters are presented as 32 bit values in native endianity via the /dev/vcsu* devices, mimicking the simple /dev/vcs* devices.

[PATCH 5/5] vt: coherence validation code for the unicode screen buffer

2018-05-30 Thread Nicolas Pitre
Make sure the unicode screen buffer matches the video screen content. This is provided for debugging convenience and disabled by default. Signed-off-by: Nicolas Pitre --- drivers/tty/vt/vt.c | 40 1 file changed, 40 insertions(+) diff --git

[PATCH 4/5] vt: unicode fallback for scrollback

2018-05-30 Thread Nicolas Pitre
There is currently no provision for scrollback content in the core code, leaving that to backend video drivers where this can be highly optimized. There is currently no common method for those drivers to tell the core what part of the scrollback is actually displayed and what size the scrollback

Re: [PATCH v9 01/10] drivers: qcom: rpmh-rsc: add RPMH controller for QCOM SoCs

2018-05-30 Thread Doug Anderson
Hi, On Thu, May 24, 2018 at 3:45 AM, Raju P L S S S N wrote: > diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c > new file mode 100644 > index 000..99b23b7 > --- /dev/null > +++ b/drivers/soc/qcom/rpmh-rsc.c > @@ -0,0 +1,482 @@ > +// SPDX-License-Identifier: GPL-2.0 >

Re: [PATCH 8/8] ima: Differentiate auditing policy rules from "audit" actions

2018-05-30 Thread Stefan Berger
On 05/30/2018 05:24 PM, Paul Moore wrote: On Wed, May 30, 2018 at 3:54 PM, Stefan Berger wrote: On 05/30/2018 12:27 PM, Steve Grubb wrote: On Wednesday, May 30, 2018 11:25:05 AM EDT Stefan Berger wrote: On 05/30/2018 11:15 AM, Steve Grubb wrote: On Wednesday, May 30, 2018 9:54:00 AM EDT

Re: [PATCH v9 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-05-30 Thread Doug Anderson
Hi, On Thu, May 24, 2018 at 3:45 AM, Raju P L S S S N wrote: > --- a/drivers/soc/qcom/rpmh-rsc.c > +++ b/drivers/soc/qcom/rpmh-rsc.c > @@ -61,6 +61,8 @@ > #define CMD_STATUS_ISSUED BIT(8) > #define CMD_STATUS_COMPL BIT(16) > > +LIST_HEAD(rsc_drv_list); I still see

Re: [PATCH v8 09/10] drivers: qcom: rpmh: add support for batch RPMH request

2018-05-30 Thread Doug Anderson
Hi, On Wed, May 23, 2018 at 6:27 AM, Raju P L S S S N wrote: >>> + break; >> >> >> "break" seems wrong here. You'll end up waiting for the completion, >> then I guess timing out, then returning -ETIMEDOUT? > > > As the loop above break runs for remaining count, completion

[PATCH] iw_cxgb4: add INFINIBAND_ADDR_TRANS dependency

2018-05-30 Thread Arnd Bergmann
The newly added fill_res_ep_entry function fails to link if CONFIG_INFINIBAND_ADDR_TRANS is not set: drivers/infiniband/hw/cxgb4/restrack.o: In function `fill_res_ep_entry': restrack.c:(.text+0x3cc): undefined reference to `rdma_res_to_id' restrack.c:(.text+0x3d0): undefined reference to

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-05-30 Thread Mike Snitzer
On Wed, May 30 2018 at 5:20pm -0400, Sagi Grimberg wrote: > Hi Folks, > > I'm sorry to chime in super late on this, but a lot has been > going on for me lately which got me off the grid. > > So I'll try to provide my input hopefully without starting any more > flames.. > > >>>This patch

[PATCH] ASoC: mediatek: export mtk-afe symbols as needed

2018-05-30 Thread Arnd Bergmann
The new mt6797-afe driver uses some functions in a common file, which works for a built-in driver but fails for a loadable module: ERROR: "mtk_afe_pcm_free" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined! ERROR: "mtk_afe_add_sub_dai_control"

[Patch v2 05/15] CIFS: Calculate the correct request length based on page offset and tail size

2018-05-30 Thread Long Li
From: Long Li It's possible that the page offset is non-zero in the pages in a request, change the function to calculate the correct data buffer length. Signed-off-by: Long Li --- fs/cifs/transport.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git

[Patch v2 02/15] CIFS: Add support for direct pages in rdata

2018-05-30 Thread Long Li
From: Long Li Add a function to allocate rdata without allocating pages for data transfer. This gives the caller an option to pass a number of pages that point to the data buffer. rdata is still reponsible for free those pages after it's done. Signed-off-by: Long Li --- fs/cifs/cifsglob.h |

Re: [PATCH 6/9] clk: davinci: pll: allow dev == NULL

2018-05-30 Thread David Lechner
On 05/30/2018 02:46 PM, Michael Turquette wrote: Hi David, Quoting David Lechner (2018-05-25 11:11:47) This modifies the TI Davinci PLL clock driver to allow for the case when dev == NULL. On some (most) SoCs that use this driver, the PLL clock needs to be registered during early boot because

Re: Linux 3.18.112

2018-05-30 Thread Greg KH
diff --git a/Makefile b/Makefile index f67a2d997624..d4658bcd411e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 111 +SUBLEVEL = 112 EXTRAVERSION = NAME = Diseased Newt diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index

Linux 3.18.112

2018-05-30 Thread Greg KH
I'm announcing the release of the 3.18.112 kernel. This is a quick release, reverting one commit in the 3.18.111 networking stack that should not have gotten backported. If 3.18.111 works for you, wonderful, but you really should update to be sure... The updated 3.18.y git tree can be found at:

Re: [PATCH v4] Print the memcg's name when system-wide OOM happened

2018-05-30 Thread Andrew Morton
On Mon, 21 May 2018 03:39:46 +0100 ufo19890607 wrote: > From: yuzhoujian > > The dump_header does not print the memcg's name when the system > oom happened. So users cannot locate the certain container which > contains the task that has been killed by the oom killer. > > System oom report

[PATCH v7 07/10] firmware: xilinx: Add debugfs for IOCTL API

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to set/get IOCTL using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp-debug.c

[PATCH v7 03/10] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware IOCTL API to control and configure devices like PLLs, SD, Gem, etc. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 20 include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 22

Re: [PATCH v6] Refactor part of the oom report in dump_header

2018-05-30 Thread David Rientjes
On Mon, 28 May 2018, Michal Hocko wrote: > > Below is the part of the oom report in the dmesg > > ... > > [ 142.158316] panic cpuset=/ mems_allowed=0-1 > > [ 142.158983] CPU: 15 PID: 8682 Comm: panic Not tainted 4.17.0-rc6+ #13 > > [ 142.159659] Hardware name: Inspur SA5212M4/YZMB-00370-107,

[PATCH v7 04/10] firmware: xilinx: Add query data API

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware query data API to query platform specific information(clocks, pins) from firmware. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx-zynqmp.h | 20

[PATCH v7 08/10] firmware: xilinx: Add debugfs for query data API

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to query platform specific data from firmware using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 27 +++ 1 file changed, 27 insertions(+) diff --git

Re: [rfc patch] mm, oom: fix unnecessary killing of additional processes

2018-05-30 Thread David Rientjes
On Mon, 28 May 2018, Michal Hocko wrote: > > That's not sufficient since the oom reaper is also not able to oom reap if > > the mm has blockable mmu notifiers or all memory is shared filebacked > > memory, so it immediately sets MMF_OOM_SKIP and additional processes are > > oom killed. > >

[PATCH v8 7/7] i2c: fsi: Add bus recovery

2018-05-30 Thread Eddie James
Bus recovery should reset the engine and force clock the bus 9 times to recover most situations. Signed-off-by: Eddie James --- drivers/i2c/busses/i2c-fsi.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/i2c/busses/i2c-fsi.c b/drivers/i2c/busses/i2c-fsi.c index

Re: [PATCH v7 3/7] drivers/i2c: Add port structure to FSI algorithm

2018-05-30 Thread Benjamin Herrenschmidt
On Wed, 2018-05-30 at 10:47 -0500, Eddie James wrote: > > > + if (!list_empty(>ports)) { > > > > My gosh, this is done already in list_for_each*() > > No, list_for_each_entry does NOT check if the list is empty or if the > first entry is NULL. NULL is never valid for a list. It does

Re: [PATCH v7 10/10] drivers: clk: Add ZynqMP clock driver

2018-05-30 Thread Randy Dunlap
On 05/30/2018 01:55 PM, Jolly Shah wrote: > From: Jolly Shah > diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig > new file mode 100644 > index 000..fe815f7 > --- /dev/null > +++ b/drivers/clk/zynqmp/Kconfig > @@ -0,0 +1,11 @@ > +# SPDX-License-Identifier: GPL-2.0 > + >

[PATCH v2] lib/bch: Remove VLA usage

2018-05-30 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this allocates a fixed size stack array to cover the range needed for bch. This was done instead of a preallocation on the SLAB due to performance reasons, shown by Ivan Djelic: little-endian, type sizes: int=4 long=8 longlong=8

Re: [PATCH V3 3/5 selinux-next] selinux: sidtab_clone switch to use rwlock.

2018-05-30 Thread J Freyensee
+int sidtab_clone(struct sidtab *s, struct sidtab *d) +{ + int i, rc = 0; If s or d are NULL (see if() below), why would we want rc, the return value, to be 0?  How about defaulting rc to an error value (-EINVAL)? + struct sidtab_node *cur; + + if (!s || !d) +

Re: [PATCH 8/8] ima: Differentiate auditing policy rules from "audit" actions

2018-05-30 Thread Paul Moore
On Wed, May 30, 2018 at 9:08 AM, Stefan Berger wrote: > On 05/30/2018 08:49 AM, Richard Guy Briggs wrote: >> >> On 2018-05-24 16:11, Stefan Berger wrote: >>> >>> The AUDIT_INTEGRITY_RULE is used for auditing IMA policy rules and >>> the IMA "audit" policy action. This patch defines >>>

Estimado usuario

2018-05-30 Thread Suporte HelpDesk
Estimado usuario Su buzón de correo ha superado el límite de almacenamiento de 20 GB configurado por el administrador, actualmente se está ejecutando en 20,9, no se puede enviar ni recibir mensajes nuevos hasta que se varify el buzón. Vuelva a validar su cuenta por correo, por favor llene y

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