Re: [PATCH RESEND] perf tools: bug fix, an error of parsing 'man..*' config variable.

2016-01-07 Thread Namhyung Kim
Hi Taeung, On Thu, Jan 07, 2016 at 01:00:51PM +0900, Taeung Song wrote: > To add new man viewer, configs like 'man..cmd', > 'man..path' can be set into config file (~/.perfconfig). > But parsing config file is stopped because the config variable > contains '.' character i.e. > > If setting

Re: [PATCH RESEND] perf config: Rename 'colors.code' to 'colors.jump_arrows'

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 03:48:10PM +0900, Taeung Song wrote: > Suggest 'jump_arrows' config name instead of 'code' > on 'colors' section. 'colors.code' config is only for > jump arrows on assembly code listings i.e. > > │ ┌──jmp1333 > │ │ xchg %ax,%ax > │ │ mov

Re: [PATCH v2 0/8] i2c mux cleanup and locking update

2016-01-07 Thread Peter Rosin
Hi Antti, On 2016-01-06 18:17, Antti Palosaari wrote: > On 01/05/2016 05:57 PM, Peter Rosin wrote: >> From: Peter Rosin >> >> Hi! >> >> I have a pair of boards with this i2c topology: >> >> GPIO ---| -- BAT1 >> | v / >>

Re: [PATCH 2/2] oom reaper: handle anonymous mlocked pages

2016-01-07 Thread Michal Hocko
On Wed 06-01-16 16:42:55, Michal Hocko wrote: > Anonymous mappings > are not visible by any other process so doing a munlock before unmap > is safe to do from the semantic point of view. I was too conservative here. I have completely forgoten about the lazy mlock handling during try_to_unmap

[PATCH v5 2/5] platform:x86: Add Intel telemetry platform driver

2016-01-07 Thread Souvik Kumar Chakravarty
Telemetry platform driver implements the telemetry interfaces. Currently it supports ApolloLake. It uses the PUNIT and PMC IPC interfaces to configure the telemetry samples to read. The samples are read from a Secure SRAM region. Signed-off-by: Souvik Kumar Chakravarty

[RFC PATCH v2 1/4] drm: dw-hdmi: make it easy to recovery the platform data for platform driver

2016-01-07 Thread Yakir Yang
Signed-off-by: Yakir Yang --- Changes in v2: None drivers/gpu/drm/imx/dw_hdmi-imx.c | 7 --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c

[PATCH 05/13] perf tools libdw: Check for mmaps also in MAP__VARIABLE tree

2016-01-07 Thread Jiri Olsa
We've seen cases (softice) where DWARF unwinder went through non executable mmaps, which we need to lookup in MAP__VARIABLE tree. Reported-by: Noel Grandin Tested-by: Noel Grandin Link:

[PATCH 02/13] perf tools: Make perf_evlist__open() open evsels with their cpus and threads (like perf record does)

2016-01-07 Thread Jiri Olsa
From: Adrian Hunter 'perf record' uses perf_evsel__open() to open events and passes the evsel->cpus and evsel->threads. Many tests and some tools instead use perf_evlist__open() which passes instead evlist->cpus and evlist->threads. Make perf_evlist__open() follow the

Re: [PATCH 3/6] ACPI: add 2 parameters to function acpi dma controller register

2016-01-07 Thread Mika Westerberg
On Wed, Jan 06, 2016 at 06:46:37AM +, Wang, Annie wrote: > Acpi_dma_xlate mainly converts an acpi_dma structure into a dma_chan > structure. > Without proper request line, wrong acpi_dma structure may be get. > > And as Andy says in http://article.gmane.org/gmane.linux.kernel.iommu/11675

[PATCH v2 1/2] drm: rockchip/hdmi: add Innosilicon HDMI support

2016-01-07 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v2: - Using DRM atomic helper functions for connector init (Mark) - Remove "hdmi->connector.encoder

[patch] regulator: core: remove some dead code

