Re: [PATCH 1/4] ARM: dts: exynos: Add missing used PMIC regulators on Exynos5422 Odroid boards

2018-08-10 Thread Anand Moon
Hi Krzysztof, These patches should also be ported to u-boot to enable PMIC. I was just looking into S2MPS11B data sheet According to the 1.2 Key Features of S2MPS11 BUCK1, BUCK2, BUCK3, BUCK4, BUCK6 have (0.65 V to 1.6 V) min /max range. BUCK5 have (0.65 V to 2.0 V) min /max range. BUCK7 have (

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-10 Thread Song Liu
On Fri, Aug 10, 2018 at 12:58 PM, Steven Rostedt wrote: > On Thu, 9 Aug 2018 16:38:28 +0200 > Oleg Nesterov wrote: > >> I need to read this (hopefully final) version carefully. I'll try to do >> this before next Monday. >> > > Monday may be the opening of the merge window (more likely Sunday). Do

RE: MEETING IN DUBAI

2018-08-10 Thread AHMED
Dear i only need your help to meet with Mr kelly adams who is right now in Dubai,you will play a roll of the beneficiary of the funds which i have agreed to give you 40% of the total sum,this money will be used for investment in uae,please the box is right now in London security company,once y

[PATCH RESEND v3] arm64: clean the additional checks before calling ghes_notify_sea()

2018-08-10 Thread Dongjiu Geng
In order to remove the additional check before calling the ghes_notify_sea(), make stub definition when !CONFIG_ACPI_APEI_SEA. After this cleanup, we can simply call the ghes_notify_sea() to let APEI driver handle the SEA notification. CC: Tyler Baicar CC: James Morse Signed-off-by: Dongjiu Gen

linux-next: Signed-off-by missing for commit in the v4l-dvb tree

2018-08-10 Thread Stephen Rothwell
Hi Mauro, Commit da2048b7348a ("Revert "media: vivid: shut up warnings due to a non-trivial logic"") is missing a Signed-off-by from its author and committer. Reverts are commits, too. -- Cheers, Stephen Rothwell pgpd8X7yEeTU1.pgp Description: OpenPGP digital signature

[PATCH V2] kernel: locking: rtmutex: Fix a possible sleep-in-atomic-context bug in rt_mutex_handle_deadlock()

2018-08-10 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule kernel/locking/rtmutex.c, 1223: schedule in rt_mutex_handle_deadlock kernel/locking/rtmutex.c, 1273: rt_mutex_handle_deadlock in rt_mutex_slowlock kernel/l

Re: [PATCH] kernel: locking: rtmutex: Fix a possible sleep-in-atomic-context bug in rt_mutex_handle_deadlock()

2018-08-10 Thread Jia-Ju Bai
On 2018/8/11 10:44, Steven Rostedt wrote: On Sat, Aug 11, 2018 at 10:35:24AM +0800, Jia-Ju Bai wrote: The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule kernel/locking/rtmutex.c, 1223: schedule in rt_mutex_ha

drivers/mtd/chips/cfi_util.o: warning: objtool: cfi_qry_present() falls through to next function cfi_merge_status()

2018-08-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f313b43be461f157755a57c1156f86abe10588de commit: ed7d40bc67b8353c677b38c6cdddcdc310c0f452 tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount date: 7 weeks ago config: x86_64-r

Re: [PATCH] kernel: locking: rtmutex: Fix a possible sleep-in-atomic-context bug in rt_mutex_handle_deadlock()

2018-08-10 Thread Steven Rostedt
On Sat, Aug 11, 2018 at 10:35:24AM +0800, Jia-Ju Bai wrote: > The driver may sleep with holding a spinlock. > > The function call paths (from bottom to top) in Linux-4.16 are: > > [FUNC] schedule > kernel/locking/rtmutex.c, 1223: > schedule in rt_mutex_handle_deadlock > kernel/locking/rtmu

[PATCH] kernel: locking: rtmutex: Fix a possible sleep-in-atomic-context bug in rt_mutex_handle_deadlock()

2018-08-10 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule kernel/locking/rtmutex.c, 1223: schedule in rt_mutex_handle_deadlock kernel/locking/rtmutex.c, 1273: rt_mutex_handle_deadlock in rt_mutex_slowlock kernel

Re: [PATCH v4 0/4] seccomp trap to userspace

2018-08-10 Thread Tycho Andersen
On Tue, Aug 07, 2018 at 09:11:50PM -0700, Dinesh Subhraveti wrote: > On Mon, Aug 6, 2018 at 7:44 PM, Tycho Andersen wrote: > > Hi all, > > > > Dinesh Subhraveti has claimed that some part of this series might be > > patented. While he has not furnished me with anything to confirm this > > claim, I

KASAN errors from unwind_frame

2018-08-10 Thread Sodagudi Prasad
Hi All, I have observed following KASAN error with 4.14.56 kernel. Can you please copy change-[1](kasan: add no_sanitize attribute for clang builds) into stable kernels? [1] - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/compiler-clang.h?h=v4.18-rc8&

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-10 Thread Baolin Wang
Hi Jacek, On 11 August 2018 at 02:10, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/10/2018 05:26 PM, Baolin Wang wrote: >> Hi Jacek, >> >> On 9 August 2018 at 21:21, Jacek Anaszewski >> wrote: >>> Hi Baolin, >>> >>> On 08/09/2018 07:48 AM, Baolin Wang wrote: >>> [...] +static int pat

[PATCH v2] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4

2018-08-10 Thread Masahiro Yamada
The pin 327 was supposed to be used as a voltage control line for the SD card regulator, but the SD card port1 does not support UHS-I. It only supports 3.3V signaling, hence this pin is pointless. Just a note about the background. At first, hardware engineers tried to implement the UHS for this

[BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug in adp5588_gpio_write()

2018-08-10 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule_timeout drivers/media/platform/marvell-ccic/cafe-driver.c, 206: schedule_timeout in cafe_smbus_write_data drivers/media/platform/marvell-ccic/cafe-driver.c, 307: cafe_s

[BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug in adp5588_gpio_direction_input()

2018-08-10 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] mutex_lock_nested drivers/gpio/gpio-adp5588.c, 113: mutex_lock_nested in adp5588_gpio_direction_input drivers/gpio/gpio-adp5588.c, 224: adp5588_gpio_direction_input in adp5588_i

[PATCH v4 2/2] clk: qcom: gcc: Register QUPv3 RCGs for DFS on SDM845

2018-08-10 Thread Taniya Das
QUPv3 clocks support DFS and thus register the RCGs which require support for the same. Signed-off-by: Taniya Das --- drivers/clk/qcom/gcc-sdm845.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c index f

[PATCH v4 1/2] clk: qcom: Add support for RCG to register for DFS

2018-08-10 Thread Taniya Das
Dynamic Frequency switch is a feature of clock controller by which request from peripherals allows automatic switching frequency of input clock without SW intervention. There are various performance levels associated with a root clock. When the input performance state changes, the source clocks and

[PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-10 Thread Taniya Das
[v4] * Add recalc_clk_ops to calculate the clock frequency reading the current perf state, also add CLK_GET_RATE_NOCACHE flag. * Cleanup 'goto' during mode check in 'clk_rcg2_calculate_freq'. * cleanup return from function 'com_cc_register_rcg_dfs'. [v3] * Rename clk_rcg2_calculate_m

[PATCH 3/5] serial: sprd: Remove unnecessary resource validation

2018-08-10 Thread Baolin Wang
The devm_ioremap_resource() will valid the resources, thus remove the unnecessary resource validation in the driver. Signed-off-by: Baolin Wang --- drivers/tty/serial/sprd_serial.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/sprd_serial.c b/drive

[PATCH 2/5] serial: sprd: Use readable macros instead of magic number

2018-08-10 Thread Baolin Wang
Define readable macros instead of magic number to make code more readable. Signed-off-by: Baolin Wang --- drivers/tty/serial/sprd_serial.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_ser

[PATCH 5/5] serial: sprd: Fix the indentation issue

2018-08-10 Thread Baolin Wang
Make the macros' definition and code have the same correct indentation. Signed-off-by: Baolin Wang --- drivers/tty/serial/sprd_serial.c | 46 +++- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/se

[PATCH 1/5] serial: sprd: Remove unused structure

2018-08-10 Thread Baolin Wang
Remove the unused reg_backup structure. Signed-off-by: Baolin Wang --- drivers/tty/serial/sprd_serial.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 828f114..1b0e3fb 100644 --- a/drivers/tty/serial/sprd_

[PATCH 4/5] serial: sprd: Change 'int' to 'unsigned int'

2018-08-10 Thread Baolin Wang
The register offset value should be 'unsigned int' type. Moreover, prefer 'unsigned int' to bare use of 'unsigned'. Signed-off-by: Baolin Wang --- drivers/tty/serial/sprd_serial.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/sprd_serial.c b/dri

tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h

2018-08-10 Thread kbuild test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f313b43be461f157755a57c1156f86abe10588de commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 9 weeks ago config: alp

Re: [PATCH v1 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-10 Thread Evan Green
On Fri, Aug 10, 2018 at 4:13 PM wrote: > > On 2018-08-10 10:23, Evan Green wrote: > > On Wed, Aug 1, 2018 at 1:34 PM Venkata Narendra Kumar Gutta > > wrote: > >> > >> From: Channagoud Kadabi > >> > >> Add error reporting driver for SBEs and DBEs. As of now, this driver > >> supports erp for Last

Re: [PATCH 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC

2018-08-10 Thread Doug Anderson
Hi, On Wed, Aug 8, 2018 at 12:13 PM, Matthias Kaehlcke wrote: > Add a channel node for the die temperature to the ADC. > > Signed-off-by: Matthias Kaehlcke > --- > arch/arm64/boot/dts/qcom/pm8998.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pm8998.

Re: [PATCH 2/3] arm64: dts: qcom: pm8998: Add adc node

2018-08-10 Thread Doug Anderson
Hi, On Wed, Aug 8, 2018 at 12:13 PM, Matthias Kaehlcke wrote: > This adds the adc node to pm8998 based on the examples in the > bindings. It also fixes the order of the included headers. > > Signed-off-by: Matthias Kaehlcke > --- > arch/arm64/boot/dts/qcom/pm8998.dtsi | 13 - > 1 fi

Re: [PATCH v3 7/7] firmware: coreboot: Request table region for exclusive access

2018-08-10 Thread Stephen Boyd
Quoting Stephen Boyd (2018-08-09 19:54:27) > What's with the top posting? ;-) > > Quoting Julius Werner (2018-08-09 16:44:43) > > Actually, looking at what IO_STRICT_DEVMEM really does, would it > > really prevent userspace accesses to these areas? Because it seems > > that it only prevents access

Re: [PATCH v3] checkpatch: DT bindings should be a separate patch

2018-08-10 Thread Joe Perches
On Fri, 2018-08-10 at 16:50 -0600, Rob Herring wrote: > Devicetree bindings should be their own patch as documented in > Documentation/devicetree/bindings/submitting-patches.txt section I.1. > This is because bindings are logically independent from a driver > implementation, they have a different m

Re: [PATCH v1 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-10 Thread vnkgutta
On 2018-08-10 10:23, Evan Green wrote: On Wed, Aug 1, 2018 at 1:34 PM Venkata Narendra Kumar Gutta wrote: From: Channagoud Kadabi Add error reporting driver for SBEs and DBEs. As of now, this driver supports erp for Last Level Cache Controller (LLCC). This driver takes care of dumping regist

[PATCH 2/5] vmbus: add driver_override support

2018-08-10 Thread kys
From: Stephen Hemminger Add support for overriding the default driver for a VMBus device in the same way that it can be done for PCI devices. This patch adds the /sys/bus/vmbus/devices/.../driver_override file and the logic for matching. This is used by driverctl tool to do driver override. http

[PATCH 1/5] Tools: hv: Fix a bug in the key delete code

2018-08-10 Thread kys
From: "K. Y. Srinivasan" Fix a bug in the key delete code - the num_records range from 0 to num_records-1. Signed-off-by: K. Y. Srinivasan Reported-by: David Binderman Cc: --- tools/hv/hv_kvp_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hv/hv_kvp_daemon.

[PATCH 4/5] uio_hv_generic: drop #ifdef DEBUG

2018-08-10 Thread kys
From: Stephen Hemminger DEBUG is leftover from the development phase, remove it. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/uio/uio_hv_generic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/uio/uio_hv_generic.c b/drivers/uio/uio_hv_generic.c ind

[PATCH 3/5] uio_hv_generic: increase size of receive and send buffers

2018-08-10 Thread kys
From: Stephen Hemminger When using DPDK there is significant performance boost by using the largest possible send and receive buffer area. Unfortunately, with UIO model there is not a good way to configure this at run time. But it is okay to have a bigger buffer available even if application onl

[PATCH 5/5] Drivers: hv: vmbus: Fix synic per-cpu context initialization

2018-08-10 Thread kys
From: Michael Kelley If hv_synic_alloc() errors out, the state of the per-cpu context for some CPUs is unknown since the zero'ing is done as each CPU is iterated over. In such case, hv_synic_cleanup() may try to free memory based on uninitialized values. Fix this by zero'ing the per-cpu context

[PATCH 0/5] Miscellaneous fixes/enhancements

2018-08-10 Thread kys
From: "K. Y. Srinivasan" Miscellaneous fixes/enhancements. K. Y. Srinivasan (1): Tools: hv: Fix a bug in the key delete code Michael Kelley (1): Drivers: hv: vmbus: Fix synic per-cpu context initialization Stephen Hemminger (3): vmbus: add driver_override support uio_hv_generic: increa

Re: [PATCH v1 2/4] drivers: soc: Add support to register LLCC EDAC driver

2018-08-10 Thread vnkgutta
On 2018-08-10 10:21, Evan Green wrote: On Wed, Aug 1, 2018 at 1:33 PM Venkata Narendra Kumar Gutta wrote: Cache error reporting controller is to detect and report single and double bit errors on Last Level Cache Controller (LLCC) cache. Add required support to register LLCC EDAC driver as plat

Re: [PATCH v1 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-10 Thread vnkgutta
On 2018-08-09 20:59, Borislav Petkov wrote: On Wed, Aug 01, 2018 at 01:33:34PM -0700, Venkata Narendra Kumar Gutta wrote: From: Channagoud Kadabi Add error reporting driver for SBEs and DBEs. As of now, this driver Please write out those abbreviations. Done, I just followed the other commits

[PATCH v3] checkpatch: DT bindings should be a separate patch

2018-08-10 Thread Rob Herring
Devicetree bindings should be their own patch as documented in Documentation/devicetree/bindings/submitting-patches.txt section I.1. This is because bindings are logically independent from a driver implementation, they have a different maintainer (even though they often are applied via the same tre

Warning splat on x86_32 during perf stress

2018-08-10 Thread Steven Rostedt
I sometimes trigger this splat in my tests (which cause them to fail), but it's not always hit. Note, this is on x86_32 arch. [ cut here ] IRQs not enabled as expected WARNING: CPU: 0 PID: 0 at /work/build/trace/nobackup/linux-test.git/kernel/time/tick-sched.c:982 tick_

[PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-10 Thread Kim Phillips
The auxtrace init variable 'err' was not being initialized, leading perf to abort early in an SPE record command when there was no explicit error, rather only based whatever memory contents were on the stack. Initialize it explicitly on getting an SPE successfully, the same way cs-etm does. Signed

Re: [PATCH 3/3] mm/memory_hotplug: Cleanup unregister_mem_sect_under_nodes

2018-08-10 Thread Andrew Morton
On Fri, 10 Aug 2018 17:29:31 +0200 osalva...@techadventures.net wrote: > From: Oscar Salvador > > With the assumption that the relationship between > memory_block <-> node is 1:1, we can refactor this function a bit. > > This assumption is being taken from register_mem_sect_under_node() > code.

Re: [PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases

2018-08-10 Thread David Collins
On 08/10/2018 01:05 PM, Douglas Anderson wrote: > No functional change here but it can make the code more readable to > have breaks in the "default" case even though it's the last case. > Let's add them. > > Signed-off-by: Douglas Anderson > --- > > drivers/regulator/qcom-rpmh-regulator.c | 3 +

[PATCH 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-10 Thread Douglas Anderson
Add regulator devices for PMIC regulators managed via VRM and XOB RPMh accelerators. A few notes here: - Regulators are added directly to the board file. While it's true that this will mean a bunch of copy/pasting for other boards that are very similar to MTP, this is probably the right call

[PATCH 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-08-10 Thread Douglas Anderson
From: Manu Gautam This adds nodes for USB and related PHYs. Signed-off-by: Manu Gautam [dianders: reworked quite a bit] Signed-off-by: Douglas Anderson --- Changes in v2: - Use "0x784000" for qfprom rather than "0x78" as per docs. - Add calibration for 2nd USB port too arch/arm64/boot/d

[PATCH v1] dd: Invoke one probe retry cycle after some initcall levels

2018-08-10 Thread Rishabh Bhatnagar
Drivers that are registered at an initcall level may have to wait until late_init before the probe deferral mechanism can retry their probe functions. It is possible that their dependencies were resolved much earlier, in some cases even before the next initcall level. Invoke one probe retry cycle a

[PATCH 3/3] arm64: dts: qcom: sdm845-mtp: Add nodes for USB

2018-08-10 Thread Douglas Anderson
Set the various nodes to "okay" and hook up the regulators. NOTE: For now the main USB port (the one that goes out the Type C connector) is forced to host. Eventually someone will need to get the Type C detection hooked up and get this all integrated with the PMI8998 PMIC. The reason for forcing

[PATCH 0/3] arm64: dts: sdm845: Add RPMh-regulators and usb

2018-08-10 Thread Douglas Anderson
This series adds device tree nodes for the RPMh regulators and USB. These patches are based on patches in various downstream kernels from Manu Gautam, David Collins, and Vivek Gautam. This series was tested on SDM845-MTP (with no-AC firmware) atop Andy Gross's current "for-next" branch at commit

Re: Fwd: PROBLEM: tpm_cpg can't request region with AMD/Dell fTPM

2018-08-10 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 07:57:35PM +0300, Jarkko Sakkinen wrote: > On Tue, Aug 07, 2018 at 02:43:10PM -0400, Harlan Lieberman-Berg wrote: > > (Resending as it seems to have been spamfiltered out from the ml; > > sorry Peter, Jarkko for the duplicate) > > I came on Monday from four week leave and h

Re: [PATCH] gpio: it87: Add support for IT8613

2018-08-10 Thread Linus Walleij
On Thu, Aug 9, 2018 at 12:27 AM Leonid Bloch wrote: > This was tested on actual hardware and found to work fine, but currently > the official specifications of this chip could not be obtained to > confirm the numbers. > > Signed-off-by: Leonid Bloch Patch applied. Yours, Linus Walleij

Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation

2018-08-10 Thread Linus Walleij
On Mon, Aug 6, 2018 at 6:07 PM Anton Vasilyev wrote: > There is no check that allocation in axp20x_funcs_groups_from_mask > is successful. > The patch adds corresponding check and return values. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Anton Vasilyev

Re: [PATCH] gpio: it87: add support for IT8718F Super I/O.

2018-08-10 Thread Linus Walleij
On Wed, Aug 8, 2018 at 10:46 AM Ivan Podovalov wrote: > The DIO connector on the WAFER-945GSE is interfaced to GPIO ports > on the ITE IT8718F Super I/O chipset. From the datasheet of ITE IT8718F, > the GPIO interface is identical to IT8728, so just add it > to the same case as the other chip. >

Problems with uio_pci_generic in v4.18-rc8

2018-08-10 Thread Harris, James R
Hi,   Using Linux kernel v4.18-rc8, I am unable to bind a PCI device to uio_pci_generic.  This works fine with v4.18-rc4.  dmesg shows:   [  336.221585] genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 33 [  336.221681] uio_pci_generic: probe of :04:00.0 failed with error

Re: [PATCH 1/3] pinctrl: madera: Set is_generic

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 11:32 AM Richard Fitzgerald wrote: > We are using the generic pin configuration interface so > we can set is_generic. > > Signed-off-by: Richard Fitzgerald Acked-by: Linus Walleij For these patches. This is not yet in my tree, but I can apply this and the others after -

Re: [PATCH] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 4:50 AM Masahiro Yamada wrote: > The pin 327 was supposed to be used as a voltage control line for the > SD card regulator, but the SD card port1 does not support UHS-I. It > only supports 3.3V signaling, hence this pin is pointless. > > Just a note about the background.

Re: [PATCH] pinctrl: samsung: Remove duplicated "wakeup" in printk

2018-08-10 Thread Linus Walleij
On Mon, Aug 6, 2018 at 6:33 PM Krzysztof Kozlowski wrote: > Double "wakeup" appears in printed message. > > Signed-off-by: Krzysztof Kozlowski Patch applied. Yours, Linus Walleij

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:31:08 PDT (-0700), atish.pa...@wdc.com wrote: On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before 'irqre

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:47:15 PDT (-0700), li...@roeck-us.net wrote: On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: >>This would be necessary to mak

Re: [PATCH 3/3] arm64: reliable stacktraces

2018-08-10 Thread Josh Poimboeuf
On Fri, Aug 10, 2018 at 06:03:11PM +0200, Torsten Duwe wrote: > This is more an RFC in the original sense: is this basically > the correct approach? (as I had to tweak the API a bit). > > In particular the code does not detect interrupts and exception > frames, and does not yet check whether the c

[Regression] libata: sata_down_spd_limit should return if driver has not recorded sstatus speed

2018-08-10 Thread Joseph Salisbury
Hi David, A kernel bug report was opened against Ubuntu [0].  This bug is a regression introduced in v4.15-rc4.  The following commit was identified as the cause of the regression:     2dc0b46b5ea3 ("libata: sata_down_spd_limit should return if driver has not recorded sstatus speed") I was h

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-10 Thread Lina Iyer
On Thu, Aug 09 2018 at 02:16 -0600, Rafael J. Wysocki wrote: On Wed, Aug 8, 2018 at 8:02 PM, Lina Iyer wrote: On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J. Wysocki wrote: On Fri, Aug 3, 2018 at 1:42 PM, Ulf Hansson wrote: >

Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread Julia Lawall
On Fri, 10 Aug 2018, efre...@linux.com wrote: > From: Denis Efremov > > If coccicheck fails, it should return an error code distinct from zero > to signal about an internal problem. Current code instead of exiting with > the tool's error code returns the error code of 'echo "coccicheck failed"

[PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread efremov
From: Denis Efremov If coccicheck fails, it should return an error code distinct from zero to signal about an internal problem. Current code instead of exiting with the tool's error code returns the error code of 'echo "coccicheck failed"' which is almost always equals to zero, thus failing the o

Re: [PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread Stephane Eranian
On Fri, Aug 10, 2018 at 6:37 AM wrote: > > From: Kan Liang > > Current perf can report both virtual address and physical address, but > it doesn't report page size. Users have no idea how large the utilized > page is. They cannot promote/demote large pages to optimize memory use. > > Add a new sa

[PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-10 Thread Craig Tatlor
Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. Signed-off-by: Craig Tatlor --- .../devicetree/bindings/clock/qcom,gcc.txt|1 + drivers/clk/qcom

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-10 Thread Lina Iyer
On Thu, Aug 09 2018 at 04:25 -0600, Lorenzo Pieralisi wrote: On Wed, Aug 08, 2018 at 12:02:48PM -0600, Lina Iyer wrote: On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: >On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J. Wysocki wrote: >>On Fri, Aug 3, 2018 at 1:42 PM, Ulf Hansson

Details des Kreditantrags

2018-08-10 Thread Adams John
Hallo Diese Adams-Darlehen sind wir hier, um Darlehen an diejenigen, die finanzielle Schwierigkeiten haben. Brauchen Sie einen Kredit, um die Rechnungen zu bezahlen? Oder möchten Sie ein Unternehmen gründen, haben aber nicht die Hauptstadt zur Hand? Wenn Sie finanzielle Unterstützung benötigen, u

Re: [PATCH 1/2] phy: qcom-qmp: Quiet -EPROBE_DEFER from qcom_qmp_phy_probe()

2018-08-10 Thread Doug Anderson
Kishon, On Mon, May 14, 2018 at 3:42 PM, Douglas Anderson wrote: > The -EPROBE_DEFER virus demands special case code to avoid printing > error messages when the error is only -EPROBE_DEFER. Spread the virus > to a new host: qcom_qmp_phy_probe(). Specifically handle when our > regulators might n

Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 09:57:03 PDT (-0700), robh...@kernel.org wrote: On Thu, Aug 9, 2018 at 12:29 AM Palmer Dabbelt wrote: On Wed, 08 Aug 2018 16:32:07 PDT (-0700), robh...@kernel.org wrote: > On Wed, Aug 8, 2018 at 1:38 PM Palmer Dabbelt wrote: >> >> On Wed, 08 Aug 2018 07:16:14 PDT (-0700),

Re: [PATCH v9 2/2] regulator: add QCOM RPMh regulator driver

2018-08-10 Thread Doug Anderson
Hi, On Fri, Aug 10, 2018 at 9:29 AM, Mark Brown wrote: > On Fri, Jul 13, 2018 at 06:50:59PM -0700, David Collins wrote: > >> + switch (rpmh_mode) { > >> + default: >> + mode = REGULATOR_MODE_INVALID; >> + } > > I'm not sure why the break statements are being omitted in def

[PATCH] platform/x86: asus-wmi: Add keymap entry for lid flip action on Asus UX360

2018-08-10 Thread Aleh Filipovich
Add entry to WMI keymap for lid flip event on Asus UX360. On Asus Zenbook ux360 flipping lid from/to tablet mode triggers keyscan code 0xfa which cannot be handled and results in kernel log message "Unknown key fa pressed". Signed-off-by: Aleh Filipovich --- drivers/platform/x86/asus-nb-wmi.c

Re: BUG: Mount ignores mount options

2018-08-10 Thread Andy Lutomirski
On Fri, Aug 10, 2018 at 9:14 AM, Theodore Y. Ts'o wrote: > And I'm not really sure it helps the container use > case, since the whole point is they want their "guest" to be able to > blithely run "mount /dev/sda1 -o noxattr /mnt" and not worry about the > fact that in some other container, someone

[PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases

2018-08-10 Thread Douglas Anderson
No functional change here but it can make the code more readable to have breaks in the "default" case even though it's the last case. Let's add them. Signed-off-by: Douglas Anderson --- drivers/regulator/qcom-rpmh-regulator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/regula

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-10 Thread Steven Rostedt
On Thu, 9 Aug 2018 16:38:28 +0200 Oleg Nesterov wrote: > I need to read this (hopefully final) version carefully. I'll try to do > this before next Monday. > Monday may be the opening of the merge window (more likely Sunday). Do you think this is good enough for pushing it in this late in the g

Re: [PATCH v4 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:46PM +0300, Stefan Popa wrote: > This patch adds the option for the user to select the sampling frequency. > Also, the user can read the available frequencies and read the currently > set frequency via the read_raw function. The frequency can be set via the

Our Company Beijing Shougang Company Ltd., based in China is in search of a competent individual or firm that will be responsible in handling funds as our ''Representative Manager'' in the United Stat

2018-08-10 Thread Beijing Shougang Company Ltd
Note: It is a part time job that won't interrupt your present work or business. Looking forward to your response. Best Regards, Liu Nianzu HR(Representative Manager) Beijing Shougang Company Ltd. No 15,Pingguoyuan Road,Shijingshan District,Beijing Website: www.sggf.com.cn

[PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_AMUX_THM[24]_100K_PU to rev2 channel list

2018-08-10 Thread Matthias Kaehlcke
Add ADC5_AMUX_THM2_100K_PU and ADC5_AMUX_THM4_100K_PU to the list of rev2 ADC channels. Signed-off-by: Matthias Kaehlcke --- drivers/iio/adc/qcom-spmi-adc5.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c index a4299417

[PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-10 Thread Michael Jin
Add support for ECC error decoding for F17h M11h (Great Horned Owl) processors. Signed-off-by: Michael Jin --- drivers/edac/amd64_edac.c | 14 ++ drivers/edac/amd64_edac.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c

Re: [PATCH v3] resource: Merge resources on a node when hot-adding memory

2018-08-10 Thread Oscar Salvador
On Sat, Aug 11, 2018 at 12:25:39AM +1000, Rashmica Gupta wrote: > On Fri, Aug 10, 2018 at 11:00 PM, Michal Hocko wrote: > > On Fri 10-08-18 16:55:40, Rashmica Gupta wrote: > > [...] > >> Most memory hotplug/hotremove seems to be block or section based, and > >> always adds and removes memory at th

Re: [PATCH 1/3] arm64: implement ftrace with regs

2018-08-10 Thread Steven Rostedt
On Fri, 10 Aug 2018 18:02:23 +0200 (CEST) Torsten Duwe wrote: > --- a/arch/arm64/kernel/entry-ftrace.S > +++ b/arch/arm64/kernel/entry-ftrace.S > @@ -13,6 +13,8 @@ > #include > #include > #include > +#include > +#include > > /* > * Gcc with -pg will put the following code in the begi

Re: [PATCH v4 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:42PM +0300, Stefan Popa wrote: > This patch adds basic support for Analog Devices ADXL372 SPI-Bus > Three-Axis Digital Accelerometer. > > The device is probed and configured the with some initial default > values. With this basic driver, it is possible to

[tip:x86/pti] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-10 Thread tip-bot for Joerg Roedel
Commit-ID: d878efce73fe86db34ddb2013260adf571a701a7 Gitweb: https://git.kernel.org/tip/d878efce73fe86db34ddb2013260adf571a701a7 Author: Joerg Roedel AuthorDate: Wed, 8 Aug 2018 13:16:40 +0200 Committer: Thomas Gleixner CommitDate: Fri, 10 Aug 2018 21:12:45 +0200 x86/mm/pti: Move user W

[PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c index 1d853247a205..451d10e323cf 100644 --- a/drivers/iio/da

[PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 8b5aad4c32d9..6d71fd905e29 100644 --- a/drivers/ii

[PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index d0ecc1fdd8fc..f0cf6903dcd2 100644 --- a/drivers/iio

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 12:00 PM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: >> On 08/10/2018 11:48 AM, James Bottomley wrote: >>> On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: and the feedback I got from Jason was: "I wonder if it is worth creat

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks, Ke

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks, Ke

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: > On 08/10/2018 11:48 AM, James Bottomley wrote: > > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > > > and the feedback I got from Jason was: > > > > > > "I wonder if it is worth creating this when the first file is > > > opened..

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 11:48 AM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: >> and the feedback I got from Jason was: >> >> "I wonder if it is worth creating this when the first file is >> opened.. Lots of systems have TPMs but few use the userspace.." >> >> so I change

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > and the feedback I got from Jason was: > > "I wonder if it is worth creating this when the first file is > opened.. Lots of systems have TPMs but few use the userspace.." > > so I changed this to allocate the WQ on first open. I think it m

Re: [PATCH v3 1/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_security.c

2018-08-10 Thread Dan Carpenter
On Fri, Aug 10, 2018 at 08:21:23PM +0200, Michael Straube wrote: > On 08/10/18 13:31, Dan Carpenter wrote: > > No no... I only gave it a Reviewed-by tag because I didn't want you to > > resend again... :P > > Ah, sorry. So I shouldn't have added the tag? > Should I remove it again? I guess not..

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Guenter Roeck
On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: > On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: > >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: > >>This would be necessary to make non-SMP builds work, but there is > >>another error in the impl

Re: [PATCH] iomap: Switch to offset_in_page for clarity

2018-08-10 Thread Darrick J. Wong
[add linux-xfs to cc] On Fri, Aug 10, 2018 at 04:56:27PM +0200, Andreas Gruenbacher wrote: > Instead of open-coding pos & (PAGE_SIZE - 1) and pos & ~PAGE_MASK, use > the offset_in_page macro. > > Signed-off-by: Andreas Gruenbacher Looks ok, will test... Reviewed-by: Darrick J. Wong --D > ---

Re: [PATCH v4 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-08-10 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 11:05:17AM -0700, Tadeusz Struk wrote: > On 08/10/2018 10:27 AM, Jarkko Sakkinen wrote: > > On Tue, Aug 07, 2018 at 01:27:44PM -0700, Tadeusz Struk wrote: > >> Add a ptr to struct tpm_space to the file_priv to have an easy > >> access to it in the async job without the need

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-10 Thread Trent Piepho
On Thu, 2018-08-09 at 12:37 -0700, Doug Anderson wrote: > On Thu, Aug 9, 2018 at 11:24 AM, Trent Piepho wrote: > > > I think we're in agreement but perhaps there's a miscommunication here? > > I'm saying that we _shouldn't_ put the max-speed of the master in the > device tree. The max speed for

[PATCH] RDMA/bnxt_re: QPLIB: Add and use #define dev_fmt(fmt) "QPLIB: " fmt

2018-08-10 Thread Joe Perches
Consistently use the "QPLIB: " prefix for dev_ logging. Miscellanea: o Add missing newlines to avoid possible message interleaving o Coalesce consecutive dev_ uses that emit a message header to avoid < 80 column lengths and mistakenly output on multiple lines o Reflow modified lines to use 80 c

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Atish Patra
On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before 'irqreturn_t' irqreturn_t (*handle_irq)(int irq_num, void *dev); ^~~~

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: This would be necessary to make non-SMP builds work, but there is another error in the implementation of our syscall linkage that actually just causes sys_riscv_flus

  1   2   3   4   5   >