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 core driver for

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 crash on upstream commit >> > 7109a04eae81c41ed529da9f3c48c3655ccea741 (Thu Feb

[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 commit f6b2db084b65

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 rsi: fix spelling mistake: "thead" -> "thread" --

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:

[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 --- 1 file

[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

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 the preceding > >>

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 features used in this driver and has additional

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 >>> wrote: >>> > Hello, >>> > >>> > syzbot hit the following crash on

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

[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. This patch adds 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 instances. Registers

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 Vyukov wrote: On Fri, Feb 2, 2018 at 2:48 PM, syzbot

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.

[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 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() ?

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 to other caches and

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 Biesheuvel > Tested-by: Vijaya Kumar K > Tested-by: Xiongfeng Wang >

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 wrote: On Fri, Feb 02, 2018 at 02:57:32PM +0100, Dmitry Vyukov wrote:

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

2018-05-12 Thread Michael Büsch
On Sat, 12 May 2018 12:00:07 +0200 Rafał Miłecki wrote: > > Yes, I'm OK with the patch, if we have a third patch that cleans up the > > PCI_DRIVERS_LEGACY dependency by moving it to SSB_PCICORE_HOSTMODE > > where it belongs. (This doesn't need to go into the stable tree.) > > We currently

[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

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

[PATCH] ipvlan: flush arp table when mac address changed

2018-05-12 Thread liuqifa
From: Keefe Liu When master device's mac has been changed, the commit <32c10bbfe914> "ipvlan: always use the current L2 addr of the master" makes the IPVlan devices's mac changed also, but it doesn't flush the IPVlan's arp table. Signed-off-by: Keefe Liu --- drivers/net/ipvlan/ipvlan_main.c |

[PATCH 1/2] staging: lustre: Fix spelling mistakes

2018-05-12 Thread Sabin Mihai Rapan
Trivial fix to spelling mistakes in TODO and README.txt Signed-off-by: Sabin Mihai Rapan --- drivers/staging/lustre/README.txt | 2 +- drivers/staging/lustre/TODO | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/README.txt

[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: [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 hardware. >> >> [1]

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

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 testing for the autobuilders to play with it.

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 > --- > drivers/staging/iio/light/tsl2x7x.c | 49

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ł Miłecki wrote: [...] >>> >>> As these patches fix

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 adds a missing error

Re: [PATCH v3 5/9] staging: iio: tsl2x7x: convert to use read_avail

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:19 -0400 Brian Masney wrote: > Make the sysfs attributes in_proximity0_calibscale_available, and > in_intensity0_{calibscale,integration_time}_available be created > using info_mask_separate_available on the channel configuration. > > The driver assumed that the ALS

Re: [PATCH v3 4/9] staging: iio: tsl2x7x: use macro to populate tsl2X7X_device_info

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:18 -0400 Brian Masney wrote: > This patch creates a macro that populates the tsl2X7X_device_info > structure to reduce duplicated code in the driver. > > Signed-off-by: Brian Masney Applied. Thanks, Jonathan > --- > drivers/staging/iio/light/tsl2x7x.c | 61 >

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 actually > went up to 60 since

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 by this patch. > >

[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 conflict with the zfpc

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 > that is currently the

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 found. > > > > - Fix

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 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 all > your feedback on

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 Channel Table)

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 event no longer exists. Currently, the two

[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 a/drivers/staging/lustre/lustre/obdclass/llog.c

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: [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 Jonathan, > > > > Here

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 > compares. > > The trace_marker records data

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: 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 , DaeRyong Jeong We report the

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: > > > > > By specifying the properties "mtd-oob-ecc" and "mtd-oob-free", it is > >

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: Byoungyoung Lee ,

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 Jeong We report the crash: "KASAN:

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

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,

[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 --- This

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 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 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 May 2018 23:29:12 +0200 > Paul Cercueil wrote: > > > By specifying the

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,

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

[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] 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 mai 2018 02:55, Boris Brezillon > >> a écrit : > >> > > >> > Hi

[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: [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: [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 Linus asap ? rc5 is almost here

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: [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

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 to the docs for

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

[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 a/drivers/net/ethernet/mellanox/mlx5/core/vport.c

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 make much more forward >

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

2018-05-12 Thread Steven Rostedt
On Sat, 12 May 2018 21:40:29 +0900 Masami Hiramatsu wrote: > > static int regex_match_full(char *str, struct regex *r, int len) > > { > > - if (strncmp(str, r->pattern, len) == 0) > > - return 1; > > - return 0; > > + /* len means str is dynamic and ends with '\0' */ >

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 version of bugfix series for kprobes on arm. >> >

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 v3 9/9] staging: iio: tsl2x7x/tsl2772: move out of staging

2018-05-12 Thread Jonathan Cameron
On Sat, 12 May 2018 08:36:30 -0400 Brian Masney wrote: > 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

Re: [PATCH] pstore: Convert internal records to timespec64

2018-05-12 Thread Deepa Dinamani
Acked-by: Deepa Dinamani I will rebase the vfs series on top of this. I'm a little worried about merge strategy. Whoever is taking that series should pull in this patch as well? I could include it as one of the patches in the series if you prefer. -Deepa On Fri, May 11, 2018 at 11:57 PM, Kees

[PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-05-12 Thread sumeet p
Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant. Signed-off-by: sumeet p --- Changes in V2: -

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 support of other boards

[PATCH v3 1/2] si2168: Set TS clock mode and frequency

2018-05-12 Thread Thomas Hollstegge
Some devices require a higher TS clock frequency to demodulate some muxes. This adds two optional parameters to control the TS clock frequency mode as well as the frequency. Signed-off-by: Thomas Hollstegge --- drivers/media/dvb-frontends/si2168.c | 20 +++-

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

2018-05-12 Thread Thomas Hollstegge
Add support for newer revisions of the USB DVB-C/DVB-T/DVB-T2 stick MyGica T230C, sometimes referred to as MyGica T230C2. The device needs a fixed TS clock frequency of 10MHz to be able to demod some channels. This is done by adding two new optional configuration options for the Si2168 demod

[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] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Paul Cercueil
Le sam. 12 mai 2018 à 20:02, Boris Brezillon a écrit : 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 >>

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

2018-05-12 Thread Yann Ylavic
On Fri, May 11, 2018 at 9:49 PM, Steven Rostedt wrote: [] > > static int regex_match_front(char *str, struct regex *r, int len) > { > - if (len < r->len) > + if (len && len < r->len) > return 0; > > - if (strncmp(str, r->pattern, r->len) == 0) > -

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

2018-05-12 Thread Darren Hart
On Sat, May 12, 2018 at 05:28:05PM +0800, kbuild test robot wrote: > 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:

Re: [Ksummit-discuss] bug-introducing patches

2018-05-12 Thread Guenter Roeck
On 05/11/2018 09:38 PM, Stephen Rothwell wrote: Hi all, On Wed, 9 May 2018 20:47:27 +1000 Stephen Rothwell wrote: On Wed, 9 May 2018 18:03:46 +0900 Mark Brown wrote: On Wed, May 09, 2018 at 10:47:57AM +0200, Daniel Vetter wrote: On Wed, May 9, 2018 at 10:44 AM, Mark Brown wrote: I

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 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. >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> 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: [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] mm: Change return type to vm_fault_t

2018-05-12 Thread Souptick Joarder
>> 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, >> struct vm_fault *vmf); >> > > It'd be nicer if people

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

2018-05-12 Thread Darren Hart
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. > >> > >> tree:

Re: [PATCH 4.4 15/50] s390/alternative: use a copy of the facility bit mask

2018-05-12 Thread Greg Kroah-Hartman
On Tue, May 08, 2018 at 09:20:55AM +0200, Greg Kroah-Hartman wrote: > On Mon, May 07, 2018 at 08:07:07AM +0200, Martin Schwidefsky wrote: > > On Fri, 4 May 2018 15:18:08 -0700 > > Greg Kroah-Hartman wrote: > > > > > On Fri, May 04, 2018 at 09:37:20AM +0200, Jiri Slaby wrote: > > > > On

Re: [PATCH] drm: Fix render node numbering regression from control node removal.

2018-05-12 Thread Daniel Vetter
On Tue, May 08, 2018 at 05:14:25PM -0700, Eric Anholt wrote: > drm_minor_alloc() does multiplication on this enum, so the removal > ended up moving render nodes down from 128 base to 64. This caused > Mesa's surfaceless backend to be unable to open the render nodes, > since it was still looking

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

2018-05-12 Thread Eric Biggers
On Fri, Jan 05, 2018 at 02:07:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 8a4816cad00bf14642f0ed6043b32d29a05006ce > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console

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 > >> > >> wrote: > >>> Hello, > >>> > >>> syzkaller hit the following crash on >

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.

[no subject]

2018-05-12 Thread Badari Pulavarty
hi Lkml https://bit.ly/2KhYIvQ Badari Pulavarty

<    1   2   3   4   >