Re: [RESEND PATCH v4 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-07-23 Thread Baolin Wang
Hi Wolfram, On 五, 7月 14, 2017 at 05:01:10下午 +0800, Baolin Wang wrote: > This patch adds the binding documentation for Spreadtrum I2C > controller device. > > Signed-off-by: Baolin Wang > Acked-by: Rob Herring > --- > Changes since v3: > - Add Ack from RobH. > > Changes since v2: > - Change

Re: [PATCH v4 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-07-23 Thread Mika Westerberg
Hi, On Thu, Jul 20, 2017 at 06:11:49PM +0200, Christian Kellner wrote: > Hi! > > > This is fourth version of the patch series adding support for Thunderbolt > > security levels and NVM firmware upgrade. > > While prototyping the user-space bits for GNOME, I stumbled upon an > oops on the Lenovo

Re: [PATCH 1/3] irq/irq_sim: add a simple interrupt simulator framework

2017-07-23 Thread Bartosz Golaszewski
2017-07-22 22:59 GMT+02:00 Jonathan Cameron : >> + >> +/** >> + * irq_sim_fire - Enqueue an interrupt. >> + * >> + * @sim:The interrupt simulator object. >> + * @offset: Offset of the simulated interrupt which should be fired. >> + */ >> +void irq_sim_fire(struct irq_sim *sim, unsigned

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-23 Thread Baolin Wang
Hi, On 六, 7月 22, 2017 at 01:27:31下午 +0530, Vinod Koul wrote: > On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > > > +/* DMA global registers definition */ > > +#define DMA_GLB_PAUSE 0x0 > > +#define DMA_GLB_FRAG_WAIT 0x4 > > +#define DMA_GLB_REQ_PEND0_

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-23 Thread Michal Hocko
On Fri 21-07-17 16:01:04, Andrew Morton wrote: > On Thu, 20 Jul 2017 08:56:26 +0200 Michal Hocko wrote: > > > > > > --- a/mm/vmscan.c > > > > +++ b/mm/vmscan.c > > > > @@ -1713,9 +1713,15 @@ shrink_inactive_list(unsigned long nr_to_scan, > > > > struct lruvec *lruvec, > > > > int file =

PERHATIAN

2017-07-23 Thread Administrator
PERHATIAN Kotak surat Anda telah melebihi batas penyimpanan, yaitu 5 GB seperti yang didefinisikan oleh administrator, yang saat ini berjalan pada 10.9GB, Anda mungkin tidak dapat mengirim atau menerima surat baru sampai Anda kembali memvalidasi email mailbox Anda. Untuk memvalidasi ulang kotak

[PATCH] staging: vboxvideo: Kconfig: Fix typos in help text

2017-07-23 Thread Martin Kepplinger
This fixes typos in vboxvideo's help text. Signed-off-by: Martin Kepplinger --- drivers/staging/vboxvideo/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vboxvideo/Kconfig b/drivers/staging/vboxvideo/Kconfig index a52746f9a670..2b058d573cf1 100644

Re: [PATCH] scsi: qedi: select CONFIG_ISCSI_BOOT_SYSFS

2017-07-23 Thread Javali, Nilesh
On 21/07/17, 9:41 PM, "Arnd Bergmann" wrote: >Without the base library support, we get a link failure > >drivers/scsi/qedi/qedi_main.o: In function `__qedi_probe.constprop.0': >qedi_main.c:(.text+0x2d8e): undefined reference to >`iscsi_boot_create_target' >qedi_main.c:(.text+0x2dee): undefined r

Re: [RFC PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-23 Thread Hugh Dickins
On Thu, 20 Jul 2017, Michal Hocko wrote: > On Wed 19-07-17 18:18:27, Hugh Dickins wrote: > > > > But I haven't looked at the oom_kill or oom_reaper end of it at all, > > perhaps you have an overriding argument on the placement from that end. > > Well, the main problem here is that the oom_reaper

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-07-23 Thread Michal Hocko
On Sun 23-07-17 09:41:50, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Sat 22-07-17 00:18:48, Tetsuo Handa wrote: > > > Michal Hocko wrote: > > > > OK, so let's say you have another task just about to jump into > > > > out_of_memory and ... end up in the same situation. > > > > > > Right. > >

Re: [PATCH v6 0/2] x86: Implement fast refcount overflow protection

2017-07-23 Thread Michael Ellerman
Kees Cook writes: > On Fri, Jul 21, 2017 at 2:22 PM, Andrew Morton >> >> Do we have a feeling for how feasible/difficult it will be for other >> architectures to implement such a thing? > > The PaX atomic_t overflow protection this is heavily based on was > ported to a number of architectures (arm

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-23 Thread Boqun Feng
On Mon, Jul 24, 2017 at 09:04:57AM +0900, Akira Yokosawa wrote: [...] > > > > ->8 > > Subject: [PATCH] kernel: Emphasize the return value of READ_ONCE() is > > honored > > > > READ_ONCE() is used around in kernel to provide a control dependency, > > and to make the control depend

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread Chen-Yu Tsai
On Mon, Jul 24, 2017 at 11:38 AM, wrote: > 在 2017-07-24 11:33,Chen-Yu Tsai 写道: >> >> On Mon, Jul 24, 2017 at 11:18 AM, wrote: >>> >>> 在 2017-07-24 11:03,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > > > From: Ondrej Jirman > > SY81

Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23

2017-07-23 Thread Chen-Yu Tsai
On Mon, Jul 24, 2017 at 2:06 PM, wrote: > 在 2017-07-24 14:02,Chen-Yu Tsai 写道: >> >> On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng wrote: >>> >>> As the H3 SoC, which is also in sun8i line, has totally different >>> register map for the thermal sensor (a cut down version of GPADC), we >>> shoul

Re: [linux-sunxi] [PATCH v3 4/5] ARM: sun8i: h3: add support for the thermal sensor in H3

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng wrote: > As we have gained the support for the thermal sensor in H3, we can now > add its device nodes to the device tree. > > Add them to the H3 device tree. > > The H5 thermal sensor has some differences, and will be added furtherly. > > Signed-off

Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23

2017-07-23 Thread icenowy
在 2017-07-24 14:02,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng wrote: As the H3 SoC, which is also in sun8i line, has totally different register map for the thermal sensor (a cut down version of GPADC), we should rename A23/A33-specified registers to contain A23, in order t

Re: [linux-sunxi] [PATCH v3 1/5] dt-bindings: update the Allwinner GPADC device tree binding for H3

2017-07-23 Thread Chen-Yu Tsai
On Mon, Jul 24, 2017 at 2:01 PM, Chen-Yu Tsai wrote: > On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng wrote: >> Allwinner H3 features a thermal sensor like the one in A33, but has its >> register re-arranged, the clock divider moved to CCU (originally the >> clock divider is in ADC) and added a

Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng wrote: > As the H3 SoC, which is also in sun8i line, has totally different > register map for the thermal sensor (a cut down version of GPADC), we > should rename A23/A33-specified registers to contain A23, in order to > prevent obfuscation with H3 r

[PATCH] mfd: intel-lpss: Put I2C and SPI controllers into reset state on suspend

2017-07-23 Thread Furquan Shaikh
Commit 274e43edcda6f ("mfd: intel-lpss: Do not put device in reset state on suspend") changed the behavior on suspend by not putting LPSS controllers into reset. This was done because S3/S0ix fail if UART device is put into reset and no_console_suspend flag is enabled. Because of the above change,

Re: [linux-sunxi] [PATCH v3 1/5] dt-bindings: update the Allwinner GPADC device tree binding for H3

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng wrote: > Allwinner H3 features a thermal sensor like the one in A33, but has its > register re-arranged, the clock divider moved to CCU (originally the > clock divider is in ADC) and added a pair of bus clock and reset. > > Update the binding documen

Re: [PATCH v1 1/2] remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver

2017-07-23 Thread Oleksij Rempel
Am 18.07.2017 um 18:38 schrieb Bjorn Andersson: > On Tue 18 Jul 01:45 PDT 2017, Oleksij Rempel wrote: > >> Hallo Bjorn, >> >> On 11.07.2017 00:14, Bjorn Andersson wrote: >>> On Mon 10 Jul 07:42 PDT 2017, Oleksij Rempel wrote: >>> Signed-off-by: Oleksij Rempel --- .../devicetree/bi

Re: [PATCH] usb: dwc3: Support the dwc3 host suspend/resume

2017-07-23 Thread Baolin Wang
Hi, On 21 July 2017 at 17:13, Manu Gautam wrote: > Hi, > > On 7/21/2017 2:31 PM, Baolin Wang wrote: >> On 21 July 2017 at 16:45, Manu Gautam wrote: >>> Hi, >>> >>> >>> On 7/21/2017 12:28 PM, Baolin Wang wrote: For some mobile devices with strict power management, we also want to suspen

Is it possible to use ftrace to measure secondary CPU bootup time

2017-07-23 Thread Huang, Ying
Hi, Steven, We are working on parallelizing secondary CPU bootup. So we need to measure the bootup time of secondary CPU, that is, measure time spent in smp_init() and its callees. But we found that ftrace now doesn't support measure time spent in smp_init() because it is called too early (befo

[PATCH] cpufreq: intel_pstate: Fix cpuinfo_cur_freq after performance governor changes

2017-07-23 Thread Huaisheng HS1 Ye
After commit 82b4e03e01bc (intel_pstate: skip scheduler hook when in "performance" mode) Software P-state control modes couldn't get dynamic value during performance mode, and it still in last value from powersave mode, so clear its value to get same behavior as Hardware P-state to avoid confusion.

[PATCH -mm -v3 08/12] memcg, THP, swap: Support move mem cgroup charge for THP swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying PTE mapped THP (Transparent Huge Page) will be ignored when moving memory cgroup charge. But for THP which is in the swap cache, the memory cgroup charge for the swap of a tail-page may be moved in current implementation. That isn't correct, because the swap charge for all sub-

[PATCH -mm -v3 11/12] mm, THP, swap: Delay splitting THP after swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying In this patch, splitting transparent huge page (THP) during swapping out is delayed from after adding the THP into the swap cache to after swapping out finishes. After the patch, more operations for the anonymous THP reclaiming, such as writing the THP to the swap device, removi

[PATCH -mm -v3 10/12] memcg, THP, swap: Make mem_cgroup_swapout() support THP

2017-07-23 Thread Huang, Ying
From: Huang Ying This patch makes mem_cgroup_swapout() works for the transparent huge page (THP). Which will move the memory cgroup charge from memory to swap for a THP. This will be used for the THP swap support. Where a THP may be swapped out as a whole to a set of (HPAGE_PMD_NR) continuous

[PATCH -mm -v3 07/12] mm, THP, swap: Support to split THP for THP swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying After adding swapping out support for THP (Transparent Huge Page), it is possible that a THP in swap cache (partly swapped out) need to be split. To split such a THP, the swap cluster backing the THP need to be split too, that is, the CLUSTER_FLAG_HUGE flag need to be cleared fo

[PATCH -mm -v3 12/12] mm, THP, swap: Add THP swapping out fallback counting

2017-07-23 Thread Huang, Ying
From: Huang Ying When swapping out THP (Transparent Huge Page), instead of swapping out the THP as a whole, sometimes we have to fallback to split the THP into normal pages before swapping, because no free swap clusters are available, or cgroup limit is exceeded, etc. To count the number of the

[PATCH -mm -v3 09/12] memcg, THP, swap: Avoid to duplicated charge THP in swap cache

2017-07-23 Thread Huang, Ying
From: Huang Ying For a THP (Transparent Huge Page), tail_page->mem_cgroup is NULL. So to check whether the page is charged already, we need to check the head page. This is not an issue before because it is impossible for a THP to be in the swap cache before. But after we add delaying splitting

[PATCH -mm -v3 04/12] mm, THP, swap: Don't allocate huge cluster for file backed swap device

2017-07-23 Thread Huang, Ying
From: Huang Ying It's hard to write a whole transparent huge page (THP) to a file backed swap device during swapping out and the file backed swap device isn't very popular. So the huge cluster allocation for the file backed swap device is disabled. Signed-off-by: "Huang, Ying" Cc: Johannes Wei

[PATCH -mm -v3 06/12] Test code to write THP to swap device as a whole

2017-07-23 Thread Huang, Ying
From: Huang Ying To support to delay splitting THP (Transparent Huge Page) after swapped out. We need to enhance swap writing code to support to write a THP as a whole. This will improve swap write IO performance. As Ming Lei pointed out, this should be based on multipage bvec support, which

[PATCH -mm -v3 05/12] block, THP: Make block_device_operations.rw_page support THP

2017-07-23 Thread Huang, Ying
From: Huang Ying The .rw_page in struct block_device_operations is used by the swap subsystem to read/write the page contents from/into the corresponding swap slot in the swap device. To support the THP (Transparent Huge Page) swap optimization, the .rw_page is enhanced to support to read/write

[PATCH -mm -v3 03/12] mm, THP, swap: Make reuse_swap_page() works for THP swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying After supporting to delay THP (Transparent Huge Page) splitting after swapped out, it is possible that some page table mappings of the THP are turned into swap entries. So reuse_swap_page() need to check the swap count in addition to the map count as before. This patch done tha

[PATCH -mm -v3 00/12] mm, THP, swap: Delay splitting THP after swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Johannes and Minchan, Thanks a lot for your review to the first step of the THP swap optimization! Could you help me to review the second step in this patchset? Hi, Hugh, Shaohua, Minchan and

[PATCH -mm -v3 02/12] mm, THP, swap: Support to reclaim swap space for THP swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying The normal swap slot reclaiming can be done when the swap count reaches SWAP_HAS_CACHE. But for the swap slot which is backing a THP, all swap slots backing one THP must be reclaimed together, because the swap slot may be used again when the THP is swapped out again later. So th

[PATCH -mm -v3 01/12] mm, THP, swap: Support to clear swap cache flag for THP swapped out

2017-07-23 Thread Huang, Ying
From: Huang Ying Previously, swapcache_free_cluster() is used only in the error path of shrink_page_list() to free the swap cluster just allocated if the THP (Transparent Huge Page) is failed to be split. In this patch, it is enhanced to clear the swap cache flag (SWAP_HAS_CACHE) for the swap cl

linux-next: Tree for Jul 24

2017-07-23 Thread Stephen Rothwell
Hi all, Changes since 20170721: The kbuild tree lost its large number of build warnings. The reset tree gained a conflict against Linus' tree. The clk tree gained a conflict against Linus' tree. The btrfs-kdave tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus'

Re: [Patch v5 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:32 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/platform/s5p-mfc/regs-mfc-v10.h |

Re: [Patch v5 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:13 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > drivers/media/v4l2-core/v4l2-ctrls.c | 103 > > +++

Re: [PATCH v3 2/8] MIPS: ranchu: Add Goldfish RTC driver (fwd)

2017-07-23 Thread Julia Lawall
Please check line 203; it seems that the tested value is unsigned. julia -- Forwarded message -- Date: Mon, 24 Jul 2017 11:40:38 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: Re: [PATCH v3 2/8] MIPS: ranchu: Add Goldfish RTC driver Hi Miodrag, [auto

Re: [Patch v5 06/12] [media] v4l2-ioctl: add HEVC format description

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:07 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > HEVC is a video coding format > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/v4l2-core/v4l2-ioctl.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/med

Re: [Patch v5 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:07 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > include/uapi/linux/videodev2.h | 1 + > > 1 file changed, 1 ins

Re: [PATCH] soc/samsung: use kbasename instead of open coding

2017-07-23 Thread Krzysztof Kozlowski
On Tue, Jul 18, 2017 at 04:43:30PM -0500, Rob Herring wrote: > In preparation to not store the full path of nodes in full_name, use > kbasename instead as it will work either with the full path or not. > > Signed-off-by: Rob Herring > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: Javier Martin

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-23 Thread Paul E. McKenney
On Mon, Jul 24, 2017 at 09:04:57AM +0900, Akira Yokosawa wrote: > On 2017/07/23 23:39:36 +0800, Boqun Feng wrote: > > On Sat, Jul 22, 2017 at 09:43:00PM -0700, Paul E. McKenney wrote: > > [...] > >>> Your priority seemed to be in reducing the chance of the "if" statement > >>> to be optimized away.

[PATCH v3 1/2] x86/amd: Refactor topology extension related code

2017-07-23 Thread Suravee Suthikulpanit
Refactoring in preparation for subsequent changes. There is no functional change. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kernel/cpu/amd.c | 77 ++- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/a

[PATCH v3 2/2] x86/amd: Fixup cpu_core_id for family17h downcore configuration

2017-07-23 Thread Suravee Suthikulpanit
For family17h, current cpu_core_id is directly taken from the value CPUID_Fn801E_EBX[7:0] (CoreId), which is the physical ID of the core within a die. However, on system with downcore configuration (where not all physical cores within a die are available), this could result in the case where cp

[PATCH v3 0/2] x86/amd: Refactor and fixup family17h cpu_core_id

2017-07-23 Thread Suravee Suthikulpanit
Changes from V2 (https://lkml.org/lkml/2017/7/21/730) * In patch 1/2 * Fix kbuild error for the __get_topoext() due to #ifdef CONFIG_SMP. * Do not move node_id declaration in the refactored function. Changes from V1 (https://lkml.org/lkml/2017/7/20/180) * Refactor topology extension lo

Re: [linux-sunxi] [PATCH 09/10] ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > Orange Pi Zero board has a SY8113B regulator, which is controlled via > GPIO and capable of outputing 1.1V when the PL6 GPIO is set to output 0 > or 1.3V when the PL6 GPIO is set to input or output 1, and the output is > the power supply of t

Re: [PATCH 2/3] usb: xhci: Add DbC support in xHCI driver

2017-07-23 Thread Lu Baolu
Hi Felipe, On 07/21/2017 06:31 PM, Felipe Balbi wrote: > Hi, > > Lu Baolu writes: >> +static void xhci_dbc_stop(struct xhci_hcd *xhci) >> +{ >> +struct xhci_dbc *dbc = xhci->dbc; >> + >> +WARN_ON(!dbc); >> + >> +cancel_delayed_work_sync(&dbc->event_work); >> + >> +if (dbc-

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-23 Thread Anup Patel
Hi Jassi, Sorry for the delayed response... On Fri, Jul 21, 2017 at 9:16 PM, Jassi Brar wrote: > Hi Anup, > > On Fri, Jul 21, 2017 at 12:25 PM, Anup Patel wrote: >> The Broadcom FlexRM ring (i.e. mailbox channel) can handle >> larger number of messages queued in one FlexRM ring hence >> this pa

[PATCH v2] qe: fix compile issue for arm64

2017-07-23 Thread Zhao Qiang
Signed-off-by: Zhao Qiang --- Changes for v2: - include all Errata QE_General4 in #ifdef drivers/soc/fsl/qe/qe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 2ef6fc6..4ac9ce8 100644 --- a/drivers/soc/fsl/qe/qe.c +++ b/drive

[PATCH] usb: dwc2: skip L2 state of hcd if work in device mode

2017-07-23 Thread Meng Dongyang
The gadget may fail to enqueue request if the controller has enter L2 state. This patch prevent enter L2 state in hcd driver if the controller works in device mode. Meng Dongyang (1): usb: dwc2: skip L2 state of hcd if controller work in device mode drivers/usb/dwc2/hcd.c | 6 ++ 1 file ch

[PATCH] usb: dwc2: skip L2 state of hcd if controller work in device mode

2017-07-23 Thread Meng Dongyang
In the case hcd autosuspend is enabled, the hcd will enter L2 state if no device connected. But if the controller works in otg mode, the gadget driver still works in L0 state if connected with host. This may result in transfer fail when gadget enqueue new request but the hcd driver has set the glob

Re: [PATCH RFC] mm: allow isolation for pages not inserted into lru lists yet

2017-07-23 Thread Minchan Kim
Hi, On Tue, Jul 18, 2017 at 07:00:23PM +0300, Konstantin Khlebnikov wrote: > Pages are added into lru lists via per-cpu page vectors in order > to combine these insertions and reduce lru lock contention. > > These pending pages cannot be isolated and moved into another lru. > This breaks in some

Re: [lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct

2017-07-23 Thread Kees Cook
Is 14afee4b6092f ("net: convert sock.sk_wmem_alloc from atomic_t to refcount_t") correct? That looks like a statistics counter, not a refcounter? I can't quite tell, though... I think this WARN is from: WARN_ON(refcount_read(&sk->sk_wmem_alloc)); -Kees On Sun, Jul 23, 2017 at 7:13 PM, kernel te

Re: [PATCH v2] perf report: Make --branch-history work without callgraphs(-g) option in perf record

2017-07-23 Thread Jin, Yao
Hi Arnaldo, Is this patch OK for merging? It's more than 2 months no more comments. Thanks Jin Yao On 5/8/2017 6:43 PM, Jin Yao wrote: perf record -b -g perf report --branch-history This merges the LBRs with the callgraphs. However it would be nice if it also works without callgraphs (-g)

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread icenowy
在 2017-07-24 11:33,Chen-Yu Tsai 写道: On Mon, Jul 24, 2017 at 11:18 AM, wrote: 在 2017-07-24 11:03,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: From: Ondrej Jirman SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread Chen-Yu Tsai
On Mon, Jul 24, 2017 at 11:18 AM, wrote: > 在 2017-07-24 11:03,Chen-Yu Tsai 写道: >> >> On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: >>> >>> From: Ondrej Jirman >>> >>> SY8106A is an I2C attached single output regulator made by Silergy Corp, >>> which is used on several Allwinner H3/H5 SB

Re: [PATCH] qe: fix compile issue for arm64

2017-07-23 Thread Scott Wood
On Mon, 2017-07-24 at 02:09 +, Qiang Zhao wrote: > On Fri, 2017-07-21 at 02:34PM, Michael Ellerman wrote: > > > -Original Message- > > From: Michael Ellerman [mailto:m...@ellerman.id.au] > > Sent: Friday, July 21, 2017 2:34 PM > > To: Qiang Zhao ; o...@buserror.net > > Cc: valentin.lo

Re: [PATCH v2 1/2] x86/amd: Refactor topology extension related code

2017-07-23 Thread Suravee Suthikulpanit
Boris, On 7/22/17 23:12, Borislav Petkov wrote: On Fri, Jul 21, 2017 at 09:00:38PM -0500, Suravee Suthikulpanit wrote: Refactoring in preparation for subsequent changes. There is no functional change. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kernel/cpu/amd.c | 79 +++

Re: [PATCH] staging: pi433: fix sparse warning: missing static

2017-07-23 Thread Marcus Wolf
reviewed-by: Marcus Wolf The fixes of this patch are fine, but there are already patches out there, containing these fixes. Thanks, Marcus > David Wittman hat am 24. Juli 2017 um 00:46 geschrieben: > > > A few local functions in the pi433 module were getting flagged by Sparse > for missing dec

Re: [PATCH 1/3] rtc: sun6i: Remove double init of spinlock in sun6i_rtc_clk_init()

2017-07-23 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 6:59 PM, Alexey Klimov wrote: A bit more description would be nice. Maybe a kernel message that prompted this fix? > Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator") > Cc: Maxime Ripard > Cc: Rob Herring > Signed-off-by: Alexey Klimov Otherwise, Review

Re: [PATCH 3/3] rtc: sun6i: Remove unneeded initalization of ret in sun6i_rtc_setalarm()

2017-07-23 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 6:59 PM, Alexey Klimov wrote: A bit more description would be nice. > Signed-off-by: Alexey Klimov Otherwise, Reviewed-by: Chen-Yu Tsai

Re: [PATCH 2/3] rtc: sun6i: fix memleaks and add error-path in sun6i_rtc_clk_init()

2017-07-23 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 6:59 PM, Alexey Klimov wrote: > The memory allocated for rtc and clk_data will never be freed in > sun6i_rtc_clk_init() in case of error and return. This patch adds > required error path with memory freeing. > > Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator"

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread icenowy
在 2017-07-24 11:03,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: From: Ondrej Jirman SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several Allwinner H3/H5 SBCs to control the power supply of the ARM cores. Add a driver fo

[PATCH] perf report: Tag branch type/flag on "to" and tag cycles on "from"

2017-07-23 Thread Jin Yao
Current --branch-history LBR annotation displays confused data. For example, each cycles report is duplicated on both "from" and "to" entries. For example: perf report --branch-history --no-children --stdio --2.32%--main div.c:39 (COND_BWD CROSS_2M predicted:49.7% cycles:1) main div.c:4

Re: [linux-sunxi] [PATCH 06/10] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > The CPUX clock, which is the main clock of the ARM core on Allwinner H3, > can be adjusted by changing the frequency of the PLL_CPUX clock. > > Allowing setting parent clock for the CPUX clock, thus the PLL_CPUX > clock can be adjusted when a

Re: [linux-sunxi] [PATCH 04/10] ARM: sunxi: h3/h5: Add r_i2c I2C controller

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > Allwinner H3/H5 SoCs have an I2C controller at PL GPIO bank. > > Add support for it in the device tree. > > Signed-off-by: Ondrej Jirman > [Icenowy: Change to use r_ccu and change pinmux node name] > Signed-off-by: I

Re: [linux-sunxi] [PATCH 03/10] ARM: sunxi: h3/h5: Add r_i2c pinmux node

2017-07-23 Thread icenowy
在 2017-07-24 11:07,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: From: Ondrej Jirman H3/H5 SoCs contain an I2C controller optionally available on the PL0 and PL1 pins. This patch adds pinmux configuration for this controller. Signed-off-by: Ondrej Jirman [Icenowy: c

Re: [linux-sunxi] [PATCH 03/10] ARM: sunxi: h3/h5: Add r_i2c pinmux node

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > H3/H5 SoCs contain an I2C controller optionally available > on the PL0 and PL1 pins. This patch adds pinmux configuration > for this controller. > > Signed-off-by: Ondrej Jirman > [Icenowy: change commit message and

Re: [linux-sunxi] [PATCH 01/10] dt-bindings: add binding for the SY8160A voltage regulator

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > SY8106A is an I2C-controlled adjustable voltage regulator made by > Silergy Corp. > > Add its device tree binding. > > Signed-off-by: Ondrej Jirman > [Icenowy: Change commit message] > Signed-off-by: Icenowy Zheng >

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > SY8106A is an I2C attached single output regulator made by Silergy Corp, > which is used on several Allwinner H3/H5 SBCs to control the power > supply of the ARM cores. > > Add a driver for it. > > Signed-off-by: Ondr

Re: [PATCH -mm -v2 00/12] mm, THP, swap: Delay splitting THP after swapped out

2017-07-23 Thread Ming Lei
On Mon, Jul 24, 2017 at 08:57:48AM +0800, Huang, Ying wrote: > Andrew Morton writes: > > > On Fri, 23 Jun 2017 15:12:51 +0800 "Huang, Ying" > > wrote: > > > >> From: Huang Ying > >> > >> Hi, Andrew, could you help me to check whether the overall design is > >> reasonable? > >> > >> Hi, Johan

[PATCH V3 3/3] iommu/rockchip: ignore isp mmu reset operation

2017-07-23 Thread Simon Xue
ISP mmu can't support reset operation, it won't get the expected result when reset, but rest functions work normally. Add this patch as a WA for this issue. Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk drivers/iommu/rockch

[PATCH V3 1/3] Docs: dt: rockchip: add rockchip,disable-mmu-reset property

2017-07-23 Thread Simon Xue
Add rockchip,disable-mmu-reset property to disable some mmu reset operation Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk Documentation/devicetree/bindings/iommu/rockchip,iommu.txt | 5 + 1 file changed, 5 insertions(+)

[PATCH V3 2/3] iommu/rockchip: add multi irqs support

2017-07-23 Thread Simon Xue
RK3368 vpu mmu have two irqs, this patch support multi irqs Signed-off-by: Simon Xue --- changes since V2: use platform_irq_count to get irq nums drivers/iommu/rockchip-iommu.c | 35 ++- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/drivers/iommu

[PATCH V3 4/4] ARM64: dts: rockchip: rk3399 add iommu nodes

2017-07-23 Thread Simon Xue
Add VPU/VDEC/IEP/VOPL/VOPB/ISP0/ISP1 iommu nodes Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk arch/arm64/boot/dts/rockchip/rk3399.dtsi | 65 1 file changed, 65 insertions(+) diff --git a/a

[PATCH V3 2/4] ARM: dts: rockchip: rk322x add iommu nodes

2017-07-23 Thread Simon Xue
Add VPU/VDEC/VOP/IEP iommu nodes Signed-off-by: Simon Xue --- changes since V2: - none arch/arm/boot/dts/rk322x.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index f3e4ffd..36f7c4b 10

[PATCH V3 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-23 Thread Simon Xue
Add H265e/VEPU/VPU/VDEC/VOP iommu nodes Signed-off-by: Simon Xue --- changes since V2: - none arch/arm64/boot/dts/rockchip/rk3328.dtsi | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/

[PATCH V3 3/4] ARM64: dts: rockchip: rk3368 add iommu nodes

2017-07-23 Thread Simon Xue
Add IEP/ISP/VOP/HEVC/VPU iommu nodes Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk arch/arm64/boot/dts/rockchip/rk3368.dtsi | 49 1 file changed, 49 insertions(+) diff --git a/arch/arm64/bo

[lkp-robot] [mdio_bus] 95b80bf3db: WARNING:at_include/linux/gpio/consumer.h:#mdiobus_unregister

2017-07-23 Thread kernel test robot
FYI, we noticed the following commit: commit: 95b80bf3db03c2bf572a357cf74b9a6aefef0a4a ("mdio_bus: Remove unneeded gpiod NULL check") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M caused

RE: [PATCH] Staging : unisys : visorbus : visorbus_main: Fixed a brace cdoing style issue

2017-07-23 Thread Kershner, David A
> -Original Message- > From: Himanshu Jha [mailto:himanshujha199...@gmail.com] > Subject: [PATCH] Staging : unisys : visorbus : visorbus_main: Fixed a brace > cdoing style issue > > Fixed coding style issue for function declaration. > This doesn't apply to Greg's branch, fix was already

Re: [PATCH v3 2/8] MIPS: ranchu: Add Goldfish RTC driver

2017-07-23 Thread kbuild test robot
Hi Miodrag, [auto build test ERROR on linus/master] [also build test ERROR on next-20170721] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Aleksandar-Markovic/MIPS-Add-virtual-Ranchu-board-as-a

Re: [PATCH 2/2] mm/swap: Remove lock_initialized flag from swap_slots_cache

2017-07-23 Thread Huang, Ying
Hi, Tim, Tim Chen writes: > We will only reach the lock initialization code > in alloc_swap_slot_cache when the cpu's swap_slots_cache's slots > have not been allocated and swap_slots_cache has not been initialized > previously. So the lock_initialized check is redundant and unnecessary. > Remo

[lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct

2017-07-23 Thread kernel test robot
FYI, we noticed the following commit: commit: b631e535c61d7ddbb7ebac545f729ca9b3b6d70e ("x86/refcount: Implement fast refcount overflow protection") https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git kspp/fast-refcount/ud/v6 in testcase: boot on test machine: qemu-system-x86_64 -enab

[PATCH] regulator: pwm-regulator: Remove unneeded gpiod NULL check

2017-07-23 Thread Fabio Estevam
From: Fabio Estevam The gpiod API checks for NULL descriptors, so there is no need to duplicate the check in the driver. Signed-off-by: Fabio Estevam --- drivers/regulator/pwm-regulator.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/pwm-regulator.

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

2017-07-23 Thread Stephen Rothwell
Hi all, On Mon, 24 Jul 2017 12:06:05 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the drm tree got a conflict in: > > MAINTAINERS > > between commit: > > 82abbea734d6 ("MAINTAINERS: fix alphabetical ordering") > > from Linus' tree and commit: > > 3589211e9b03 ("drm/ti

[lkp-robot] [mm/vmalloc] dec0553d31: WARNING:at_mm/vmalloc.c:#vmap_page_range_noflush

2017-07-23 Thread kernel test robot
FYI, we noticed the following commit: commit: dec0553d3100b4b624dbbc2e5bf1d7df8d70b09f ("mm/vmalloc: terminate searching since one node found") url: https://github.com/0day-ci/linux/commits/Zhaoyang-Huang/mm-vmalloc-terminate-searching-since-one-node-found/20170721-235704 in testcase: boot o

RE: [PATCH] qe: fix compile issue for arm64

2017-07-23 Thread Qiang Zhao
On Fri, 2017-07-21 at 02:34PM, Michael Ellerman wrote: > -Original Message- > From: Michael Ellerman [mailto:m...@ellerman.id.au] > Sent: Friday, July 21, 2017 2:34 PM > To: Qiang Zhao ; o...@buserror.net > Cc: valentin.longch...@keymile.com; linuxppc-...@lists.ozlabs.org; linux- > ker...

Re: [PATCH V2] pci: quirk: Apply APM ACS quirk to XGene devices

2017-07-23 Thread Alex Williamson
On Fri, 21 Jul 2017 13:20:18 -0700 Feng Kan wrote: > On Thu, Jul 20, 2017 at 3:22 PM, Alex Williamson > wrote: > > On Wed, 19 Jul 2017 17:46:51 -0700 > > Feng Kan wrote: > > > >> The APM X-Gene PCIe root port does not support ACS at this point. > >> However, the hw provides isolation and sour

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

2017-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: MAINTAINERS between commit: 82abbea734d6 ("MAINTAINERS: fix alphabetical ordering") from Linus' tree and commit: 3589211e9b03 ("drm/tinydrm: Add RePaper e-ink driver") from the drm tree. I fixed it up (see below) and

Re: [PATCH 2/2] printk/console: Enhance the check for consoles using init memory

2017-07-23 Thread Sergey Senozhatsky
Hello, On (07/21/17 16:32), Petr Mladek wrote: [..] > > sort of a problem here is that the next time anyone adds a new ->foo() > > callback to struct console, that person also needs to remember to update > > printk_late_init(). > > I am not super happy with this as well. Any hint how to do it bet

Re: [PATCH] [RESEND] drm/rockchip: fix Kconfig dependencies

2017-07-23 Thread Mark yao
On 2017年07月22日 05:12, Arnd Bergmann wrote: A bug that I had fixed earlier just came back, with CONFIG_EXTCON=m, the rockchip drm driver will fail to link: drivers/gpu/drm/rockchip/cdn-dp-core.o: In function `cdn_dp_get_port_lanes': cdn-dp-core.c:(.text.cdn_dp_get_port_lanes+0x30): undefined refe

Re: [PATCH v3 3/9] perf annotate: Fix wrong --show-total-period option showing number of samples

2017-07-23 Thread Taeung Song
Hi Arnaldo, Sorry, I'm too late. On 07/21/2017 08:24 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 21, 2017 at 06:41:29PM +0900, Taeung Song escreveu: On 07/21/2017 04:19 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Jul 20, 2017 at 06:36:55AM +0900, Taeung Song escreveu: Currently the --sho

linux-next: build warning after merge of the l2-mtd tree

2017-07-23 Thread Stephen Rothwell
Hi Brian, After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/mtd/mtdswap.c: In function 'mtdswap_add_debugfs': drivers/mtd/mtdswap.c:1317:17: warning: unused variable 'dev' [-Wunused-variable] struct device *dev = disk_to_dev(gd);

Re: Linux 4.13-rc2

2017-07-23 Thread Linus Torvalds
On Sun, Jul 23, 2017 at 4:48 PM, Linus Torvalds wrote: > Things are chugging along, and we actually had a reasonably active rc2. .. and Konstantin just noticed that I had forgotten to push out the actual tag, so the scripts that generate the diffs and tar-balls didn't run. So the git trees conta

Re: [PATCH] ceph: kernel client startsync can be removed

2017-07-23 Thread Yan, Zheng
> On 21 Jul 2017, at 17:20, Yanhu Cao wrote: > > kernel client is still sending write,startsync. > that startsync is a no-op (has been for years) and can probably be removed > > Link: http://tracker.ceph.com/issues/20604 > > Signed-off-by: Yanhu Cao > --- > fs/ceph/addr.c | 9 ++--

Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

2017-07-23 Thread Joe Perches
On Sun, 2017-07-23 at 16:14 -0700, Linus Torvalds wrote: > On Sun, Jul 23, 2017 at 1:00 PM, Linus Torvalds > wrote: > > > > Anyway, clearly my script showed something. I think my script is still > > doing the right thing, it's just that the input is questionable. > > I added a few actual checks

[PATCH 3/3][resend] omapfb: use of_graph_get_remote_endpoint()

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++- 1 file changed,

  1   2   3   >