2016-01-07 Thread Dan Carpenter
Originally queue_delayed_work() used to negative error codes or 0 and 1 on success depending if the work was queued or not. It caused a lot of bugs where people treated all non-zero returns as failures so we changed it to return bool instead in d4283e937861 ('workqueue: make queueing functions

Re: [RFC PATCH v2 3/4] drm: rockchip: hdmi: add RK3229 HDMI support

2016-01-07 Thread Philipp Zabel
Am Donnerstag, den 07.01.2016, 17:02 +0800 schrieb Yakir Yang: > RK3229 integrate an DesignedWare HDMI2.0 controller and an INNO HDMI2.0 phy, > the max output resolution is 4K. > > Signed-off-by: Yakir Yang It sounds like the INNO HDMI2.0 phy is not necessarily specific to

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

2016-01-07 Thread Nicholas A. Bellinger
On Thu, 2016-01-07 at 16:42 +1100, Stephen Rothwell wrote: > Hi Nicholas, > > Today's linux-next merge of the target-updates tree got conflicts in: > > drivers/infiniband/ulp/iser/iscsi_iser.h > drivers/infiniband/ulp/iser/iser_initiator.c > drivers/infiniband/ulp/iser/iser_memory.c >

Re: [PATCH v2 04/12] clk: rockchip: rk3036: enable the CLK_IGNORE_UNUSED flag for sclk_i2s_out

2016-01-07 Thread Heiko Stuebner
Hi Caesar, Am Donnerstag, 7. Januar 2016, 16:25:47 schrieb Caesar Wang: > SCLk_I2S_OUT is the noc bus clock for i2s module, this clock is used by > extra codecs. > > Due to it shouldn't belong to any driver, but we need it enabled, > so just mark it as the CLK_IGNORE_UNUSED flag. What makes you

Re: [PATCH v3 0/3] clocksource/vt8500: Fix hangs in small delays

2016-01-07 Thread Daniel Lezcano
On 01/06/2016 04:30 PM, Roman Volkov wrote: В Wed, 6 Jan 2016 15:24:07 +0100 Daniel Lezcano пишет: On 01/01/2016 02:24 PM, Roman Volkov wrote: From: Roman Volkov vt8500 hangs in nanosleep() function, starting from commit

Re: [RFC/PATCH v2] perf report: Show random usage tip on the help line

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 09:09:59AM +0100, Jiri Olsa wrote: > On Thu, Jan 07, 2016 at 09:07:17AM +0100, Jiri Olsa wrote: > > On Thu, Jan 07, 2016 at 04:46:22PM +0900, Namhyung Kim wrote: > > > > SNIP > > > > > > > > struct callchain_param callchain_param = { > > > .mode =

Re: [RFC/PATCH v2] perf report: Show random usage tip on the help line

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 09:07:17AM +0100, Jiri Olsa wrote: > On Thu, Jan 07, 2016 at 04:46:22PM +0900, Namhyung Kim wrote: > > SNIP > > > > > struct callchain_param callchain_param = { > > .mode = CHAIN_GRAPH_ABS, > > @@ -663,3 +665,28 @@ fetch_kernel_version(unsigned int *puint,

Re: [lkp] [mm/vmstat] 6cdb18ad98: -8.5% will-it-scale.per_thread_ops

2016-01-07 Thread Heiko Carstens
On Wed, Jan 06, 2016 at 11:20:55AM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 6cdb18ad98a49f7e9b95d538a0614cde827404b8 ("mm/vmstat: fix overflow in > mod_zone_page_state()") > > >

Re: [BUG] skb corruption and kernel panic at forwarding with fragmentation

2016-01-07 Thread Konstantin Khlebnikov
On Thu, Jan 7, 2016 at 2:00 PM, Konstantin Khlebnikov wrote: > On Thu, Jan 7, 2016 at 2:49 AM, Florian Westphal wrote: >> Florian Westphal wrote: >>> Thadeu Lima de Souza Cascardo wrote: >>> > On Wed, Jan 06, 2016 at

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-01-07 Thread Baolin Wang
On 7 January 2016 at 19:25, Alex Shi wrote: > Hi, Baolin, > > There is similar gadget/charger driver on QC msm tree, > git://codeaurora.org/quic/la/kernel/msm-3.10 msm-3.10 > You may check that as a reference. > OK. Thanks. -- Baolin.wang Best Regards -- To unsubscribe

[PATCH 2/2] lightnvm: manage open and closed blocks separately

2016-01-07 Thread Javier González
LightNVM targets need to know the state of the flash block when doing flash optimizations. An example is implementing a write buffer to respect the flash page size. Currently, block state is not accounted for; the media manager only differentiates among free, bad and in-use blocks. This patch

Re: [PATCH 5/6] iommu/amd: Add support for non-pci devices

2016-01-07 Thread Joerg Roedel
On Tue, Jan 05, 2016 at 05:07:23AM -0500, Wan Zongshun wrote: > -static inline u16 get_device_id(struct device *dev) > +static inline int match_hid_uid(struct device *dev, > + struct acpihid_map_entry *entry) > +{ > + const char *hid, *uid; > + > + hid =

[PATCH 1/2] lightnvm: let rrpc block know its rrpc lun

2016-01-07 Thread Javier González
Currently a rrpc block only points to the nvm_lun it belongs to. Maintaining a reference to the rrpc lun allows to manage rrpc specific behavior between an rrpc block and rrpc lun. Signed-off-by: Javier González --- drivers/lightnvm/rrpc.c | 1 + drivers/lightnvm/rrpc.h | 1

Re: [BUG] skb corruption and kernel panic at forwarding with fragmentation

2016-01-07 Thread Konstantin Khlebnikov
On Thu, Jan 7, 2016 at 2:59 PM, Eric Dumazet wrote: > On Thu, Jan 7, 2016 at 6:38 AM, Konstantin Khlebnikov > wrote: >> >> Also I've found strange thing: reason of expanding skb->cb from 40 to >> 48 bypes in 2006 >> 3e3850e989c5d2eb1aab6f0fd9257759f0f4cbc6

Re: [PATCH v7 1/3] x86: Add classes to exception tables

2016-01-07 Thread Borislav Petkov
On Wed, Jan 06, 2016 at 08:42:22PM +0100, Borislav Petkov wrote: > On Wed, Jan 06, 2016 at 10:07:19AM -0800, Andy Lutomirski wrote: > > Agreed. I just think that your current fixup_ex_handler > > implementation needs adjustment if you do it that way. > > Right, and as you just mentioned on IRC,

[PATCH 2/2] ARM: dts: mt2701: enable basic SMP bringup for mt2701

2016-01-07 Thread Louis Yu
Add enable method to support SMP. Signed-off-by: Louis Yu --- arch/arm/boot/dts/mt2701.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 69f240f..1d72d82 100644 ---

Re: [PATCH] mm/hugetlbfs: Unmap pages if page fault raced with hole punch

2016-01-07 Thread Hillf Danton
> > Page faults can race with fallocate hole punch. If a page fault happens > between the unmap and remove operations, the page is not removed and > remains within the hole. This is not the desired behavior. The race > is difficult to detect in user level code as even in the non-race > case, a

Re: [RFC/PATCH v2] perf report: Show random usage tip on the help line

2016-01-07 Thread Jiri Olsa
On Thu, Jan 07, 2016 at 04:46:22PM +0900, Namhyung Kim wrote: SNIP > > struct callchain_param callchain_param = { > .mode = CHAIN_GRAPH_ABS, > @@ -663,3 +665,28 @@ fetch_kernel_version(unsigned int *puint, char *str, > *puint = (version << 16) + (patchlevel << 8) +

Re: [PATCH 5/8] perf mem: report physical addresses

2016-01-07 Thread Jiri Olsa
On Wed, Jan 06, 2016 at 06:04:34AM -0500, kan.li...@intel.com wrote: > From: Kan Liang > > perf mem report should support physical addresses by applying -p or > --phys-data. The default mem sort order for physical addresses is added > accordingly. > > Signed-off-by: Kan

[PATCH v2 10/12] ARM: dts: rockchip: add the sdmmc for kylin board

2016-01-07 Thread Caesar Wang
We should add the sdmmc but enabling it, since the sdmmc and uart2 ie reusing the same pin. That will cause the debug information can't display on console. Anyway, you only need add the okay status if someone wants to enable the sdmmc. e.g. if you use the adb to debug and run with android os.

[PATCH v2 09/12] ARM: dts: rockchip: enable the uart0 for kylin board

2016-01-07 Thread Caesar Wang
This patch is enabling the uart0 for bluetooth module. Signed-off-by: Caesar Wang --- Changes in v2: - Add the uart0 commit content. arch/arm/boot/dts/rk3036-kylin.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts

[PATCH v2 08/12] ARM: dts: rockchip: add the wifi/bt regulator for kylin board

2016-01-07 Thread Caesar Wang
This patch adds the wifi/bt regulator for simple mmc sequence. Also, add the exteral clock and reset gpios for simple mmmc sequence on kylin board. Without this the wifi/bluetooth module doesn't work properly at bootup. Signed-off-by: Caesar Wang --- Changes in v2: - As

[PATCH v2 05/12] mmc: pwrseq: Document optional exteral vcc for the simple power sequence

2016-01-07 Thread Caesar Wang
This patch adds the exteral vcc optional for the simple power sequence. Some WLAN chips attached to a SDIO interface, need an external vcc to be operational. Since this is very common, extend the simple MMC power sequence DT binding to support an optional exteral vcc. Signed-off-by: Caesar Wang

[PATCH v2 02/12] ARM: dts: rockchip: add the sound codec for kylin board

2016-01-07 Thread Caesar Wang
Support the rt5616 codec for kylin board, but we need enable the i2s firstly. Also, this patch adds the CPU/CODEC information for simple card to make the happy work. Signed-off-by: Caesar Wang --- Changes in v2: - fix the mclk-fs as the 256.

[PATCH v2 06/12] mmc: pwrseq: add support for power-on sequencing through DT

2016-01-07 Thread Caesar Wang
This patch enables support for power-on sequencing of SDIO peripherals through DT. In general, it's quite common that wifi modules and other similar peripherals have several signals in addition to the SDIO interface that needs wiggling before the module will power on. For example: we need enable

[PATCH v2 07/12] ARM: dts: rockchip: enable the high speed on sdio for kylin board

2016-01-07 Thread Caesar Wang
We want to the higher speed for wifi module working. Bootup kernel log: ... mmc_host mmc0: Bus speed (slot 0) = 37125000Hz (slot req 3750Hz, actual 37125000HZ div = 0) or run 'cat /sys/kernel/debug/clk/clk_summary |grep phase -C 1' to check Otherwise, the mmc0 will run 400khz defalult value

[PATCH v2 11/12] ARM: dts: rockchip: add the lcdc and hdmi node for rk3036

2016-01-07 Thread Caesar Wang
The rk3036 support two overlay plane and one hwc plane, it support IOMMU, and its IOMMU same as rk3288's. Meanwhile, add the inno hdmi for HDMI display. Signed-off-by: Caesar Wang --- Changes in v2: None arch/arm/boot/dts/rk3036.dtsi | 61

Re: [PATCH v2 00/16] intel-lpss: support non-ACPI platforms

2016-01-07 Thread Mika Westerberg
On Wed, Jan 06, 2016 at 08:19:49AM -0800, Laura Abbott wrote: > I picked up all the patches from the device-properties merge but the > problem still shows up. Are there others I should pick up? Hardware > details about the touchpad are at > https://bugzilla.redhat.com/show_bug.cgi?id=1275718#c34

[PATCH v3 5/5] platform:x86: Makefile/Kconfig/MAINTAINERS changes for Intel Telemetry

2016-01-07 Thread Souvik Kumar Chakravarty
Makefile, Kconfig & MAINTAINERS changes for compiling Telemetry. It depends on PUNIT and PMC IPC drivers. Signed-off-by: Souvik Kumar Chakravarty --- MAINTAINERS |9 + drivers/platform/x86/Kconfig | 11 +++

Re: [RFC 13/15] kernel: time: change inode_timespec to timespec64

2016-01-07 Thread Michael Adam
Hi, the patch contains a conflict resolution artifact.. Cheers - Michael On 2016-01-06 at 21:36 -0800, Deepa Dinamani wrote: > Substitute inode_timespec aliases with timespec64. > Since CONFIG_FS_USES_64BIT_TIME is enabled, internally > all inode_timespec references are using timespec64 >

[PATCH net] r8152: fix the wake event

2016-01-07 Thread Hayes Wang
When the autosuspend is enabled and occurs before system suspend, we should wake the device before running system syspend. Then, we could change the wake event for system suspend. Otherwise, the device would resume the system when receiving any packet. Signed-off-by: Hayes Wang

Re: [v2] mwifiex: correctly handling kzalloc

2016-01-07 Thread Kalle Valo
> Since kzalloc can be failed in memory pressure, > it needs to be handled, otherwise NULL dereference could be happened > > Signed-off-by: Insu Yun Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe

Re: int overflow in io_getevents

2016-01-07 Thread Dmitry Vyukov
On Wed, Jan 6, 2016 at 7:01 PM, Benjamin LaHaise wrote: > On Wed, Dec 16, 2015 at 07:38:33PM +0100, Dmitry Vyukov wrote: >> > Yup, looks correct. Will you send a patch? >> >> I've drafted the verification: >> >> @@ -1269,6 +1269,8 @@ static long read_events(struct kioctx *ctx,

[PATCH net-next] hv_netvsc: don't make assumptions on struct flow_keys layout

2016-01-07 Thread Vitaly Kuznetsov
Recent changes to 'struct flow_keys' (e.g commit d34af823ff40 ("net: Add VLAN ID to flow_keys")) introduced a performance regression in netvsc driver. Is problem is, however, not the above mentioned commit but the fact that netvsc_set_hash() function did some assumptions on the struct flow_keys

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2016-01-07 Thread Santosh Shukla
On Thu, Dec 31, 2015 at 9:11 PM, Alex Williamson wrote: > On Thu, 2015-12-31 at 15:03 +0530, Santosh Shukla wrote: >> On Tue, Dec 29, 2015 at 11:01 PM, Alex Williamson >> wrote: >> > On Tue, 2015-12-29 at 22:00 +0530, Santosh Shukla wrote:

Re: [PATCH v3 04/14] mm, tracing: unify mm flags handling in tracepoints and printk

2016-01-07 Thread Michal Hocko
On Fri 18-12-15 10:03:16, Vlastimil Babka wrote: > In tracepoints, it's possible to print gfp flags in a human-friendly format > through a macro show_gfp_flags(), which defines a translation array and passes > is to __print_flags(). Since the following patch will introduce support for > gfp flags

[PATCH] perf tools: Add missing headers in perf's MANIFEST

2016-01-07 Thread Wang Nan
These losted headers are found in arm64 cross building: failed to build perf using tarball generated using $ make perf-targz-src-pkg Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Namhyung Kim

Re: [PATCH RESEND] kvm:x86:Make sure kvm_write_guest successes for first call in kvm_write_wall_clock

2016-01-07 Thread Paolo Bonzini
On 30/12/2015 19:08, Nicholas Krause wrote: > This makes sure that kvm_write_guest successes for the first call > in order to make sure that the wall clock is successfully written > to the host system before being calucated as required by the > guest system. > > Signed-off-by: Nicholas Krause

[PATCH v2 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2016-01-07 Thread Yakir Yang
Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v2: - Correct the misspell "rk3036-dw-hdmi" (Heiko) .../display/rockchip/inno_hdmi-rockchip.txt| 50 ++ 1 file changed, 50 insertions(+) create mode 100644

Re: [RFC PATCH v2 3/4] drm: rockchip: hdmi: add RK3229 HDMI support

2016-01-07 Thread Yakir Yang
Hi Philipp, Thanks for your fast respond :) On 01/07/2016 06:04 PM, Philipp Zabel wrote: Am Donnerstag, den 07.01.2016, 17:02 +0800 schrieb Yakir Yang: RK3229 integrate an DesignedWare HDMI2.0 controller and an INNO HDMI2.0 phy, the max output resolution is 4K. Signed-off-by: Yakir Yang

Re: [RFC/PATCH v2] perf report: Show random usage tip on the help line

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 09:03:20AM +0100, Jiri Olsa wrote: > On Thu, Jan 07, 2016 at 04:46:22PM +0900, Namhyung Kim wrote: > > SNIP > > > +const char *perf_report_tip(const char *dirname) > > +{ > > + struct strlist *tips; > > + struct str_node *node; > > + char *tip = NULL; > > + struct

Re: [alsa-devel] [PATCH 6/6] [ALSA] portman2x4 - use new parport device model

2016-01-07 Thread Takashi Iwai
On Thu, 07 Jan 2016 11:44:34 +0100, Sudip Mukherjee wrote: > > On Thu, Jan 07, 2016 at 11:26:44AM +0100, Takashi Iwai wrote: > > On Thu, 07 Jan 2016 08:15:51 +0100, > > Sudip Mukherjee wrote: > > > > > > Modify portman driver to use the new parallel port device model. > > > > > > Signed-off-by:

[PATCH] mm,oom: Re-enable OOM killer using timers.

2016-01-07 Thread Tetsuo Handa
>From 2f73abcec47535062d41c04bd7d9068cd71214b0 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Thu, 7 Jan 2016 11:34:41 +0900 Subject: [PATCH] mm,oom: Re-enable OOM killer using timers. This patch introduces two timers ( holdoff timer and victim wait timer)

[PATCH v1 2/8] device property: convert to use match_string() helper

2016-01-07 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko --- drivers/base/property.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/base/property.c

[PATCH v1 7/8] ata: hpt366: convert to use match_string() helper

2016-01-07 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko --- drivers/ata/pata_hpt366.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/ata/pata_hpt366.c

Re: [PATCH 6/6] iommu/amd: Manage iommu_group for non-pci devices

2016-01-07 Thread Joerg Roedel
On Tue, Jan 05, 2016 at 05:07:24AM -0500, Wan Zongshun wrote: > +static struct iommu_group *amd_iommu_device_group(struct device *dev) > +{ > + if (dev_is_pci(dev)) > + return pci_device_group(dev); > + > + return acpihid_device_group(dev); > +} > + > >

[PATCH v2 00/12] Add the family patches to support for kylin board

2016-01-07 Thread Caesar Wang
Hi all, Happy new year! :) Let's go on working for happy. This series patches are based on kernel version 4.4.0-rc8+ (Linux version 4.4.0-rc8+ (wxt@ubuntu)...#142 SMP Thu Jan 7 12:38:40 CST 2016) This series pacthes are verified on the following github:

[PATCH v2 01/12] ARM: dts: rockchip: set the pinctrl default setting for rk3036 i2s

2016-01-07 Thread Caesar Wang
Sometime will hang if you set the i2s pinctrl as the none setting. Let's set the pinctrl as the default setting to enable the gpio up/down. Signed-off-by: Caesar Wang --- Changes in v2: - modify the commit. arch/arm/boot/dts/rk3036.dtsi | 12 ++-- 1 file changed,

[PATCH 10/13] perf tools: Remove list entry from struct sort_entry

2016-01-07 Thread Jiri Olsa
It's no longer needed. Link: http://lkml.kernel.org/n/tip-geutga492nuhc5d8rncw8...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index

Re: [PATCH 1/3] driver-core: platform: Add platform_irq_count()

2016-01-07 Thread Linus Walleij
On Thu, Jan 7, 2016 at 2:12 AM, Stephen Boyd wrote: > A recent patch added calls to of_irq_count() in the qcom pinctrl > drivers and that caused module build failures because > of_irq_count() is not an exported symbol. We shouldn't export > of_irq_count() to modules because

Re: [PATCH 2/3] RTC/PCF85063: fix time/date reading (part II)

2016-01-07 Thread Juergen Borleis
Hi Alexandre, (please keep me on CC...) > [...] > > - /* read registers */ > > - if ((i2c_transfer(client->adapter, msgs, 2)) != 2) { > > - dev_err(>dev, "%s: read error\n", __func__); > > - return -EIO; > > Isn't that already reading the time and date register in one

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

2016-01-07 Thread Michael Ellerman
On Thu, 2016-01-07 at 19:16 +1100, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, today's linux-next build (powerpc64 > allnoconfig) failed like this: > > arch/powerpc/mm/hash_utils_64.c: In function 'get_paca_psize': > arch/powerpc/mm/hash_utils_64.c:869:19: error:

Re: [RFC 13/15] kernel: time: change inode_timespec to timespec64

2016-01-07 Thread Deepa Dinamani
On Thu, Jan 07, 2016 at 09:50:30AM +0100, Michael Adam wrote: > Hi, > > the patch contains a conflict resolution artifact.. > Thanks, I've fixed it in my tree now. I will wait to hear other comments before I send an update. -Deepa -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 06/13] perf record: Store data mmaps for dwarf unwind

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 10:14:03AM +0100, Jiri Olsa wrote: > Currently we don't synthesize data mmap by default. It depends > on -d option, that enables data address sampling. > > But we've seen cases (softice) where DWARF unwinder went through > non executable mmaps, which we need to lookup in

[PATCH] iommu/vt-d: Fix up error handling in alloc_iommu successfully in alloc_iommu

2016-01-07 Thread Joerg Roedel
On Mon, Jan 04, 2016 at 06:27:57PM -0500, Nicholas Krause wrote: > This adds the proper check to alloc_iommu to make sure that the call > to iommu_device_create has completed successfully and if not return > to the caller the error code returned after freeing up resources > allocated previously by

Re: [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 10:14:09AM +0100, Jiri Olsa wrote: > Using perf_hpp__register_sort_field interface > instead of directly adding the entry. > > Link: http://lkml.kernel.org/n/tip-m1vdmvod7vcbdit0ix7bj...@git.kernel.org > Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim

Re: [PATCH 11/13] perf tools: Add overhead/overhead_children keys defaults via string

2016-01-07 Thread Namhyung Kim
On Thu, Jan 07, 2016 at 10:14:08AM +0100, Jiri Olsa wrote: > We currently set 'overhead' and 'overhead_children' > as default sort keys within perf_hpp__init function > by directly adding into the sort list. > > This patch adds 'overhead' and 'overhead_children' > in text form into sort_keys and

Re: [ANNOUNCE] 4.4-rc6-rt1

2016-01-07 Thread Tim Sander
Hi Sebastian Thanks for your christmas present :-). Am Mittwoch, 23. Dezember 2015, 23:57:55 schrieb Sebastian Andrzej Siewior: > Please don't continue reading before christmas eve (or morning, > depending on your schedule). If you don't celebrate christmas, > well go ahead. Ok, i have to admit

Re: [PATCH v2 8/8] i2c-mux: relax locking of the top i2c adapter during i2c controlled muxing

2016-01-07 Thread Peter Rosin
Hi Rob, On 2016-01-06 15:49, Rob Herring wrote: > On Tue, Jan 05, 2016 at 04:57:18PM +0100, Peter Rosin wrote: >> From: Peter Rosin >> >> With a i2c topology like the following >> >>GPIO ---| -- BAT1 >> | v / >>I2C

Re: [PATCH] usb: option.c: Fix Cinterion AHxx enumeration.

2016-01-07 Thread John Ernberg
Hi Johan, Apologies for the late reply, I was out of office. Below is the 'lsusb -v' output for the AH3 modem. For the mailing lists: Please CC me directly, I did not sign up for the mailing lists. Thank you. Best regards // John Ernberg Bus 001 Device 002: ID 1e2d:0055 Device Descriptor:

[RFC PATCH v2 4/4] dt-bindings: add document for rk3229-hdmi

2016-01-07 Thread Yakir Yang
Signed-off-by: Yakir Yang --- Changes in v2: None .../devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt

[patch] MAINTAINERS: fix MIC maintainers entry

2016-01-07 Thread Dan Carpenter
There were some missing colons so we stop parsing the MIC maintainers entry early. It means that: ./scripts/get_maintainer.pl -f drivers/misc/mic/card/mic_virtio.c doesn't work. Signed-off-by: Dan Carpenter diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH net-next 0/2] r8152: code adjustment

2016-01-07 Thread Hayes Wang
Adjust test_bit(), clear_bit(), disable_aldps(), and enable_aldps(). Hayes Wang (2): r8152: use test_and_clear_bit r8152: adjust ALDPS function drivers/net/usb/r8152.c | 92 + 1 file changed, 40 insertions(+), 52 deletions(-) -- 2.4.3 -- To

[PATCH net-next 1/2] r8152: use test_and_clear_bit

2016-01-07 Thread Hayes Wang
Replace test_bit() followed by clear_bit() with test_and_clear_bit(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

[PATCH net-next 2/2] r8152: adjust ALDPS function

2016-01-07 Thread Hayes Wang
Replace disable_aldps() and enable_aldps() with aldps_en(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 72 +++-- 1 file changed, 34 insertions(+), 38 deletions(-) diff --git a/drivers/net/usb/r8152.c

Re: [PATCH] Input: rohm_bu21023 - fix handling of retrying firmware update

2016-01-07 Thread Yuasa Yoichi
Hi Dmitry, Thank you for fixing it. Acked-by:Yoichi Yuasa 2016-01-07 7:51 GMT+09:00 Dmitry Torokhov : > Because of the wrong condition we'd never retry firmware update. > > Signed-off-by: Dmitry Torokhov > --- >

Re: [PATCH 3/3] RTC/PCF85063: fix time/date setting

2016-01-07 Thread Juergen Borleis
Hi Alexandre, sorry, missed your comment. Please keep me on CC since I'm not subscribed to the list. > > When setting a new time/date the RTC's clock must be stopped first, in > > order to write the time/date registers in an atomic manner. > > So, this change stops the clock first and then

[PATCH] net: plip: use new parport device model

2016-01-07 Thread Sudip Mukherjee
Modify plip driver to use the new parallel port device model. Signed-off-by: Sudip Mukherjee --- drivers/net/plip/plip.c | 36 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/drivers/net/plip/plip.c

Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for mt2701

2016-01-07 Thread Linus Walleij
On Mon, Dec 28, 2015 at 8:09 AM, Biao Huang wrote: > Signed-off-by: Biao Huang Patch applied with the ACKs. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH -next] serial: 8250: Fix serial port driver for OF platform devices

2016-01-07 Thread Arnd Bergmann
On Wednesday 06 January 2016 16:23:41 Guenter Roeck wrote: > Commit afd7f88f1577 ("serial: 8250: move of_serial code to 8250 directory") > moved the serial port driver for Open Firmware platform devices from one > directory to another, but a mixup in Kconfig options resulted in the driver > never

Re: [PATCH v3] ARM: fix atags_to_fdt with stack-protector-strong

2016-01-07 Thread Arnd Bergmann
On Wednesday 06 January 2016 15:36:56 Kees Cook wrote: > Building with CONFIG_CC_STACKPROTECTOR_STRONG triggers protection code > generation under CONFIG_ARM_ATAG_DTB_COMPAT but this is too early for > being able to use any of the stack_chk code. Explicitly disable it for > only the atags_to_fdt

[PATCH] rtc: fix rtc_time64_to_tm calculation

2016-01-07 Thread Andrzej Hajda
Type of local variable days has been changed recently to unsigned, but it can take negative values. As a result it works incorrectly for some arguments. The patch fixes it. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[PATCH 1/2] ARM: mediatek: add mt2701 smp bringup code

2016-01-07 Thread Louis Yu
Add support for booting secondary CPUs on mt2701. Signed-off-by: Louis Yu --- arch/arm/mach-mediatek/platsmp.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c index 8141f3f..44a5174 100644 ---

[PATCH v2 3/5] clk: rockchip: rk3036: fix the div offset for emac clock

2016-01-07 Thread Xing Zheng
Due to reference to old version TRM, there are incorrect emac clock node. The SEL_21_9 is used for the parent div, the SEL_21_4 is used for the child div. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3036.c |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] phy: rcar-gen3-usb2: remove HSUSB registers handling

2016-01-07 Thread Yoshihiro Shimoda
Since the related driver (CPG/MSSR driver) only manages the first module clock, this driver should not handle the HSUSB registers. So, this patch removes the HSUSB registers handling. Signed-off-by: Yoshihiro Shimoda --- This patch is based on the linux-phy /

Re: [PATCH] x86: Add an explicit barrier() to clflushopt()

2016-01-07 Thread Chris Wilson
On Mon, Oct 19, 2015 at 10:58:55AM +0100, Chris Wilson wrote: > During testing we observed that the last cacheline was not being flushed > from a > > mb() > for (addr = addr & -clflush_size; addr < end; addr += clflush_size) > clflushopt(); > mb() > > loop (where

[PATCH v3] acpi, apei: add Boot Error Record Table (BERT) support

2016-01-07 Thread fu . wei
From: Huang Ying ACPI/APEI is designed to verifiy/report H/W errors, like Corrected Error(CE) and Uncorrected Error(UC). It contains four tables: HEST, ERST, EINJ and BERT. The first three tables have been merged for a long time, but because of lacking BIOS support for

[PATCH v1 6/8] power: ab8500: convert to use match_string() helper

2016-01-07 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko --- drivers/power/ab8500_btemp.c| 15 +-- drivers/power/ab8500_charger.c | 16 +--- drivers/power/ab8500_fg.c

[PATCH v1 4/8] drm/edid: convert to use match_string() helper

2016-01-07 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/drm_edid_load.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git

[PATCH v1 8/8] ide: hpt366: convert to use match_string() helper

2016-01-07 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko --- drivers/ide/hpt366.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/ide/hpt366.c

[PATCH v1 3/8] pinctrl: convert to use match_string() helper

2016-01-07 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko --- drivers/pinctrl/pinmux.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/pinmux.c

[PATCH v3 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2016-01-07 Thread Henri Roosen
Commit 651df2183543 ("phy: micrel: Fix finding PHY properties in MAC node.") only fixes finding PHY properties in MAC node for KSZ9021. This commit applies the same fix for KSZ9031. Fixes: 8b63ec1837fa ("phylib: Make PHYs children of their MDIO bus, not the bus' parent.") Acked-by: Andrew Lunn

Re: [PATCH] Staging: wlan-ng: p80211conv.c: Coding style fixes General coding style checks have been fixed. Warnings not fixed.

2016-01-07 Thread Dan Carpenter
You're going to have to split this into multiple patches that fix one type of bug at a time. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: iwlegacy: 4965-mac: constify il_sensitivity_ranges structure

2016-01-07 Thread Kalle Valo
> The il_sensitivity_ranges is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > Acked-by: Stanislaw Gruszka Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe

Re: [PATCH v4 4/5] perf tools: Support dynamic sort keys for -F/--fields

2016-01-07 Thread Jiri Olsa
On Thu, Jan 07, 2016 at 09:12:28AM +0900, Namhyung Kim wrote: > Now dynamic sort keys are supported for tracepoint events, add it to > output fields too. should we update the doc as well? thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2016-01-07 Thread Andy Shevchenko
On Wed, 2016-01-06 at 19:36 +0200, Andy Shevchenko wrote: > On Wed, Jan 6, 2016 at 6:26 PM, Måns Rullgård wrote: > > Andy Shevchenko writes: > > > > > On Tue, 2015-12-22 at 00:08 +, Måns Rullgård wrote: > > > > Andy Shevchenko

Re: [PATCH v2 1/2] drm: bridge: sil902x

2016-01-07 Thread Boris Brezillon
Hi Archit, On Thu, 7 Jan 2016 11:12:47 +0530 Archit Taneja wrote: > > > On 01/06/2016 05:55 PM, Boris Brezillon wrote: > > Add basic support for the sil902x RGB -> HDMI bridge. > > This driver does not support audio output yet. > > > > Signed-off-by: Boris Brezillon

Re: [patch] MAINTAINERS: fix MIC maintainers entry

2016-01-07 Thread Joe Perches
On Thu, 2016-01-07 at 12:43 +0300, Dan Carpenter wrote: > I wrote some bash to find problems in MAINTAINERS.  I'm not sure what to > do with it. > > # Grep for missing colons > for i in $(cut -b 1-2 MAINTAINERS | grep : | sort | uniq | cut -b 1) ; do > egrep "^$i[  ]" MAINTAINERS > done

Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701

2016-01-07 Thread Linus Walleij
On Thu, Dec 31, 2015 at 12:23 PM, Matthias Brugger wrote: > On 28/12/15 08:09, Biao Huang wrote: >> >> Add pinctrl and GPIO node to mt2701.dtsi >> >> Signed-off-by: Biao Huang >> Acked-by: Linus Walleij >> --- >>

Re: [PATCH v3 12/14] mm, page_owner: track and print last migrate reason

2016-01-07 Thread Michal Hocko
On Fri 18-12-15 10:03:24, Vlastimil Babka wrote: > During migration, page_owner info is now copied with the rest of the page, so > the stacktrace leading to free page allocation during migration is > overwritten. > For debugging purposes, it might be however useful to know that the page has >

  1   2   3   4   5   >