Re: [PATCH 4/7] serial: imx: Simplify DMA disablement

2017-07-02 Thread Uwe Kleine-König
On Fri, Jun 30, 2017 at 02:04:43PM +0200, Romain Perier wrote: > From: Nandor Han > > This commits simplify the function imx_disable_dma() by moving > the code for disabling RX and TX DMAs to dedicated functions. I'd point out there that this prepares the next commit because in the current state

Re: [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-02 Thread Thomas Gleixner
On Mon, 3 Jul 2017, Dou Liyang wrote: > At 07/03/2017 03:18 AM, Thomas Gleixner wrote: > > On Fri, 30 Jun 2017, Dou Liyang wrote: > > > > > xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus > > > which initializes interrupt itself. > > > > > > Touching the intr_mode_init causes u

Re: [PATCH 3/7] serial: imx: init dma_is_{rx|tx}ing variables

2017-07-02 Thread Uwe Kleine-König
On Fri, Jun 30, 2017 at 02:13:29PM +0200, Lothar Waßmann wrote: > Hi, > > On Fri, 30 Jun 2017 14:04:42 +0200 Romain Perier wrote: > > From: Nandor Han > > > > Initialize both dma_is_{rx|tx}ing variables when DMA is enabled to avoid > > checking uninitialized variables if port shutdown is request

Re: [PATCH v2 1/2] dt-bindings: reset: Add bindings for basic reset controller

2017-07-02 Thread Joel Stanley
On Thu, Jun 8, 2017 at 6:19 AM, Rob Herring wrote: > On Tue, May 30, 2017 at 03:38:50PM +0930, Joel Stanley wrote: >> This adds the bindings documentation for a basic single-register reset >> controller. >> >> The bindings describe a single 32-bit register that contains up to 32 >> reset lines, ea

Re: [PATCH 2/7] serial: imx: move log from error to debug type

2017-07-02 Thread Uwe Kleine-König
On Fri, Jun 30, 2017 at 02:04:41PM +0200, Romain Perier wrote: > From: Nandor Han > > During DMA startup we have a data race condition since UART port can > receive data that can generate different type of errors. > > This is not necessarily an error since DMA didn't yet started. The > situation

Re: [PATCH 1/7] serial: imx: only set DMA rx-ing when DMA starts

2017-07-02 Thread Uwe Kleine-König
Hello, On Fri, Jun 30, 2017 at 02:04:40PM +0200, Romain Perier wrote: > From: Nandor Han > > Avoid the situation when `dma_is_rxing` could incorrectly signal that > DMA RX channel is receiving data in case DMA preparation or sg mapping > fails. Just from reading the commit log and the patch I d

Re: [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:41 PM, Thomas Gleixner wrote: On Mon, 3 Jul 2017, Dou Liyang wrote: At 07/03/2017 01:47 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +/* Init the interrupt delivery mode for the BSP */ +void __init apic_intr_mode_init(void) +{ + switch (a

Re: [linux-next] SMT off triggers WARNING: CPU: 1 PID: 13 at arch/powerpc/kernel/watchdog.c:314 stop_wd_on_cpu+0x54/0xf0

2017-07-02 Thread Santosh Sivaraj
* Abdul Haleem wrote (on 2017-07-03 11:25:18 +0530): > Hi, > > Today's next-20170630 on powerpc shows warnings in dmesg when SMT is > disabled. Fix provided by Nick: https://lkml.org/lkml/2017/6/30/143 Thanks, Santosh > > Test: SMT off > kernel: 4.12.0-rc7-next-20170630 > Machine: Power 8 B

Re: [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Thomas Gleixner
On Mon, 3 Jul 2017, Dou Liyang wrote: > At 07/03/2017 01:47 AM, Thomas Gleixner wrote: > > On Fri, 30 Jun 2017, Dou Liyang wrote: > > > +/* Init the interrupt delivery mode for the BSP */ > > > +void __init apic_intr_mode_init(void) > > > +{ > > > + switch (apic_intr_mode_select()) { > > > + case A

linux-next: manual merge of the nvdimm tree with the vfs tree

2017-07-02 Thread Stephen Rothwell
Hi Dan, Today's linux-next merge of the nvdimm tree got conflicts in: include/linux/uio.h lib/iov_iter.c between commit: aa28de275a24 ("iov_iter/hardening: move object size checks to inlined part") from the vfs tree and commit: 0aed55af8834 ("x86, uaccess: introduce copy_from_iter_flu

Re: [PATCH] PCI: Work around poweroff & suspend-to-RAM issue on Macbook Pro 11

2017-07-02 Thread Ethan Zhao
On Mon, Jul 3, 2017 at 12:26 PM, Chen Yu wrote: > Hi, > On Sun, Jul 02, 2017 at 03:59:48PM -0500, Bjorn Helgaas wrote: >> Neither soft poweroff (transition to ACPI power state S5) nor >> suspend-to-RAM (transition to state S3) works on the Macbook Pro 11,4 and >> 11,5. >> >> The problem is related

Re: [PATCH 02/14] qcom: mtd: nand: add and initialize QPIC DMA resources

2017-07-02 Thread Sricharan R
Hi Abhishek, On 6/29/2017 12:45 PM, Abhishek Sahu wrote: > 1. The QPIC NAND uses 3 BAM channels: command, data tx and >data rx while EBI2 NAND uses only single ADM channel. > > 2. The EBI2 NAND uses normal register read buffer since this >buffer will be remapped with dma_map_sg. The QPIC

Re: [PATCH] vmalloc: respect the GFP_NOIO and GFP_NOFS flags

2017-07-02 Thread Michal Hocko
On Fri 30-06-17 20:36:12, Mikulas Patocka wrote: > > > On Fri, 30 Jun 2017, Michal Hocko wrote: > > > On Fri 30-06-17 14:11:57, Mikulas Patocka wrote: > > > > > > > > > On Fri, 30 Jun 2017, Michal Hocko wrote: > > > > > > > On Thu 29-06-17 22:25:09, Mikulas Patocka wrote: > > > > > The __vmal

Re: [PATCH] staging: sm750fb: fixed a assignment typo

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 12:39:24PM +0800, Lynn Lei wrote: > Fixed a typo issue in get_mxclk_freq(). What typo issue is that? Please always be specific in the changelog text. thanks, greg k-h

Re: [PATCH v3 2/2] i2c: Add Spreadtrum I2C controller driver

2017-07-02 Thread Baolin Wang
Hi Andy and Wolfram, On 一, 6月 26, 2017 at 06:28:14下午 +0800, Baolin Wang wrote: > This patch adds the I2C controller driver for Spreadtrum SC9860 platform. > > Signed-off-by: Baolin Wang > --- > Changes since v2: > - Remove some redundant comments and parens. > - Define macros instead of magic

Re: [PATCH] zram: constify attribute_group structures.

2017-07-02 Thread Minchan Kim
Hello, On Mon, Jul 03, 2017 at 11:43:13AM +0530, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work with const > attribute_group. So mark the non-const structs as const. If so, how about changing all of pla

[PATCH v2] iio: Add LTC2471/LTC2473 driver

2017-07-02 Thread Mike Looijmans
The LTC2741 and LTC2473 are single voltage ADC chips. The LTC2473 is similar to the LTC2471 but outputs a signed differential value. Datasheet: http://cds.linear.com/docs/en/datasheet/24713fb.pdf Signed-off-by: Mike Looijmans --- v2: (LC) Add empty line, remove i2c_set_clientdata (PS) enum

Re: [PATCH 03/14] qcom: mtd: nand: Fixed config error for BCH

2017-07-02 Thread Sricharan R
Hi Abhishek, On 6/29/2017 12:45 PM, Abhishek Sahu wrote: > The configuration for BCH is not correct in the current > driver so this patch fixed the same. > > Signed-off-by: Abhishek Sahu > --- > drivers/mtd/nand/qcom_nandc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

[PATCH] mmc: mediatek: add ops->get_cd() support

2017-07-02 Thread Chaotian Jing
if user plug out sd card slowly, finally card is plugged out but cat /proc/partitions can find that card is still exist in kernel. that's because alougth get card detect interrupt but CMD13 still can get correct response(all other pins are connected expect card detect pin). add ops->get_cd() can av

Re: [PATCH 02/14] qcom: mtd: nand: add and initialize QPIC DMA resources

2017-07-02 Thread Sricharan R
Hi Abhishek, On 6/29/2017 12:45 PM, Abhishek Sahu wrote: > 1. The QPIC NAND uses 3 BAM channels: command, data tx and >data rx while EBI2 NAND uses only single ADM channel. > > 2. The EBI2 NAND uses normal register read buffer since this >buffer will be remapped with dma_map_sg. The QPIC

Re: [PATCH] staging: sm750fb: refactor the clock frequency calculation method

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 08:24:26PM +0800, Lynn Lei wrote: > speed up calculation by merging two divisions into one. How much did you speed it up? Please provide proof of anything like this if you say it is a speed up. > > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/ddk750_chip.c |

Re: [PATCH] staging: sm750fb: refactor method and fix potential type inconsistence

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 10:27:40PM +0800, Lynn Lei wrote: > make reg variable typed `u32' not `unsigned int' > this can fix potential type inconsistence in some platforms It can? What platform? > > refactor swPanelPowerSequence() make the code less redundant > > a early check for disp to skip

Re: [PATCH 01/14] qcom: mtd: nand: Add driver data for QPIC DMA

2017-07-02 Thread Sricharan R
Hi Abhishek, On 6/29/2017 12:45 PM, Abhishek Sahu wrote: > The current driver only support EBI2 NAND which uses ADM DMA. The > latest QCOM controller supports QPIC NAND which uses BAM DMA. NAND > registers and programming sequence are same for EBI2 and QPIC > NAND so the same driver can support QP

Re: [PATCH v2] staging: sm750fb: refactor method and fix potential type inconsistence

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 10:40:33PM +0800, Lynn Lei wrote: > include PANEL_DISPLAY_CTRL_FPVDDEN control mask Does the subject match this? > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/ddk750_display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/

[selftest/powerpc] mainline kernel panics with tm/tm-signal-context-chk-vsx.c tests

2017-07-02 Thread Abdul Haleem
Hi, Today's mainline kernel panics and machine rebooted when running kernel selftest on powerpc. Test: tm/tm-signal-context-chk-vsx.c kernel version : 4.12.0-rc7 Machine : Power 8 Bare-metal config: attached, config_4k_pages gcc: 4.8.5 kernel traces: -- tm-signal-msr-r[39659]: bad f

Re: [PATCH] staging: sm750fb: skip unnecessary comparisons

2017-07-02 Thread Greg KH
On Mon, Jul 03, 2017 at 09:26:47AM +0800, Lynn Lei wrote: > introduced early checks to skip unnecessary comparisons when flags set. Why? > > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/sm750.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/dri

Re: [RFC 0/5] drivers: Add boot constraints core

2017-07-02 Thread Viresh Kumar
On 30-06-17, 13:10, Mark Brown wrote: > On Fri, Jun 30, 2017 at 02:13:30PM +0530, Viresh Kumar wrote: > > On 30-06-17, 14:36, Chen-Yu Tsai wrote: > > > Operable ranges of the regulator: 1.8 - 3.0 V > > Range required by LCD: 2.0 - 3.0 V > > Range required by DMA: 1.8 - 2.5 V > > > Here DMA can't

[PATCH] zram: constify attribute_group structures.

2017-07-02 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 8293 841 4913823b2 drive

Re: linux-next: manual merge of the target-updates tree with the scsi tree

2017-07-02 Thread Stephen Rothwell
Hi all, On Mon, 3 Jul 2017 15:56:58 +1000 Stephen Rothwell wrote: > > @@@ -1919,14 -1869,16 +1897,18 @@@ > } > memset(mcmd, 0, sizeof(*mcmd)); > > +cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); That line should not be there. -- Cheers, Stephen Rothwell

[PATCH v2 1/3] include: uapi: usb: Introduce USB charger type and state definition

2017-07-02 Thread Baolin Wang
Introducing USB charger type and state definition can help to support USB charging which will be added in USB phy core. Signed-off-by: Baolin Wang --- include/uapi/linux/usb/charger.h | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 include/uapi/linux/

[PATCH v2 2/3] usb: phy: Add USB charger support

2017-07-02 Thread Baolin Wang
This patch introduces the usb charger support based on usb phy that makes an enhancement to a power driver. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the extcon device state change, the usb charger will report to power user to set th

[PATCH v2 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-02 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others. Signed-off-

[PATCH v2 0/3] Introduce USB charger support in USB phy

2017-07-02 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not b

linux-next: manual merge of the target-updates tree with the scsi tree

2017-07-02 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in: drivers/scsi/qla2xxx/tcm_qla2xxx.c between commit: 60a9eadb19f3 ("scsi: qla2xxx: Move target stat counters from vha to qpair.") from the scsi tree and commit: bc1bb269ef7b ("qla2xxx: Fix incorrect tcm_ql

linux-next: manual merge of the target-updates tree with the scsi tree

2017-07-02 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in: drivers/scsi/qla2xxx/qla_target.c between commit: c5419e2618b9 ("scsi: qla2xxx: Combine Active command arrays.") from the scsi tree and commit: bc1bb269ef7b ("qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd

[linux-next] SMT off triggers WARNING: CPU: 1 PID: 13 at arch/powerpc/kernel/watchdog.c:314 stop_wd_on_cpu+0x54/0xf0

2017-07-02 Thread Abdul Haleem
Hi, Today's next-20170630 on powerpc shows warnings in dmesg when SMT is disabled. Test: SMT off kernel: 4.12.0-rc7-next-20170630 Machine: Power 8 Bare-metal gcc: 4.8.5 config: attached Steps to recreate - 1. Boot powerpc machine with today's next kernel. By default SMT 8 is enab

[PATCH] PCI: mediatek: Remove unnecessary PCI_REASSIGN_* flags

2017-07-02 Thread Ryder Lee
The PCI_REASSIGN_ALL_RSRC and PCI_REASSIGN_ALL_BUS flags are not needed, since we should automatically assign resources if the firmware hasn't done it. Signed-off-by: Ryder Lee --- drivers/pci/host/pcie-mediatek.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/host/pcie-mediatek.

[GIT PULL] EDAC queue for 4.13

2017-07-02 Thread Borislav Petkov
Hi Linus, please pull the EDAC pile for 4.13. Nothing earth-shattering - just the normal development flow of cleanups, improvements, fixes and such. Thanks. --- The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700) are availab

[PATCH 2/2] selftests: ftrace: Add more verbosity for immediate log

2017-07-02 Thread Masami Hiramatsu
Add 3-level verbosity for showing traced command log on console immediately. Since some test cases can cause kernel pacic if there is a probrem (like regression etc.), we can not know which command caused the problem without traced command log. This verbosity (-vvv) solves that because it shows the

[PATCH 1/2] selftests: ftrace: Do not failure if there is unsupported tests

2017-07-02 Thread Masami Hiramatsu
Do not return failure exit code (1) for unsupported testcases, since it is expected for stable kernels. Previously, ftracetest is expected to run only on current release for avoiding regressions. However, nowadays we run it on stable kernels. This means some test cases must return unsupported resu

Re: [PATCH 02/14] qcom: mtd: nand: add and initialize QPIC DMA resources

2017-07-02 Thread Archit Taneja
On 06/29/2017 12:45 PM, Abhishek Sahu wrote: 1. The QPIC NAND uses 3 BAM channels: command, data tx and data rx while EBI2 NAND uses only single ADM channel. 2. The EBI2 NAND uses normal register read buffer since this buffer will be remapped with dma_map_sg. The QPIC NAND will give

RE: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional behavior

2017-07-02 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional > behavior > > On Wednesday, June 14, 2017 01:59:24 PM Lv Zheng wrote: > > According to the bug report, though the busy polling mode can make noirq > > s

Re: [PATCH V2] dmaengine: qcom_hidma: correct API violation for submit

2017-07-02 Thread Vinod Koul
On Fri, Jun 30, 2017 at 10:43:05AM -0400, Sinan Kaya wrote: > Current code is violating the DMA Engine API by putting the submitted > requests directly into the HW queue. This causes queued transactions > to be started by another thread as soon as the first one finishes. > > The DMA Engine documen

Re: [PATCH v2] X86: don't report PAT on CPUs that don't support it

2017-07-02 Thread Mikulas Patocka
On Tue, 6 Jun 2017, Mikulas Patocka wrote: > Hi > > Here I send the second version of the patch. It drops the change from > boot_cpu_has(X86_FEATURE_PAT) to this_cpu_has(X86_FEATURE_PAT) (that > caused kernel to be unbootable for some people). > > Another change is that setup_arch() calls in

Re: [PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Janusz Lisiecki
W dniu 2017-07-02 o 23:23, Luc Van Oostenryck pisze: On Sun, Jul 2, 2017 at 10:49 PM, Janusz Lisiecki wrote: W dniu 2017-07-02 o 21:38, Luc Van Oostenryck pisze: On Sun, Jul 2, 2017 at 4:27 PM, Janusz Lisiecki wrote: This patch fixes the following Sparse warnings in ks_wlan_net.c: drivers/s

[PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Janusz Lisiecki
This patch fixes the following Sparse warnings in ks_wlan_net.c: drivers/staging/ks7010/ks_wlan_net.c:1359:24: warning: cast to restricted __le16 link_ap_info_t structure field 'capability' has native order and is used everywhere in the code in such way (i.e get_ap_information, get_current_ap). Bo

[PATCH 0/1] Fix cast to restricted __le16 in ks7010 driver

2017-07-02 Thread Janusz Lisiecki
This patch fixes Sparse warining found in ks_wlan_net.c. This seems to be last of it reported by Sparse for that driver. link_ap_info_t structure field 'capability' has native order and is used everywhere in the code in such way (i.e get_ap_information, get_current_ap), so le16_to_cpu() on it is wr

Re: [PATCH 01/14] qcom: mtd: nand: Add driver data for QPIC DMA

2017-07-02 Thread Archit Taneja
On 06/29/2017 12:45 PM, Abhishek Sahu wrote: The current driver only support EBI2 NAND which uses ADM DMA. The latest QCOM controller supports QPIC NAND which uses BAM DMA. NAND registers and programming sequence are same for EBI2 and QPIC NAND so the same driver can support QPIC NAND also by a

[PATCH v3 3/3] hwmon: ltc2990: support all measurement modes

2017-07-02 Thread Tom Levens
Updated version of the ltc2990 driver which supports all measurement modes (current, voltage, temperature) available in the chip. If devicetree is used, the mode must be specified with the property "lltc,meas-mode". The format and possible values of the property are described in the binding. If d

[PATCH v3 2/3] hwmon: ltc2990: add devicetree binding

2017-07-02 Thread Tom Levens
Add a devicetree binding for the ltc2990 hwmon driver. Signed-off-by: Tom Levens --- .../devicetree/bindings/hwmon/ltc2990.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltc2990.txt diff --git a/Documentatio

[PATCH v3 1/3] hwmon: ltc2990: refactor value conversion

2017-07-02 Thread Tom Levens
Conversion from raw values to signed integers has been refactored using bitops.h. This also fixes a bug where negative temperatures were converted incorrectly. Signed-off-by: Tom Levens --- drivers/hwmon/ltc2990.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --

Re: [linux-next][PATCH] usb: dwc3: omap: remove IRQ_NOAUTOEN used with shared irq

2017-07-02 Thread Vignesh R
Hi, On Saturday 01 July 2017 01:04 AM, Strashko, Grygorii wrote: > > > On 06/29/2017 01:03 AM, Tony Lindgren wrote: >> * Vignesh R [170628 21:21]: >>> >>> >>> On Thursday 29 June 2017 05:01 AM, Strashko, Grygorii wrote: IRQ_NOAUTOEN can't be used with shared IRQs and Kernel now will trigge

Re: [PATCH] PCI: Work around poweroff & suspend-to-RAM issue on Macbook Pro 11

2017-07-02 Thread Chen Yu
Hi, On Sun, Jul 02, 2017 at 03:59:48PM -0500, Bjorn Helgaas wrote: > Neither soft poweroff (transition to ACPI power state S5) nor > suspend-to-RAM (transition to state S3) works on the Macbook Pro 11,4 and > 11,5. > > The problem is related to the [mem 0x7fa0-0x7fbf] space. When we > use

Re: [PATCH] selftests: ftrace: Use md5sum to take less time of checking logs

2017-07-02 Thread Masami Hiramatsu
On Fri, 30 Jun 2017 10:53:15 -0600 Shuah Khan wrote: > On 06/30/2017 08:49 AM, Steven Rostedt wrote: > > On Thu, 29 Jun 2017 14:21:41 -0600 > > Shuah Khan wrote: > > \ > >> Hi Steve/Masami, > >> > >> I tested this patch on my test system running 4.12-rc7 and didn't see any > >> problems. I am go

Re: linux-next: manual merge of the tip tree with the block tree

2017-07-02 Thread Stephen Rothwell
Hi all, On Mon, 3 Jul 2017 13:56:16 +1000 Stephen Rothwell wrote: > > +if (cpu < nr_queues) { > - map[cpu] = cpu_to_queue_index(nr_queues, cpu, > online_mask); > ++map[cpu] = cpu_to_queue_index(nr_queues, cpu) > +} else { > +

[PATCH] powerpc/powernv/idle: Put pnv_cpu_offline behind HOTPLUG_CPU

2017-07-02 Thread Joel Stanley
In commit 900612315788 ("powerpc/powernv/smp: Add busy-wait loop as fall back for CPU-Hotplug") the idle code uses generic_check_cpu_restart(), but that function is not available when CONFIG_HOTPLUG_CPU is disabled. arch/powerpc/platforms/powernv/idle.c: In function ‘pnv_cpu_offline’: arch/powerpc

linux-next: manual merge of the tip tree with the block tree

2017-07-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: block/blk-mq-cpumap.c between commit: fe631457ff3e ("blk-mq: map all HWQ also in hyperthreaded system") from the block tree and commit: 5f042e7cbd9e ("blk-mq: Include all present CPUs in the default queue mapping") fro

Re: [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:18 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus which initializes interrupt itself. Touching the intr_mode_init causes unexpected results on the system. Bypass it in enlighten_

Re: [PATCH v2 2/4] selftests/ftrace: Add a test to probe module functions

2017-07-02 Thread Masami Hiramatsu
On Mon, 3 Jul 2017 12:27:33 +0900 Masami Hiramatsu wrote: > On Thu, 29 Jun 2017 19:05:37 +0530 > "Naveen N. Rao" wrote: > > > Add a kprobes test to ensure that we are able to add a probe on a > > module function using 'p :' format, without having to > > specify a probe name. > > > > Suggested-

RE: [PATCH 1/9] clk: clk-divider: add CLK_DIVIDER_ZERO_GATE clk support

2017-07-02 Thread A.s. Dong
> -Original Message- > From: Stephen Boyd [mailto:sb...@codeaurora.org] > Sent: Saturday, July 01, 2017 8:56 AM > To: Dong Aisheng > Cc: A.s. Dong; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; mturque...@baylibre.com; > shawn...@kernel.org

linux-next: build failure after merge of the spi tree

2017-07-02 Thread Stephen Rothwell
Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/spi/spi-imx.c: In function 'spi_imx_setupxfer': drivers/spi/spi-imx.c:1007:16: error: 'config' undeclared (first use in this function) mask = (1 << config.bpw) - 1; ^

Re: [PATCH v2 4/4] selftests/ftrace: Add a testcase for kprobe event naming

2017-07-02 Thread Masami Hiramatsu
On Thu, 29 Jun 2017 19:05:39 +0530 "Naveen N. Rao" wrote: > From: Masami Hiramatsu > > Add a testcase for kprobe event naming. This testcase > checks whether the kprobe events can automatically ganerate > its event name on normal function and dot-suffixed function. > Also it checks whether the

Re: [PATCH v2 3/4] selftests/ftrace: Update multiple kprobes test for powerpc

2017-07-02 Thread Masami Hiramatsu
On Thu, 29 Jun 2017 19:05:38 +0530 "Naveen N. Rao" wrote: > KPROBES_ON_FTRACE is only available on powerpc64le. Update comment to > clarify this. > > Also, we should use an offset of 8 to ensure that the probe does not > fall on ftrace location. The current offset of 4 will fall before the > fun

Re: [PATCH v5 09/12] x86/init: add intr_mode_init to x86_init_ops

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:16 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: Add an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. That changelog describes WHAT the patch does, but not WHY. That

Re: [PATCH v2 2/4] selftests/ftrace: Add a test to probe module functions

2017-07-02 Thread Masami Hiramatsu
On Thu, 29 Jun 2017 19:05:37 +0530 "Naveen N. Rao" wrote: > Add a kprobes test to ensure that we are able to add a probe on a > module function using 'p :' format, without having to > specify a probe name. > > Suggested-by: Masami Hiramatsu > Acked-by: Masami Hiramatsu > Signed-off-by: Naveen

Re: [PATCH v5 08/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:15 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +static void __init delay_with_tsc(void) +{ + unsigned long long start, now; + unsigned long ticks = jiffies; Please make that unsigned long end = jiffies + 4; ticks really me

Re: [RFC PATCH 2/2] kprobes: Allow specifying names for certain blacklisted address ranges

2017-07-02 Thread Masami Hiramatsu
On Thu, 29 Jun 2017 19:38:38 +0530 "Naveen N. Rao" wrote: > This allows us to provide meaningful names for certain address ranges > that are blacklisted such as those with __kprobes annotation, kernel > entry text, and so on. For such ranges, using the symbol/function name > at the start of the r

Re: [RFC PATCH 1/2] kprobes: Simplify kprobe blacklist management

2017-07-02 Thread Masami Hiramatsu
Hi Naveen, On Thu, 29 Jun 2017 19:38:37 +0530 "Naveen N. Rao" wrote: > Currently, the kprobe blacklist file in debugfs (usually > /sys/kernel/debug/kprobes/blacklist) does not capture all address > ranges that are blacklisted. For instance, functions annotated with > __kprobes (between __kprobes

RE: [PATCH 4/9] clk: imx: add pllv4 support

2017-07-02 Thread A.s. Dong
> -Original Message- > From: Stephen Boyd [mailto:sb...@codeaurora.org] > Sent: Saturday, July 01, 2017 8:37 AM > To: Dong Aisheng > Cc: A.s. Dong; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; mturque...@baylibre.com; > shawn...@kernel.org

Re: linux-next: build failure after merge of the sound-asoc tree

2017-07-02 Thread Stephen Rothwell
Hi all, On Fri, 30 Jun 2017 11:51:35 +1000 Stephen Rothwell wrote: > > On Thu, 29 Jun 2017 02:01:16 + Bard Liao wrote: > > > > > -Original Message- > > > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > > > Sent: Thursday, June 29, 2017 9:54 AM > > > To: Mark Brown; Liam Gi

RE: [PATCH 9/9] clk: imx: add imx7ulp clk driver

2017-07-02 Thread A.s. Dong
> -Original Message- > From: Stephen Boyd [mailto:sb...@codeaurora.org] > Sent: Saturday, July 01, 2017 8:35 AM > To: A.s. Dong > Cc: Dong Aisheng; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; mturque...@baylibre.com; > shawn...@kernel.org

Re: linux-next: build failure after merge of the tip tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this semantic conflict still exists. On Wed, 28 Jun 2017 13:43:10 +1000 Stephen Rothwell wrote: > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > net/bluetooth/hidp/core.c:1241:39:

Re: linux-next: manual merge of the jc_docs tree with the kbuild tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Mon, 26 Jun 2017 11:13:31 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the jc_docs tree got a conflict in: > > scripts/kernel-doc-xml-ref > > between commit: > > cb77f0d623ff ("scr

Re: linux-next: manual merge of the pci tree with Linus' tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Mon, 26 Jun 2017 10:51:54 +1000 Stephen Rothwell wrote: > > Hi Bjorn, > > Today's linux-next merge of the pci tree got a conflict in: > > drivers/gpu/drm/radeon/radeon_device.c > > between commit: >

Re: linux-next: manual merge of the sound-asoc tree with the pm tree

2017-07-02 Thread Stephen Rothwell
Hi all, [cc-ing the sound tree maintainer] With the merge window opening, just a reminder that this conflict still exists. On Fri, 23 Jun 2017 12:25:34 +1000 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the sound-asoc tree got a conflict in: > > drivers/of/base.c >

[lkp-robot] [net] 0b7266402f: kernel_BUG_at_mm/slab_common.c

2017-07-02 Thread kernel test robot
FYI, we noticed the following commit: commit: 0b7266402fc6ebfa0af7488f34dc113696511fdd ("net: define usercopy region in struct proto slab cache") https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git kspp/usercopy-whitelist/20170619 in testcase: trinity with following parameters:

Re: [PATCH v5 05/12] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:07 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: -static int __init apic_intr_mode_select(void) +static int __init apic_intr_mode_select(int *upmode) { /* Check kernel option */ if (disable_apic) { @@ -1206,12 +1208,30 @@ static i

Re: [PATCH v5 07/12] x86/apic: Unify interrupt mode setup for UP system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:19 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: static inline int apic_force_enable(unsigned long addr) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 0601054..9bf7e95 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/

linux-next: build warning after merge of the sound-asoc tree

2017-07-02 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from sound/soc/intel/skylake/skl-debug.c:23:0: sound/soc/intel/skylake/../common/sst-dsp-priv.h:63:42: warning: 'struct sst_pdata' declared inside parameter list in

Re: [PATCH 1/5] [media] rockchip/rga: v4l2 m2m support

2017-07-02 Thread Randy Li
On 06/27/2017 11:49 PM, Nicolas Dufresne wrote: Le mardi 27 juin 2017 à 23:11 +0800, Jacob Chen a écrit : Hi Nicolas. 2017-06-26 23:49 GMT+08:00 Nicolas Dufresne : Le lundi 26 juin 2017 à 22:51 +0800, Jacob Chen a écrit : Rockchip RGA is a separate 2D raster graphic acceleration unit. It a

Re: [PATCH v2] mm/zsmalloc: simplify zs_max_alloc_size handling

2017-07-02 Thread Minchan Kim
Forgot to add Andrew. On Mon, Jul 03, 2017 at 11:13:12AM +0900, Minchan Kim wrote: > On Fri, Jun 30, 2017 at 01:48:59PM +0200, Jerome Marchand wrote: > > Commit 40f9fb8cffc6 ("mm/zsmalloc: support allocating obj with size of > > ZS_MAX_ALLOC_SIZE") fixes a size calculation error that prevented > >

Re: [PATCH v2] mm/zsmalloc: simplify zs_max_alloc_size handling

2017-07-02 Thread Minchan Kim
On Fri, Jun 30, 2017 at 01:48:59PM +0200, Jerome Marchand wrote: > Commit 40f9fb8cffc6 ("mm/zsmalloc: support allocating obj with size of > ZS_MAX_ALLOC_SIZE") fixes a size calculation error that prevented > zsmalloc to allocate an object of the maximal size > (ZS_MAX_ALLOC_SIZE). I think however t

linux-next: manual merge of the drm tree with the vfs tree

2017-07-02 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/drm_internal.h between commits: 012c6741c6aa ("switch compat_drm_version() to drm_ioctl_kernel()") 17e3dade62d6 ("switch compat_drm_getunique() to drm_ioctl_kernel()") 9e92662d01d8 ("switch compat_drm_g

Re: [PATCH v5 04/12] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-07-02 Thread Dou Liyang
Hi, Thomas At 07/03/2017 01:54 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: /* diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 93f0cda..d6721f0 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1347,8 +1347,11 @@ void __ini

Re: [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 01:47 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +/* Init the interrupt delivery mode for the BSP */ +void __init apic_intr_mode_init(void) +{ + switch (apic_intr_mode_select()) { + case APIC_PIC: + apic_printk(APIC_VERBO

Re: linux-next: manual merge of the kvms390 tree with the s390 tree

2017-07-02 Thread Stephen Rothwell
Hi all, [cc'ing kvm tree maintainers] Withe the merge window opening, just a reminder that this conflict still exists. On Thu, 22 Jun 2017 12:59:28 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the kvms390 tree got a conflict in: > > arch/s390/kvm/gaccess.c > > between comm

Re: [PATCH v4] PCI: Workaround wrong flags completions for IDT switch

2017-07-02 Thread Ethan Zhao
James, On Wed, Jun 28, 2017 at 5:42 AM, James Puthukattukaran wrote: > From: James Puthukattukaran > > The IDT switch incorrectly flags an ACS source violation on a read config > request to an end point device on the completion (IDT 89H32H8G3-YC, > errata #36) even though the PCI Express spec st

Re: linux-next: build failure after merge of the md tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this merge fixup is still required. On Thu, 22 Jun 2017 11:44:56 +1000 Stephen Rothwell wrote: > > After merging the md tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/md/md.c: In function 'md_

Re: linux-next: manual merge of the net-next tree with the pci tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Wed, 21 Jun 2017 11:54:43 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/wireless/marvell/mwifiex/pcie.c > > between commit: > >

Re: linux-next: manual merge of the kspp tree with the file-locks tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Wed, 21 Jun 2017 16:32:11 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the kspp tree got a conflict in: > > include/linux/fs.h > > between commits: > > 7356fd927059 ("fs: new infra

Re: [PATCH v5 01/12] x86/apic: Construct a selector for the interrupt delivery mode

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 01:37 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +static int __init apic_intr_mode_select(void) +{ + /* Check kernel option */ + if (disable_apic) { + pr_info("APIC disabled via kernel command line\n"); + re

linux-next: manual merge of the net-next tree with the net tree

2017-07-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got conflicts in: drivers/net/ethernet/mellanox/mlx5/core/health.c include/linux/mlx5/driver.h between commit: 2a0165a034ac ("net/mlx5: Cancel delayed recovery work when unloading the driver") from the net tree and commit: 0179720

linux-next: manual merge of the net-next tree with the arm64 tree

2017-07-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: arch/arm64/net/bpf_jit_comp.c between commit: 425e1ed73e65 ("arm64: fix endianness annotation for 'struct jit_ctx' and friends") from the arm64 tree and commit: f1c9eed7f437 ("bpf, arm64: take advantage of stack_d

Re: linux-next: manual merge of the tip tree with the jc_docs tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Wed, 21 Jun 2017 14:18:09 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > Documentation/DocBook/kernel-hacking.tmpl > > between commit: > > c4fcd7c

Re: linux-next: manual merge of the akpm-current tree with the kspp tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Tue, 20 Jun 2017 15:15:49 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: > > include/linux/sem.h > > between commit: > > 1a12979f61e4 ("rands

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

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Tue, 20 Jun 2017 13:52:42 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tty tree got a conflict in: > > include/linux/platform_data/atmel.h > > between commit: > > 8a3d809373c6

Re: linux-next: manual merge of the tip tree with the arm64 tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Fri, 16 Jun 2017 13:25:03 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > drivers/acpi/apei/ghes.c > > between commit: > > d0189b2eef2e ("acpi: ape

Re: [PATCH v2] zswap: Zero-filled pages handling

2017-07-02 Thread Seth Jennings
On Sun, Jul 2, 2017 at 9:19 AM, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Sun, 2 Jul 2017 19:15:37 +0530 > Subject: [PATCH v2] zswap: Zero-filled pages handling > > Zswap is a cache which compresses the pages that are being swapped out > and stores them into a dynamically alloc

[PATCH] staging: sm750fb: skip unnecessary comparisons

2017-07-02 Thread Lynn Lei
introduced early checks to skip unnecessary comparisons when flags set. Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/sm750.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 386d4adcd91d

Re: linux-next: manual merge of the char-misc tree with the jc_docs tree

2017-07-02 Thread Stephen Rothwell
Hi all, With the merge window opening, just a reminder that this conflict still exists. On Wed, 14 Jun 2017 14:04:16 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the char-misc tree got a conflict in: > > Documentation/DocBook/w1.tmpl > > between commit: > > b4c1064a76e7

  1   2   3   >