Re: [PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Souptick Joarder
On Sat, May 12, 2018 at 11:55 AM, Souptick Joarder wrote: > On Sat, May 12, 2018 at 11:50 AM, Joe Perches wrote: >> On Sat, 2018-05-12 at 11:47 +0530, Souptick Joarder wrote: >>> Use new return type vm_fault_t for fault handler >>> in struct

Re: linux-next: a new pending-fixes branch

2018-05-12 Thread Kalle Valo
Stephen Rothwell writes: > As an outcome of some discussion, I have added a pending-fixes branch > to linux-next. This branch contains Linus' tree merged with branches > containing only fixes pending for the current release. The branch is a > strict subset of linux-next

RE: [PATCH char-misc 1/2] Drivers: hv: vmbus: Remove x86 MSR refs in arch independent code

2018-05-12 Thread KY Srinivasan
> -Original Message- > From: mhkelle...@gmail.com > Sent: Tuesday, May 8, 2018 8:38 AM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.com; >

[PATCH 1/1] doc: fix sysfs ABI documentation

2018-05-12 Thread kys
From: Stephen Hemminger In 4.9 kernel, the sysfs files for Hyper-V VMBus changed name but the documentation files were not updated. The current sysfs file names are /sys/bus/vmbus/devices//... See commit 9a56e5d6a0ba ("Drivers: hv: make VMBus bus ids persistent") and

Re: [PATCH 6/9] firmware: print firmware name on fallback path

2018-05-12 Thread Luis R. Rodriguez
On Sat, May 12, 2018 at 11:03:52AM +0300, Kalle Valo wrote: > (sorry for the delay, this got buried in my inbox) > > "Luis R. Rodriguez" writes: > > > On Mon, Apr 23, 2018 at 04:12:02PM -0400, Andres Rodriguez wrote: > >> Previously, one could assume the firmware name from

Re: [PATCH] swiotlb: Silent unwanted warning "buffer is full"

2018-05-12 Thread Christoph Hellwig
Thanks. I manually applied this for 4.17-rc, as the mail unfortunately was garbled.

[PATCH] 3c59x: convert to generic DMA API

2018-05-12 Thread Christoph Hellwig
This driver supports EISA devices in addition to PCI devices, and relied on the legacy behavior of the pci_dma* shims to pass on a NULL pointer to the DMA API, and the DMA API being able to handle that. When the NULL forwarding broke the EISA support got broken. Fix this by converting to the DMA

Re: [PATCHv3] drm/amdkfd: Remove vla

2018-05-12 Thread Oded Gabbay
On Thu, May 3, 2018 at 12:49 AM, Kees Cook wrote: > On Fri, Apr 13, 2018 at 2:24 PM, Laura Abbott wrote: >> >> There's an ongoing effort to remove VLAs[1] from the kernel to eventually >> turn on -Wvla. Switch to a constant value that covers all

Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions

2018-05-12 Thread Masami Hiramatsu
Hi Russell, On Tue, 8 May 2018 12:25:03 +0100 Russell King - ARM Linux wrote: > On Fri, May 04, 2018 at 01:14:31PM +0900, Masami Hiramatsu wrote: > > Hi, > > > > This is the 3rd version of bugfix series for kprobes on arm. > > This series fixes 4 different issues which I

[PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler in struct vm_operations_struct. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. commit 1c8f422059ae ("mm: change return

[tip:sched/urgent] Revert "sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine()"

2018-05-12 Thread tip-bot for Mel Gorman
Commit-ID: 789ba28013ce23dbf5e9f5f014f4233b35523bf3 Gitweb: https://git.kernel.org/tip/789ba28013ce23dbf5e9f5f014f4233b35523bf3 Author: Mel Gorman AuthorDate: Wed, 9 May 2018 17:31:15 +0100 Committer: Ingo Molnar CommitDate: Sat, 12 May

Re: [patch] swiotlb: fix ignored DMA_ATTR_NO_WARN request

2018-05-12 Thread Mike Galbraith
To conclude to this snail like thread (/me=walking wounded), with the v4.16.8 hunk below, traces showing that swiotlb_alloc_coherent() was being asked to not bother warning started showing up after the box had been flogged for a while. Whatever finally happens with swiotlb (seems to be in flux),

Re: rsi: fix spelling mistake: "thead" -> "thread"

2018-05-12 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in rsi_dbg debug message text > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. b41c39367669

Re: [PATCH v3 6/9] staging: iio: tsl2x7x: correct IIO_EV_INFO_PERIOD values

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:20 -0400 Brian Masney wrote: > The thresh periods assumed an integration time of 3ms. This patch adds > support for the correct integration time (2.72ms or 2.73ms). The code > had the ALS filter values as going up to 15, however the values

Re: [PATCH v3 7/9] staging: iio: tsl2x7x: add range checking to tsl2x7x_write_raw

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:21 -0400 Brian Masney wrote: > The CALIBBIAS and INT_TIME masks in tsl2x7x_write_raw did not have any > range checking in place so this patch adds the appropriate range > checking. The defines TSL2X7X_ALS_GAIN_TRIM_{MIN,MAX} are also > introduced

Re: [PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Joe Perches
On Sat, 2018-05-12 at 11:47 +0530, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler > in struct vm_operations_struct. For now, this is > just documenting that the function returns a > VM_FAULT value rather than an errno. Once all > instances are converted, vm_fault_t

Re: [PATCH] rcu: Report a quiescent state when it's exactly in the state

2018-05-12 Thread Joel Fernandes
On Fri, May 11, 2018 at 10:08:24PM -0700, Paul E. McKenney wrote: > On Fri, May 11, 2018 at 03:41:38PM -0700, Joel Fernandes wrote: > > On Fri, May 11, 2018 at 09:17:46AM -0700, Paul E. McKenney wrote: > > > On Fri, May 11, 2018 at 09:57:54PM +0900, Byungchul Park wrote: > > > > Hello folks, > > >

[PATCH] staging: lustre: Fix an error handling path in 'client_common_fill_super()'

2018-05-12 Thread Christophe JAILLET
According to error handling path before and after this one, we should go to 'out_md_fid' here, instead of 'out_md', if 'obd_connect()' fails. Signed-off-by: Christophe JAILLET --- The last goto 'out_lock_cn_cb' looks spurious but is correct. In case of error,

Re: [RFC PATCH v4 1/3] EDAC, GHES: Remove unused argument to ghes_edac_report_mem_error

2018-05-12 Thread Borislav Petkov
On Mon, Apr 30, 2018 at 04:33:50PM -0500, Alexandru Gagniuc wrote: > The use of the 'ghes' argument was removed in a previous commit, but > function signature was not updated to reflect this. > > Fixes: 0fe5f281f749 ("EDAC, ghes: Model a single, logical memory controller") > Signed-off-by:

drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-12 Thread kbuild test robot
Hi Mario, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ab773f5c96c29a5227234c4b5a820f5591b74d commit: 25d47027e1003546bfd8964b4423cb39bc2d53e9 platform/x86: dell-smbios: Link all dell-smbios-* modules together

[bisected] 051f3ca02e46 "Introduce NUMA identity node sched domain" breaks fake NUMA on s390

2018-05-12 Thread Heiko Carstens
Hello, Andre Wild reported that fake NUMA doesn't work on s390 anymore. Doesn't work means it crashed for Andre, or it is in an endless loop within init_sched_groups_capacity() for me (sg != sd->groups is always true). I could reproduce this with a very simple setup with only two nodes, where

Re: [PATCH v6 3/6] kernel/reboot.c: export pm_power_off_prepare

2018-05-12 Thread Rafael J. Wysocki
On Friday, May 4, 2018 8:50:52 PM CEST Oleksij Rempel wrote: > Hallo Andrew, > I need your ACK or NACK for this patch. > > This function is used to configure external PMIC to interpret > signal which will be triggered by pm_power_off as power off. > Since same signal can be used for stand by, I

[PATCH v4] mm: Change return type to vm_fault_t

2018-05-12 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler in struct vm_operations_struct. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. commit 1c8f422059ae ("mm: change return

Re: [PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-12 Thread Kalle Valo
Larry Finger writes: > On 05/11/2018 05:13 AM, Kalle Valo wrote: >> Rafał Miłecki writes: >> >>> On 11 May 2018 at 11:17, Rafał Miłecki wrote: From: Rafał Miłecki This reverts commit

[PATCH] powerpc: Fix "integer constant is too large" build failure

2018-05-12 Thread Finn Thain
My powerpc-linux-gnu-gcc v4.4.5 compiler can't build a 32-bit kernel any more: arch/powerpc/lib/sstep.c: In function 'do_popcnt': arch/powerpc/lib/sstep.c:1068: error: integer constant is too large for 'long' type arch/powerpc/lib/sstep.c:1069: error: integer constant is too large for 'long'

Re: [PATCH v6] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Boris Brezillon
On Thu, 10 May 2018 14:28:37 -0700 Jane Wan wrote: > Per ONFI specification (Rev. 4.0), if all parameter pages have invalid > CRC values, the bit-wise majority may be used to recover the contents of > the parameter pages from the parameter page copies present. > >

Re: [PATCH v2 2/2] leds: Add Spreadtrum SC27xx breathing light controller driver

2018-05-12 Thread Pavel Machek
Hi! > >>I disagree here. We already had the same discussion at the occasion > >>of the patch [0] and it turned out to be a dead-end [1]. Now we have > >>neither the driver nor the generic pattern interface. > >> > >>We also already have some older LED class drivers that implement custom >

Re: WARNING: kernel stack regs has bad 'bp' value (3)

2018-05-12 Thread Ard Biesheuvel
(+ Arnd) On 12 May 2018 at 10:43, Dmitry Vyukov wrote: > On Fri, Feb 2, 2018 at 11:18 PM, Eric Biggers wrote: >> On Fri, Feb 02, 2018 at 02:57:32PM +0100, Dmitry Vyukov wrote: >>> On Fri, Feb 2, 2018 at 2:48 PM, syzbot >>>

Re: WARNING: kernel stack regs has bad 'bp' value (3)

2018-05-12 Thread Ard Biesheuvel
On 12 May 2018 at 11:50, Dmitry Vyukov wrote: > On Sat, May 12, 2018 at 11:09 AM, Ard Biesheuvel > wrote: >> (+ Arnd) >> >> On 12 May 2018 at 10:43, Dmitry Vyukov wrote: >>> On Fri, Feb 2, 2018 at 11:18 PM, Eric Biggers

Re: [PATCH v9 11/12] ACPI: Add PPTT to injectable table list

2018-05-12 Thread Rafael J. Wysocki
On Sat, May 12, 2018 at 1:58 AM, Jeremy Linton wrote: > Add ACPI_SIG_PPTT to the table so initrd's can override the > system topology. > > Signed-off-by: Geoffrey Blake > Signed-off-by: Jeremy Linton > Tested-by: Ard

[PATCH 2/2] staging: lustre: Fix trivial checkpatch warnings

2018-05-12 Thread Sabin Mihai Rapan
Trivial fix to multiple errors and warnings in the lustre headers. Signed-off-by: Sabin Mihai Rapan --- .../lustre/include/linux/libcfs/libcfs_cpu.h | 2 +- .../lustre/include/uapi/linux/lnet/lnet-dlc.h | 4 +- .../include/uapi/linux/lnet/lnet-types.h | 4 +-

Re: [PATCH v3 3/9] staging: iio: tsl2x7x: turn chip off if IIO device registration fails

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:17 -0400 Brian Masney wrote: > This patch turns the chip off if IIO device registration fails so that > the error handling mirrors the device remove to make review easier in > preparation for moving this driver out of staging. > > This patch also

[PATCH] pstore: Convert internal records to timespec64

2018-05-12 Thread Kees Cook
This prepares pstore for converting the VFS layer to timespec64. Cc: Deepa Dinamani Signed-off-by: Kees Cook --- fs/pstore/inode.c | 3 ++- fs/pstore/platform.c | 2 +- include/linux/pstore.h | 2 +- 3 files changed, 4 insertions(+), 3

Re: linux-next: a new pending-fixes branch

2018-05-12 Thread Stephen Rothwell
Hi Kalle, On Sat, 12 May 2018 10:14:19 +0300 Kalle Valo wrote: > > Is there a list of branches you use available somewhere? I would like to > check that wireless-drivers is included. The current list of trees is always here:

Re: WARNING: kernel stack regs has bad 'bp' value (3)

2018-05-12 Thread Dmitry Vyukov
On Sat, May 12, 2018 at 11:09 AM, Ard Biesheuvel wrote: > (+ Arnd) > > On 12 May 2018 at 10:43, Dmitry Vyukov wrote: >> On Fri, Feb 2, 2018 at 11:18 PM, Eric Biggers wrote: >>> On Fri, Feb 02, 2018 at 02:57:32PM +0100, Dmitry

Re: [PATCH v3 8/9] staging: iio: tsl2x7x: rename driver to tsl2772

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:22 -0400 Brian Masney wrote: > This patch renames this driver from tsl2x7x to tsl2772 since it is > highly likely that additional devices will be added to this driver that > do not match that wildcard. The tsl2772 driver name was selected since >

Re: [RFC][PATCH 01/10] tracing: Do not reference event data in post call triggers

2018-05-12 Thread Masami Hiramatsu
On Fri, 11 May 2018 15:49:28 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Trace event triggers can be called before or after the event has been > committed. If it has been called after the commit, there's a possibility > that the

[RFC][PATCH] KVM: APPLES can improve the performance of applications and virtualized systems by up to 49%

2018-05-12 Thread Weiwei Jia
Dear all, Recently, we made a few improvements on effectively utilizing Pause Loop Exiting (PLE) support for higher throughput on virtualized systems. Basically, it solves two problems: 1) how to adjust PLE_Window; 2) how to select virtual CPUs to schedule on VM_EXITs caused by PLE. Our tests

[PATCH 1/1] Drivers: hv: vmbus: enable VMBus protocol version 5.0

2018-05-12 Thread kys
From: Dexuan Cui With VMBus protocol 5.0, we're able to better support new features, e.g. running two or more VMBus drivers simultaneously in a single VM -- note: we can't simply load the current VMBus driver twice, instead, a secondary VMBus driver must be implemented.

Re: [PATCH 14/32] net/tcp: convert to ->poll_mask

2018-05-12 Thread Christoph Hellwig
On Fri, May 11, 2018 at 06:13:11AM -0700, Eric Dumazet wrote: > > +struct wait_queue_head *tcp_get_poll_head(struct socket *sock, __poll_t > > events) > > +{ > > + sock_poll_busy_loop(sock, events); > > + sock_rps_record_flow(sock->sk); > > Why are you adding sock_rps_record_flow() ?

[PATCH v3 1/3] Documentation: ioctl-number: add ddbridge IOCTLs

2018-05-12 Thread Daniel Scheller
From: Daniel Scheller drivers/media/pci/ddbridge exposes a few IOCTLs which are used by userspace utilities to ie. update PCIe card's FPGA firmware. The IOCTLs chosen are in the range 0xDD/0xE0 up to 0xDD/0xFF, with 0xDD as sort of gimmick for "Digital Devices". To not

Re: [PATCH 6/6] vfs: change inode times to use struct timespec64

2018-05-12 Thread Kees Cook
On Fri, May 11, 2018 at 9:59 PM, Deepa Dinamani wrote: > diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c > index 5fcb845b9fec..fb681d302bb3 100644 > --- a/fs/pstore/inode.c > +++ b/fs/pstore/inode.c > @@ -392,7 +392,7 @@ int pstore_mkfile(struct dentry *root, struct >

Re: WARNING: kernel stack regs has bad 'bp' value (3)

2018-05-12 Thread Dmitry Vyukov
On Fri, Feb 2, 2018 at 11:18 PM, Eric Biggers wrote: > On Fri, Feb 02, 2018 at 02:57:32PM +0100, Dmitry Vyukov wrote: >> On Fri, Feb 2, 2018 at 2:48 PM, syzbot >> wrote: >> > Hello, >> > >> > syzbot hit the following

[PATCH 2/2] ver_linux: Drop redundant calls to system() to test if file is readable

2018-05-12 Thread Alexander Kapshuk
Running 'test -r' on an awk variable name whose value is an empty string results in test being run with no arguments, and causes system() to return 0, which indicates success when used to test values returned by function calls. This results in code within the if blocks being run when it should not

[PATCH 1/2] ver_linux: Move stderr redirection from function parameter to function body

2018-05-12 Thread Alexander Kapshuk
Remove stderr redirection to stdout from all the parameters to the version() function, and put it with the body of the version() function instead. This improves code readability. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 53

Re: [PATCH v3 9/9] staging: iio: tsl2x7x/tsl2772: move out of staging

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:32:06 -0400 Brian Masney wrote: > On Thu, May 10, 2018 at 08:12:23PM -0400, Brian Masney wrote: > > Move the tsl2772 driver out of staging and into mainline. > > Hey Jonathan, > > Here is the .c and .h file to make your review easier. Thanks for

Re: possible deadlock in sk_diag_fill

2018-05-12 Thread Dmitry Vyukov
On Fri, May 11, 2018 at 8:33 PM, Andrei Vagin wrote: > On Sat, May 05, 2018 at 10:59:02AM -0700, syzbot wrote: >> Hello, >> >> syzbot found the following crash on: >> >> HEAD commit:c1c07416cdd4 Merge tag 'kbuild-fixes-v4.17' of git://git.k.. >> git tree: upstream

Re: [lustre-devel] [PATCH] staging: lustre: Fix an error handling path in 'client_common_fill_super()'

2018-05-12 Thread Dilger, Andreas
On May 12, 2018, at 00:33, Christophe JAILLET wrote: > > According to error handling path before and after this one, we should go > to 'out_md_fid' here, instead of 'out_md', if 'obd_connect()' fails. > > Signed-off-by: Christophe JAILLET

Re: [V2, 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-12 Thread Kalle Valo
Rafał Miłecki wrote: > From: Rafał Miłecki > > This reverts commit 882164a4a928bcaa53280940436ca476e6b1db8e. > > Above commit added "SSB = y" dependency to the wrong symbol > SSB_DRIVER_PCICORE_POSSIBLE and prevented SSB_DRIVER_PCICORE from being > selected when needed. PCI

Re: KASAN: use-after-free Write in xt_rateest_put

2018-05-12 Thread Dmitry Vyukov
On Mon, Jan 29, 2018 at 3:58 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 24b1cccf922914f3d6eeb84036dde8338bc03abb (Sun Jan 28 20:24:36 2018 +) > Merge branch 'x86-pti-for-linus' of >

Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions

2018-05-12 Thread Russell King - ARM Linux
On Sat, May 12, 2018 at 09:42:21AM +0900, Masami Hiramatsu wrote: > Hi Greg, > > Could you pick this series to stable? You've added the Cc for stable, so when they get committed to mainline, they will be automatically picked up without further need to ask. However, they do _first_ need to end

Re: [PATCH v7 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding

2018-05-12 Thread Stefan Wahren
Hi Linus, > Stefan Wahren hat am 3. Mai 2018 um 19:38 > geschrieben: > > > > > Matheus Castello hat am 1. Mai 2018 um 02:42 > > geschrieben: > > > > > > To keep driver up to date we add generic pinctrl binding support, which > > covers the

Re: [PATCH] iio: adc: stm32-dfsdm: Add support for stm32mp1

2018-05-12 Thread Jonathan Cameron
On Mon, 7 May 2018 15:51:51 -0500 Rob Herring wrote: > On Wed, May 02, 2018 at 03:05:23PM +0200, Fabrice Gasnier wrote: > > Add support for DFSDM (Digital Filter For Sigma Delta Modulators) > > to STM32MP1. This variant is close to STM32H7 DFSDM, it implements > > 6 filter

Re: [PATCH v9 05/12] ACPI/PPTT: Add Processor Properties Topology Table parsing

2018-05-12 Thread Rafael J. Wysocki
On Sat, May 12, 2018 at 1:58 AM, Jeremy Linton wrote: > ACPI 6.2 adds a new table, which describes how processing units > are related to each other in tree like fashion. Caches are > also sprinkled throughout the tree and describe the properties > of the caches in relation

commit bd9240a18edfbfa72e957fc2ba831cf1f13ea073 seems to break with intel-ucode 20180425

2018-05-12 Thread Gabriel C
Hi Peter, after updating ucode to 20180425 on my laptop I always hit the 'TSC_DEADLINE disabled' error and so early microcode update from inird breaks. Also I'm able to late load the microcode from command line but not from initrd. Going back to ucode 20180312 make things work again. I've

Re: [PATCH v3 2/9] staging: iio: tsl2x7x: use direct returns

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:16 -0400 Brian Masney wrote: > This patch changes the functions tsl2x7x_read_event_value() and > tsl2x7x_read_raw() to use direct returns to simplify the code. > > Signed-off-by: Brian Masney Applied, thanks Jonathan >

Re: [PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-12 Thread Rafał Miłecki
On 2018-05-12 10:01, Michael Büsch wrote: On Sat, 12 May 2018 10:50:42 +0300 Kalle Valo wrote: Larry Finger writes: > On 05/11/2018 05:13 AM, Kalle Valo wrote: >> Rafał Miłecki writes: >> >>> On 11 May 2018 at 11:17, Rafał

Re: [PATCH v3 1/9] staging: iio: tsl2x7x: remove unnecessary whitespace

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:15 -0400 Brian Masney wrote: > This patch removes unnecessary whitespace in preparation for moving this > driver out of staging. > > Signed-off-by: Brian Masney Applied to the togreg branch of iio.git and pushed out as

RE: [External] Re: [PATCH v1] include/linux/gfp.h: getting rid of GFP_ZONE_TABLE/BAD

2018-05-12 Thread Huaisheng HS1 Ye
> From: Matthew Wilcox [mailto:wi...@infradead.org] > Sent: Friday, May 11, 2018 9:26 PM> > On Fri, May 11, 2018 at 03:24:34AM +, Huaisheng HS1 Ye wrote: > > > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On > > > Behalf Of > Matthew > > > Wilcox > > > On Fri, May 11,

Re: [PATCH v3 3/3] mailbox: ACPI: erroneous error message when parsing the ACPI PCCT

2018-05-12 Thread Rafael J. Wysocki
On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: > There have been multiple reports of the following error message: > > [0.068293] Error parsing PCC subspaces from PCCT > > This error message is not correct. In multiple cases examined, the PCCT > (Platform Communications

[PATCH] staging: lustre: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-12 Thread Christophe JAILLET
'buf' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it. Signed-off-by: Christophe JAILLET --- drivers/staging/lustre/lustre/obdclass/llog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Fwd: BUG: unable to handle kernel paging request in write_port

2018-05-12 Thread Kyungtae Kim
-- Forwarded message -- From: Kyungtae Kim Date: Sat, May 12, 2018 at 9:40 AM Subject: BUG: unable to handle kernel paging request in write_port To: Arnd Bergmann , gre...@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: Byoungyoung Lee

Re: [External] Re: [PATCH v1] include/linux/gfp.h: getting rid of GFP_ZONE_TABLE/BAD

2018-05-12 Thread Matthew Wilcox
On Sat, May 12, 2018 at 11:35:00AM +, Huaisheng HS1 Ye wrote: > > The point of this exercise is to actually encode the zone number in > > the bottom bits of the GFP flags instead of something which has to be > > interpreted into a zone number. When somebody sets __GFP_MOVABLE, they > > should

Re: [PATCH bpf v3] x86/cpufeature: bpf hack for clang not supporting asm goto

2018-05-12 Thread Alexei Starovoitov
On Thu, May 10, 2018 at 10:58 AM, Alexei Starovoitov wrote: > I see no option, but to fix the kernel. > Regardless whether it's called user space breakage or kernel breakage. Peter, could you please ack the patch or better yet take it into tip tree and send to

Fwd: KASAN: use-after-free Write in vgacon_scroll

2018-05-12 Thread Kyungtae Kim
-- Forwarded message -- From: Kyungtae Kim Date: Sat, May 12, 2018 at 9:44 AM Subject: KASAN: use-after-free Write in vgacon_scroll To: b.zolnier...@samsung.com, dri-de...@lists.freedesktop.org, linux-fb...@vger.kernel.org, linux-kernel@vger.kernel.org Cc:

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Boris Brezillon
On Sat, 12 May 2018 08:55:40 -0300 Paul Cercueil wrote: > Hi Boris, > > Le 12 mai 2018 02:55, Boris Brezillon a écrit : > > > > Hi Paul, > > > > On Fri, 11 May 2018 23:29:12 +0200 > > Paul Cercueil wrote: > > > > >

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

2018-05-12 Thread Greg KH
On Fri, May 11, 2018 at 05:06:20PM +0100, Suzuki K Poulose wrote: > On 11/05/18 16:47, Greg KH wrote: > > On Fri, May 11, 2018 at 02:51:15PM +0100, Suzuki K Poulose wrote: > > > commit ece1397cbc89c51914fae1aec729539cfd8bd62b upstream > > > > > > Some variants of the Arm Cortex-55 cores (r0p0,

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Boris Brezillon
On Sat, 12 May 2018 11:38:26 -0300 Paul Cercueil wrote: > Le sam. 12 mai 2018 à 10:42, Boris Brezillon > a écrit : > > On Sat, 12 May 2018 08:55:40 -0300 > > Paul Cercueil wrote: > > > >> Hi Boris, > >> > >> Le 12

[RFC] acpi: Declare memory allocations in acpi_ut_create_internal_object_dbg as non-leaks

2018-05-12 Thread Larry Finger
In kernel 4.17.0-rcX, kmemleak reports 9 leaks with tracebacks similat to the following: unreferenced object 0x880224a077e0 (size 72): comm "swapper/0", pid 1, jiffies 4294892358 (age 1022.636s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 0e 01 01 00 00 00 00 01

Re: [PATCH v3 9/9] staging: iio: tsl2x7x/tsl2772: move out of staging

2018-05-12 Thread Brian Masney
On Sat, May 12, 2018 at 12:44:37PM +0100, Jonathan Cameron wrote: > On Thu, 10 May 2018 20:32:06 -0400 > Brian Masney wrote: > > > On Thu, May 10, 2018 at 08:12:23PM -0400, Brian Masney wrote: > > > Move the tsl2772 driver out of staging and into mainline. > > > > Hey

Difference between IOVA and bus address when SMMU is enabled

2018-05-12 Thread valmiki
Hi All, What is the difference between IOVA address and bus address when SMMU is enabled ? Is IOVA address term used only when hypervisor is present ? Regards, Valmiki --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

RE: [PATCH char-misc 1/2] Drivers: hv: vmbus: Remove x86 MSR refs in arch independent code

2018-05-12 Thread Michael Kelley (EOSG)
> > -#define hv_init_timer(timer, tick) wrmsrl(timer, tick) > > -#define hv_init_timer_config(config, val) wrmsrl(config, val) > > +#define hv_init_timer(timer, tick) \ > > + wrmsrl(HV_X64_MSR_STIMER0_COUNT + (2*timer), tick) > > +#define hv_init_timer_config(timer, val) \ > > +

Fwd: KASAN: use-after-free Write in do_con_write

2018-05-12 Thread Kyungtae Kim
-- Forwarded message -- From: Kyungtae Kim Date: Sat, May 12, 2018 at 9:47 AM Subject: KASAN: use-after-free Write in do_con_write To: gre...@linuxfoundation.org, jsl...@suse.com, linux-kernel@vger.kernel.org Cc: Byoungyoung Lee , DaeRyong

Re: [PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Matthew Wilcox
On Fri, May 11, 2018 at 11:20:29PM -0700, Joe Perches wrote: > It'd be nicer to realign the 2nd and 3rd arguments > on the subsequent lines. > > vm_fault_t (*fault)(const struct vm_special_mapping *sm, > struct vm_area_struct *vma, >

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-12 Thread Paul E. McKenney
On Sat, May 12, 2018 at 07:40:02AM -0700, Paul E. McKenney wrote: > On Fri, May 11, 2018 at 11:03:25PM -0700, Joel Fernandes wrote: > > On Sun, Apr 22, 2018 at 08:03:39PM -0700, Paul E. McKenney wrote: > > > The rcu_start_this_gp() function had a simple form of funnel locking that > > > used only

Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Joe Perches
On Sat, 2018-05-12 at 18:19 +0300, Igor Stoppa wrote: > I have been wondering if it's ok to break a long (function declaration) > line in the following way: > > static __always_inline > struct foo_bar *__get_foo_bar(type1 parm1, type2 parm2, type3 parm3) > > > instead of: > > static

Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Igor Stoppa
On 12/05/18 18:41, Joe Perches wrote: I personally like more the former, not to mention that it uses also one line less, but it seems less common in the sources. The coding style references do not seem to say anything explicit about which style to prefer. thank you, I could provide a patch to

Re: [RFC][PATCH 07/10] tracing: Have zero size length in filter logic be full string

2018-05-12 Thread Masami Hiramatsu
On Fri, 11 May 2018 15:49:34 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > As strings in trace events may not have a nul terminating character, the > filter string compares use the defined string length for the field for the >

Re: [PATCH] selftests: android: delete RUN_TESTS and EMIT_TESTS overrides

2018-05-12 Thread Pintu Kumar
On Thu, May 3, 2018 at 2:48 AM, Shuah Khan (Samsung OSG) wrote: > Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in > lib.mk. Common defines work just fine and there is no need to define > custom overrides. > > Signed-off-by: Shuah Khan (Samsung OSG)

[GIT PULL] Thermal management updates for v4.17-rc5

2018-05-12 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.17-rc5 with top-most commit 60abce9f43d812dfec6687a10ca30be380f6f97a:   Merge branch 'thermal-soc' into next (2018-05-11 09:37:21 +0800) on

general protection fault in kernfs_kill_sb (2)

2018-05-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f0ab773f5c96 Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=140ce81780 kernel config: https://syzkaller.appspot.com/x/.config?x=fcce42b221691ff9

Re: [PATCH] ghes_edac: add DDR4 and NVDIMM memory types

2018-05-12 Thread Borislav Petkov
On Wed, May 09, 2018 at 04:20:30PM -0600, Toshi Kani wrote: > The ghes_edac driver obtains memory type from SMBIOS type 17, > but it does not recognize DDR4 and NVDIMM types. > > Add support of DDR4 and NVDIMM types. NVDIMM type is set when > memory type is DDR3/4 and non-volatile. > >

Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Joe Perches
On Sat, 2018-05-12 at 19:07 +0300, igor.sto...@gmail.com wrote: > On 12 May 2018 at 18:41, Joe Perches wrote: > > > > > I think the first style should be preferred when the > > combined character length of is > > relatively long. > > > > thank you, I could provide a patch

[PATCH] net/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-12 Thread Christophe JAILLET
'out' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/mellanox/mlx5/core/vport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v1 04/13] soc: rockchip: power-domain: Fix wrong value when power up pd

2018-05-12 Thread Heiko Stuebner
Hi Elaine, Am Freitag, 11. Mai 2018, 05:30:49 CEST schrieb Elaine Zhang: please provide a patch description. This seems to affect rk3328 alone right now, but seems that rk3328 could only ever turn off power-domains but never turn them on again, right? Authorship comment from my previous comment

[PATCH] remoteproc: Introduce prepare/unprepare ops for rproc coredump

2018-05-12 Thread Sibi Sankar
In some occasions the remoteproc device might need to prepare some hardware before the coredump can be performed and cleanup the state afterwards. Q6V5 modem requires the mba to be loaded before the coredump and some cleanup of the resources afterwards. Signed-off-by: Sibi Sankar

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-12 Thread Paul E. McKenney
On Fri, May 11, 2018 at 11:03:25PM -0700, Joel Fernandes wrote: > On Sun, Apr 22, 2018 at 08:03:39PM -0700, Paul E. McKenney wrote: > > The rcu_start_this_gp() function had a simple form of funnel locking that > > used only the leaves and root of the rcu_node tree, which is fine for > > systems

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Paul Cercueil
Le sam. 12 mai 2018 à 10:42, Boris Brezillon a écrit : On Sat, 12 May 2018 08:55:40 -0300 Paul Cercueil wrote: Hi Boris, Le 12 mai 2018 02:55, Boris Brezillon a écrit : > > Hi Paul, > > On Fri, 11

Re: [PATCH] rcu: Report a quiescent state when it's exactly in the state

2018-05-12 Thread Paul E. McKenney
On Fri, May 11, 2018 at 11:30:37PM -0700, Joel Fernandes wrote: > On Fri, May 11, 2018 at 10:08:24PM -0700, Paul E. McKenney wrote: > > On Fri, May 11, 2018 at 03:41:38PM -0700, Joel Fernandes wrote: > > > On Fri, May 11, 2018 at 09:17:46AM -0700, Paul E. McKenney wrote: > > > > On Fri, May 11,

[RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Igor Stoppa
Hi, I have been wondering if it's ok to break a long (function declaration) line in the following way: static __always_inline struct foo_bar *__get_foo_bar(type1 parm1, type2 parm2, type3 parm3) instead of: static __always_inline struct foo_bar *__get_foo_bar(type1 parm1,

Re: [PATCH] rcu: Report a quiescent state when it's exactly in the state

2018-05-12 Thread Steven Rostedt
On Sat, 12 May 2018 07:41:19 -0700 "Paul E. McKenney" wrote: > Don't get me wrong, this discussion was quite useful to me. We probably > need to at least change the comments, and perhaps the code as well. But > I agree that we need input from Peter and Steven to

Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions

2018-05-12 Thread Florian Fainelli
On May 12, 2018 4:31:37 AM PDT, Masami Hiramatsu wrote: >Hi Russell, > >On Tue, 8 May 2018 12:25:03 +0100 >Russell King - ARM Linux wrote: > >> On Fri, May 04, 2018 at 01:14:31PM +0900, Masami Hiramatsu wrote: >> > Hi, >> > >> > This is the 3rd

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Paul Cercueil
>> My motivation is to get rid of this (move it to devicetree): >> >> https://elixir.bootlin.com/linux/latest/source/arch/mips/jz4740/board-qi_lb60.c#L93 >> And enable the support of other boards with custom OOB layouts. > > Can you list the different layouts you have? I'm pretty

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Boris Brezillon
On Sat, 12 May 2018 19:42:49 +0200 Paul Cercueil wrote: > >> >> My motivation is to get rid of this (move it to devicetree): > >> >> > >> >> > >> https://elixir.bootlin.com/linux/latest/source/arch/mips/jz4740/board-qi_lb60.c#L93 > >> > >> >> And enable the

[PATCH v3 2/2] dvbsky: Add support for MyGica T230C v2

2018-05-12 Thread Thomas Hollstegge
Support for newer revisions of the MyGica T230C, shipping with a different USB pid. Although sometimes referred to as T230C2, the device is sold under its original name T230C. Besides a slightly different PCB layout and some different minor components, it utilizes the same bridge, demodulator and

Re: [PATCH v2] tty: implement led triggers

2018-05-12 Thread Uwe Kleine-König
On Thu, May 10, 2018 at 12:25:21PM +0100, Robin Murphy wrote: > On 10/05/18 12:14, Pavel Machek wrote: > > Hi! > > > > > > > > @@ -499,6 +500,7 @@ static void flush_to_ldisc(struct work_struct > > > > > > *work) > > > > > > struct tty_buffer *head = buf->head; > > > > > >

Re: [PATCH v3 1/3] leds: triggers: provide led_trigger_register_format()

2018-05-12 Thread Uwe Kleine-König
On Thu, May 10, 2018 at 01:22:29PM +0200, Pavel Machek wrote: > On Thu 2018-05-10 13:21:01, Pavel Machek wrote: > > Hi! > > > > > This allows one to simplify drivers that provide a trigger with a > > > non-constant name (e.g. one trigger per device with the trigger name > > > depending on the

Re: KASAN: use-after-free Read in sit_tunnel_xmit

2018-05-12 Thread Eric Biggers
On Thu, Feb 15, 2018 at 04:22:28PM -0800, Cong Wang wrote: > On Tue, Feb 13, 2018 at 10:48 AM, Dmitry Vyukov wrote: > > On Mon, Oct 30, 2017 at 7:41 PM, Cong Wang wrote: > >> On Mon, Oct 30, 2017 at 8:34 AM, syzbot > >>

Re: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-12 Thread Randy Dunlap
On 05/12/2018 12:15 PM, Darren Hart wrote: > On Sat, May 12, 2018 at 11:51:02AM -0700, Randy Dunlap wrote: >> On 05/12/2018 11:32 AM, Darren Hart wrote: >>> On Sat, May 12, 2018 at 05:28:05PM +0800, kbuild test robot wrote: Hi Mario, FYI, the error/warning still remains.

Re: [PATCH v2 2/2] leds: Add Spreadtrum SC27xx breathing light controller driver

2018-05-12 Thread Jacek Anaszewski
Hi Pavel, On 05/12/2018 10:35 AM, Pavel Machek wrote: Hi! I disagree here. We already had the same discussion at the occasion of the patch [0] and it turned out to be a dead-end [1]. Now we have neither the driver nor the generic pattern interface. We also already have some older LED class

  1   2   3   4   >