linux-next: manual merge of the drm-misc tree with the drm-intel-fixes tree

2015-11-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/intel_display.c between commit: 76dc3769d7c3 ("drm/i915: Don't clobber the addfb2 ioctl params") from the drm-intel-fixes tree and commit: 528344410b5c ("drm: Pass the user drm_mode_fb_cmd2 as

Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init

2015-11-17 Thread Krzysztof Kozlowski
On 17.11.2015 18:01, Arnd Bergmann wrote: > On Tuesday 17 November 2015 10:57:48 Krzysztof Kozlowski wrote: >> On 17.11.2015 07:17, Arnd Bergmann wrote: >>> On Monday 16 November 2015 23:36:42 Rafael J. Wysocki wrote: This should go in through the Samsung tree, so I'll leave it for them t

Re: [PATCH v11 07/24] perf config: Document variables for 'help' section in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:27PM +0900, Taeung Song wrote: > Explain 'help.format' and 'help.autocorrect' variables. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 21 + > 1 file changed, 21 insertions(

Re: [PATCH 2/5] PCI: iproc: Add PAXC interface support

2015-11-17 Thread Ray Jui
On 11/17/2015 4:34 PM, Florian Fainelli wrote: On 17/11/15 16:31, Ray Jui wrote: Traditionally, all iProc PCIe root complexes use PAXB based wrapper, with an integrated on-chip Serdes to support external endpoint devices. On newer iProc platforms, a PAXC based wrapper is introduced, for connec

Re: [PATCH 2/5] PCI: iproc: Add PAXC interface support

2015-11-17 Thread Florian Fainelli
On 17/11/15 16:46, Ray Jui wrote: > > > On 11/17/2015 4:34 PM, Florian Fainelli wrote: >> On 17/11/15 16:31, Ray Jui wrote: >>> Traditionally, all iProc PCIe root complexes use PAXB based wrapper, >>> with an integrated on-chip Serdes to support external endpoint devices. >>> On newer iProc platf

Re: [PATCH 2/5] PCI: iproc: Add PAXC interface support

2015-11-17 Thread Ray Jui
On 11/17/2015 4:45 PM, Florian Fainelli wrote: On 17/11/15 16:46, Ray Jui wrote: On 11/17/2015 4:34 PM, Florian Fainelli wrote: On 17/11/15 16:31, Ray Jui wrote: Traditionally, all iProc PCIe root complexes use PAXB based wrapper, with an integrated on-chip Serdes to support external endpo

Re: [PATCH v11 08/24] perf config: Document 'hist.percentage' variable in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:28PM +0900, Taeung Song wrote: > Explain 'hist.percentage' variable. > > Cc: Jiri Olsa > Signed-off-by: Taeung Song Acked-by: Namhyung Kim One nitpick below.. > --- > tools/perf/Documentation/perf-config.txt | 17 + > 1 file changed, 17 inserti

[PATCH 2/2] pinctrl: qcom: spmi-mpp: Add pm8994 mpp support

2015-11-17 Thread Stephen Boyd
Update the driver and binding for pm8994-mpp devices. Cc: Cc: "Ivan T. Ivanov" Cc: Bjorn Andersson Signed-off-by: Stephen Boyd --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 1 + drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 1 + 2 files changed, 2 insertion

Re: [PATCH v3 7/7] Smack: Handle labels consistently in untrusted mounts

2015-11-17 Thread Seth Forshee
On Wed, Nov 18, 2015 at 11:12:51AM +1100, James Morris wrote: > On Tue, 17 Nov 2015, Seth Forshee wrote: > > > + sbsp = inode->i_sb->s_security; > > + if ((sbsp->smk_flags & SMK_SB_UNTRUSTED) && > > Where is SMK_SB_UNTRUSTED defined? > > I can't see it in this patch series, mainline or secur

[PATCH 1/2] pinctrl: qcom: spmi-gpio: Add pm8994 gpio support

2015-11-17 Thread Stephen Boyd
Update the binding and driver for pm8994-gpio devices. Cc: Cc: "Ivan T. Ivanov" Cc: Bjorn Andersson Signed-off-by: Stephen Boyd --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 2 files changed, 3 inser

[PATCH 0/2] Add pm8994 gpio and mpp support

2015-11-17 Thread Stephen Boyd
This adds the support for pm8994 gpio and mpp modules. Given that there's nothing besides a compatible string update, I'm going to send a separate patch to add generic compatible strings for these sorts of things. Stephen Boyd (2): pinctrl: qcom: spmi-gpio: Add pm8994 gpio support pinctrl: qco

Re: [PATCH] mm/mmap.c: remove incorrect MAP_FIXED flag comparison from mmap_region

2015-11-17 Thread Andrew Morton
On Tue, 17 Nov 2015 18:26:38 +0100 Piotr Kwapulinski wrote: > The following flag comparison in mmap_region is not fully correct: > > if (!(vm_flags & MAP_FIXED)) > > The vm_flags should not be compared with MAP_FIXED (0x10). It is a bit > confusing. This condition is almost always true since V

[RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings

2015-11-17 Thread Stephen Boyd
The drivers don't really need to know which PMIC they're for, so make a generic binding for them. This alleviates us from updating the drivers every time a new PMIC comes out. It's still recommended that we update the binding with new PMIC models and always specify the specific model for the MPPs a

Re: [PATCH] Documentation: mtd: improve nand_ecc.txt for readability and correctness

2015-11-17 Thread Brian Norris
On Fri, Oct 30, 2015 at 12:36:33AM +0800, Wang YanQing wrote: > This patch correct some representation errors, add a little > clarification in some places, and fix indentation problems > for pseudo code. > > It also delete one more white space for one place. > > Signed-off-by: Wang YanQing Appl

Re: [PATCH v11 09/24] perf config: Document 'ui.show-headers' variable in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:29PM +0900, Taeung Song wrote: > Explain 'ui.show-headers' variable. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/tools/perf/Docume

[PATCH 1/5] clk: divider: Cap table divider values to 'width' member

2015-11-17 Thread Stephen Boyd
When we use a clk divider with a divider table, we limit the maximum divider value in divider_get_val() to the div_mask(width), but when we calculate the divider in divider_round_rate() we don't consider that the maximum divider may be limited by the width. Pass the width along to _get_table_maxdiv

[PATCH 3/5] clk: qcom: Add MSM8996 Global Clock Control (GCC) driver

2015-11-17 Thread Stephen Boyd
Add support for the global clock controller found on MSM8996 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Signed-off-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,gcc.txt |1 + drivers/clk/qcom/Kconfig

[PATCH 5/5] clk: qcom: Add MSM8996 Multimedia Clock Controller (MMCC) driver

2015-11-17 Thread Stephen Boyd
Add a driver for the multimedia clock controller found on MSM8996 based devices. This should allow most multimedia device drivers to probe and control their clocks. Signed-off-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,mmcc.txt|1 + drivers/clk/qcom/Kconfig

[PATCH 0/5] Add support for MSM8996 clock controllers

2015-11-17 Thread Stephen Boyd
These patches add support for the global and multimedia clock controllers found on MSM8996 devices. The first patch allows us to implement a "power of two" divider of different widths with a table based divider. The second patch adds support for Alpha PLLs and the 3rd and 5th patches add support fo

[PATCH 4/5] clk: qcom: Add gfx3d ping-pong PLL frequency switching

2015-11-17 Thread Stephen Boyd
The GPU clocks on msm8996 have three dedicated PLLs, MMPLL2, MMPLL8, and MMPLL9. We leave MMPLL9 at the maximum speed (624 MHz), and we use MMPLL2 and MMPLL8 for the other frequencies. To make switching frequencies faster, we ping-pong between MMPLL2 and MMPLL8 when we're switching between frequenc

Re: [PATCH] ARM: sunxi: Re-enable SID driver in multi_v7_defconfig

2015-11-17 Thread Krzysztof Kozlowski
On 17.11.2015 18:03, Timo Sigurdsson wrote: > Hi, > > Krzysztof Kozlowski schrieb am 17.11.2015 09:21: > > [...] > > @@ -450,8 +431,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y > CONFIG_MEDIA_CONTROLLER=y > CONFIG_VIDEO_V4L2_SUBDEV_API=y > CONFIG_MEDIA_USB_SUPPORT=y > -CONFIG_USB_VI

[PATCH 2/5] clk: qcom: Add Alpha PLL support

2015-11-17 Thread Stephen Boyd
Add support for configuring rates of, enabling, and disabling Alpha PLLs. This is sufficient for the types of PLLs found in the global and multimedia clock controllers. Signed-off-by: Stephen Boyd --- drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/clk-alpha-pll.c | 355 ++

[PATCH 3/4] arm64: dts: qcom: Add pm8994, pmi8994, pm8004 PMIC skeletons

2015-11-17 Thread Stephen Boyd
Add the skeleton nodes for the PMICs found on msm8996-mtp devices. Signed-off-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/pm8004.dtsi | 19 +++ arch/arm64/boot/dts/qcom/pm8994.dtsi | 19 +++ arch/arm64/boot/dts/qcom/pmi8994.dtsi | 19 +++ 3 fil

[PATCH 0/4] Add DTS for MSM8996 SoC and MTP

2015-11-17 Thread Stephen Boyd
These patches add the initial dts files for the MSM8996 SoC and MTP evaluation board. Stephen Boyd (4): devicetree: bindings: Document Kryo cpu arm64: dts: Add msm8996 SoC and MTP board support arm64: dts: qcom: Add pm8994, pmi8994, pm8004 PMIC skeletons arm64: dts: qcom: Add pm8994 gpios

[PATCH 1/4] devicetree: bindings: Document Kryo cpu

2015-11-17 Thread Stephen Boyd
Document the compatible string for the Kryo family of qcom cpus. Cc: Signed-off-by: Stephen Boyd --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.tx

[PATCH 2/4] arm64: dts: Add msm8996 SoC and MTP board support

2015-11-17 Thread Stephen Boyd
Add initial device tree support for the Qualcomm MSM8996 SoC and MTP8996 evaluation board. Signed-off-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 21 +++ arch/arm64/boot/dts/qcom/msm8996-mtp.dtsi | 30 arch/arm64/boot

[PATCH 4/4] arm64: dts: qcom: Add pm8994 gpios and MPPs

2015-11-17 Thread Stephen Boyd
Add the gpio and MPP devices to the pm8994 pmic dts. Signed-off-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/pm8994.dtsi | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index e

Re: [PATCH 4/9] srpt: chain RDMA READ/WRITE requests

2015-11-17 Thread Bart Van Assche
On 11/13/2015 05:46 AM, Christoph Hellwig wrote: - ret = ib_post_send(ch->qp, &wr.wr, &bad_wr); - if (ret) - break; + if (i == n_rdma - 1) { + /* only get completion event for the last rdma read */ +

Re: [PATCH 1/3] ASoC: samsung: pass DMA channels as pointers

2015-11-17 Thread Krzysztof Kozlowski
On 17.11.2015 19:24, Arnd Bergmann wrote: > On Tuesday 17 November 2015 10:16:36 Krzysztof Kozlowski wrote: >> On 14.11.2015 02:22, Arnd Bergmann wrote: >>> ARM64 allmodconfig produces a bunch of warnings when building the >>> samsung ASoC code: >>> >>> sound/soc/samsung/dmaengine.c: In function 's

Re: [PATCH] PM / OPP: Add entry in MAINTAINERS

2015-11-17 Thread Stephen Boyd
On 11/17, Viresh Kumar wrote: > Add entry for operating performance points into MAINTAINERS file. This > will also allow get_maintainers to list OPP stakeholders properly. > > Signed-off-by: Viresh Kumar > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Auro

Re: [PATCHv2] ASoC: samsung: pass DMA channels as pointers

2015-11-17 Thread Krzysztof Kozlowski
On 18.11.2015 00:53, Arnd Bergmann wrote: > ARM64 allmodconfig produces a bunch of warnings when building the > samsung ASoC code: > > sound/soc/samsung/dmaengine.c: In function 'samsung_asoc_init_dma_data': > sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of > differe

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-11-17 Thread Stephen Boyd
On 11/16, Ulf Hansson wrote: > [...] > > > > > > In case you're wondering, the max frequency for sdc1 on 8974ac is > > 400MHz. If it's just a plain 8974pro then the max frequency is > > 200MHz. Otherwise, sdc2 maxes out at 200Mhz and sdc3 and sdc4 max > > out at 100MHz. > > When you say that sdc

[PATCH] mm/mmzone: memmap_valid_within can be boolean

2015-11-17 Thread Yaowei Bai
This patch makes memmap_valid_within return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mmzone.h | 6 +++--- mm/mmzone.c| 8 2 files changed, 7 insertions(+), 7 del

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
On 2015/11/16 17:38, Arnd Bergmann wrote: On Monday 16 November 2015 17:38:24 huangdaode wrote: This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. chang log: v2: 1) reformat the style.

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
On 2015/11/16 23:20, Rob Herring wrote: On Mon, Nov 16, 2015 at 05:38:24PM +0800, huangdaode wrote: This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. chang log: v2: 1) reformat the style

Re: [RFD] Functional dependencies between devices

2015-11-17 Thread Rafael J. Wysocki
On Tuesday, November 17, 2015 01:44:59 PM Andrzej Hajda wrote: > Hi Rafael, > > Please forgive me late reply, but I have missed this thread before. > > On 10/27/2015 04:24 PM, Rafael J. Wysocki wrote: > > Hi All, > > > > As discussed in the recent "On-demand device probing" thread and in a Kerne

[PATCH v3 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. Signed-off-by: huangdaode --- change log: v3: 1)move change log under '---' line. 2)change minor syntax error on description. v2: 1) re

Re: [PATCHv2 2/3] ASoC: s3c24xx-i2s: pass DMA channels as platform data

2015-11-17 Thread Krzysztof Kozlowski
On 18.11.2015 00:54, Arnd Bergmann wrote: > This is a minor cleanup to make the s3c2412-i2s and s3c24xx-i2s > drivers independent of the mach/dma.h header file and to allow > removing the dependency on the specific dmaengine driver in the > next patch. > > As a side not, only the s3c24xx-i2s drive

[PATCH V2] SKL intel_pstate update MSR values when changing governors

2015-11-17 Thread Alexandra Yates
From: root When changing from powersave to performance governors Intel_pstate fails to update the MSR values that reflect the max_perf_pct to 100%. For instance in SKL reading rdmsr 0x774: GovernorMSR max_perf_pct = P

Re: [PATCH 1/2] Remove EFI memmap quirk for UV

2015-11-17 Thread Alex Thorlton
On Tue, Nov 17, 2015 at 08:32:59PM +0100, Borislav Petkov wrote: > On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote: > > Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to > > efi_apply_memmap_quirks to force SGI UV systems to fall back to the old > > EFI memmap mechani

Re: [PATCHv2 3/3] ASoC: samsung: pass filter function as pointer

2015-11-17 Thread Krzysztof Kozlowski
On 18.11.2015 00:55, Arnd Bergmann wrote: > As we are now passing the filter data as pointers to the drivers, > we can take the final step and also pass the filter function the > same way. I'm keeping this change separate, as there it's less > obvious that this is a net win. > > Upsides of this ar

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-17 Thread Baolin Wang
On 17 November 2015 at 21:34, Andy Shevchenko wrote: > On Mon, Nov 16, 2015 at 9:05 AM, Baolin Wang wrote: >> It dose not work when we want to use the usb-to-serial port based >> on one usb gadget as a console. Thus this patch adds the console >> initialization to support this request. > > >> @@

Re: [PATCH V2] SKL intel_pstate update MSR values when changing governors

2015-11-17 Thread Srinivas Pandruvada
On Tue, 2015-11-17 at 17:58 -0800, Alexandra Yates wrote: > From: root You need to fix the git config ... The change itself is OK. Thanks, Srinivas > > When changing from powersave to performance governors > Intel_pstate fails to update the MSR values that reflect the > max_perf_pct to 100%. For

Re: [Qemu-devel] [PATCH v4 4/4] devicetree: update documentation for fw_cfg ARM bindings

2015-11-17 Thread Gabriel L. Somlo
On Tue, Nov 17, 2015 at 04:14:42PM -0600, Rob Herring wrote: > On Mon, Nov 16, 2015 at 2:38 AM, Paolo Bonzini wrote: > > > > > > On 15/11/2015 03:07, Rob Herring wrote: > >> We generally don't want DT docs to depend on other kernel documentation. > > > > DT docs do not contain a copy of the data s

Re: CGroup Namespaces (v4)

2015-11-17 Thread Serge E. Hallyn
On Mon, Nov 16, 2015 at 04:24:27PM -0600, Eric W. Biederman wrote: > Similary have you considered what it required to be able to safely set > FS_USERNS_MOUNT? I pushed the one patch which I feel is needed to my branch (it's also included in another reply). Aditya had already added FS_USERNS_MOUNT

[PATCH] watchdog: mtk_wdt: Use MODE_KEY when stopping the watchdog

2015-11-17 Thread Nicolas Boichat
WDT_MODE value need to be or-ed with MODE_KEY when setting watchdog mode. Add it to mtk_wdt_stop function, so that the watchdog can be stopped (e.g. during suspend). Signed-off-by: Nicolas Boichat --- drivers/watchdog/mtk_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog

Re: enhance ONFI table reliability/stable

2015-11-17 Thread Brian Norris
Hi Bean, I was sorting through old email and I found this. On Tue, Jul 21, 2015 at 02:42:34PM +, Bean Huo 霍斌斌 (beanhuo) wrote: > Hi, > > Recently, I faced some case about ONFI table reliability, now it used CRC. > If there is bit flips in ONFI parameter pages, parameter backup page will be

Re: [PATCH v11 10/24] perf config: Document variables for 'call-graph' section in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:30PM +0900, Taeung Song wrote: > Explain 'call-graph' section and its variables. > > 'record-mode', 'dump-size', 'print-type', 'order', > 'sort-key', 'threshold' and 'print-limit'. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/pe

Re: [PATCH 02/10] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-17 Thread Xiao Guangrong
On 11/12/2015 07:50 PM, Takuya Yoshikawa wrote: + if (!ret) { + clear_unsync_child_bit(sp, i); + continue; + } else if (ret > 0) { nr_unsync_leaf += ret; Jus

Re: [PATCH v11 11/24] perf config: Document variables for 'report' section in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:31PM +0900, Taeung Song wrote: > Explain 'report' section's variables. > > 'percent-limit', 'queue-size' and 'children'. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 17 + > 1

Re: [PATCH v11 12/24] perf config: Document 'top.chidren' variable in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:32PM +0900, Taeung Song wrote: > Explain 'top.children' variable. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/perf/Document

Re: [PATCH 05/10] KVM: x86: MMU: Use for_each_rmap_spte macro instead of pte_list_walk()

2015-11-17 Thread Xiao Guangrong
On 11/12/2015 07:52 PM, Takuya Yoshikawa wrote: kvm_mmu_mark_parents_unsync() alone uses pte_list_walk(), witch does nearly the same as the for_each_rmap_spte macro. The only difference is that is_shadow_present_pte() checks cannot be placed there because kvm_mmu_mark_parents_unsync() can be c

Re: [PATCH] USB: USB_OTG does not depend on PM

2015-11-17 Thread Peter Chen
On Tue, Nov 17, 2015 at 11:00:18PM +0100, Arnd Bergmann wrote: > On Tuesday 17 November 2015 15:38:33 Felipe Balbi wrote: > > > > Arnd Bergmann writes: > > > USB_OTG initially depended on USB_SUSPEND, which was later turned into > > > PM_RUNTIME and finally into PM. I don't know at what point the

Re: [PATCH] pinctrl: mediatek: fix a memleak when do dt maps.

2015-11-17 Thread Yingjoe Chen
On Tue, 2015-11-17 at 14:33 -0800, Hongzhou Yang wrote: > configs will kmemdup to dup_configs in pictrl util function. > So configs need to be freed. > > Signed-off-by: Hongzhou Yang > Reviewed-by: Daniel Kurtz > Reviewed-by: Matthias Brugger > --- > Fix a memleak issue. > According to Yingjo

Re: [PATCH 07/10] KVM: x86: MMU: Encapsulate the type of rmap-chain head in a new struct

2015-11-17 Thread Xiao Guangrong
On 11/12/2015 07:55 PM, Takuya Yoshikawa wrote: @@ -1720,7 +1724,7 @@ static struct kvm_mmu_page *kvm_mmu_alloc_page(struct kvm_vcpu *vcpu, * this feature. See the comments in kvm_zap_obsolete_pages(). */ list_add(&sp->link, &vcpu->kvm->arch.active_mmu_pages); -

[PATCH v8 0/2] Mediatek SPI-NOR flash driver

2015-11-17 Thread Bayi Cheng
This series is based on v4.4-rc1 and l2-mtd.git [0] and erase_sector implementation patch [1] [0]: git://git.infradead.org/l2-mtd.git [1]: http://lists.infradead.org/pipermail/linux-mtd/2015-October//062959.html Change in v8: 1: rewrite the macro MTK_NOR_MAX_SHIFT from 6 to 7 2: add a new macro M

[PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-17 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi i

[PATCH v8 1/2] mtd: mtk-nor: mtk serial flash controller driver

2015-11-17 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files changed, 494 insertions(+) create mode 100

Re: [PATCH 09/10 RFC] KVM: x86: MMU: Move parent_pte handling from kvm_mmu_get_page() to link_shadow_page()

2015-11-17 Thread Xiao Guangrong
On 11/12/2015 07:56 PM, Takuya Yoshikawa wrote: Every time kvm_mmu_get_page() is called with a non-NULL parent_pte argument, link_shadow_page() follows that to set the parent entry so that the new mapping will point to the returned page table. Moving parent_pte handling there allows to clean u

linux-next: Tree for Nov 18

2015-11-17 Thread Stephen Rothwell
Hi all, Changes since 20151117: New trees: mac80211, mac80211-next The tegra tree gained a conflict against the renesas tree. The drm-intel tree gained a conflict against the drm-intel-fixes tree. The drm-misc tree gained a conflict against the drm-intel-fixes tree. Non-merge commits

Re: [PATCH v3] usb: chipidea: removing of_find_property

2015-11-17 Thread Peter Chen
On Tue, Nov 17, 2015 at 05:22:26PM +0530, Saurabh Sengar wrote: > call to of_find_property() before of_property_read_u32() is unnecessary. > of_property_read_u32() anyway calls to of_find_property() only. > > Signed-off-by: Saurabh Sengar > --- > v2 : removed pval variable > v3 : removed unnecess

Re: [PATCH 3/3] apparmor: use list_next_entry instead of list_entry_next

2015-11-17 Thread Serge E. Hallyn
On Mon, Nov 16, 2015 at 09:46:33PM +0800, Geliang Tang wrote: > list_next_entry has been defined in list.h, so I replace list_entry_next > with it. > > Signed-off-by: Geliang Tang Seems reasonable. Acked-by: Serge Hallyn > --- > security/apparmor/apparmorfs.c | 8 +++- > 1 file changed,

Re: [PATCH 1/3] dell_wmi: Support new hotkeys on the XPS 13 Skylake

2015-11-17 Thread Andy Lutomirski
On Tue, Nov 17, 2015 at 11:03 AM, Andy Lutomirski wrote: > On Nov 17, 2015 12:36 AM, "Pali Rohár" wrote: >> >> On Saturday 14 November 2015 18:07:57 Andy Lutomirski wrote: >> > [lots of people added] >> > >> > On Sat, Nov 14, 2015 at 8:13 AM, Pali Rohár >> > wrote: >> > > On Saturday 14 November

[PATCH] net: macb: Add support for sgmii phy interface

2015-11-17 Thread Punnaiah Choudary Kalluri
This patch adds support for the sgmii phy interface. Signed-off-by: Punnaiah Choudary Kalluri --- drivers/net/ethernet/cadence/macb.c | 4 drivers/net/ethernet/cadence/macb.h | 5 + 2 files changed, 9 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/etherne

Re: [PATCH v3] usb: chipidea: removing of_find_property

2015-11-17 Thread Saurabh Sengar
Hi Peter, Yes itc_setting is still optional, in case dts does not pass this property, return type will be -EINVAL and there would be no problem. The function will break only if there is 'No data'(-ENODATA) or 'overflow'(-ENODATA) error for this property. In case this is not OK, I will send a anoth

Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings

2015-11-17 Thread Andy Gross
On Tue, Nov 17, 2015 at 05:00:26PM -0800, Stephen Boyd wrote: > The drivers don't really need to know which PMIC they're for, so > make a generic binding for them. This alleviates us from updating > the drivers every time a new PMIC comes out. It's still > recommended that we update the binding wit

[PATCH v4] usb: chipidea: removing of_find_property

2015-11-17 Thread Saurabh Sengar
call to of_find_property() before of_property_read_u32() is unnecessary. of_property_read_u32() anyway calls to of_find_property() only. Signed-off-by: Saurabh Sengar --- v4 : removed return type check for optional property 'itc-setting' drivers/usb/chipidea/core.c | 57 +---

Re: [PATCH 0/4] Add DTS for MSM8996 SoC and MTP

2015-11-17 Thread Andy Gross
On Tue, Nov 17, 2015 at 05:12:25PM -0800, Stephen Boyd wrote: > These patches add the initial dts files for the MSM8996 SoC and > MTP evaluation board. > These all look fine. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux F

Re: [PATCH 2/3] perf tools: Add callchain order support for libunwind DWARF unwinder

2015-11-17 Thread Wangnan (F)
On 2015/11/17 23:05, Jiri Olsa wrote: From: Jiri Olsa As reported by Milian, currently for DWARF unwind (both libdw and libunwind) we display callchain in callee order only. Adding the support to follow callchain order setup to libunwind DWARF unwinder, so we could get following output for r

Re: [PATCH v2 3/5] ARM: qcom: add IPQ4019 compatible match

2015-11-17 Thread Andy Gross
On Mon, Nov 16, 2015 at 03:02:03PM -0600, Matthew McClintock wrote: > From: Matthew McClintock > > This will select qcom board type when the machine compatible is > qcom,ipq4019. > > Signed-off-by: Matthew McClintock > --- Reviewed-by: Andy Gross -- Qualcomm Innovation Center, Inc. The Qual

Re: [PATCH 0/3] perf tools DWARF libunwind: Add callchain order support

2015-11-17 Thread Wangnan (F)
Hi Jiri, On 2015/11/17 23:05, Jiri Olsa wrote: hi, as reported by Milian, currently for DWARF unwind (both libdw and libunwind) we display callchain in callee order only. Adding the support to follow callchain order setup to libunwind DWARF unwinder, so we could get following output for report

Re: [PATCH v3] block: create ioctl to discard-or-zeroout a range of blocks

2015-11-17 Thread Darrick J. Wong
On Fri, Nov 13, 2015 at 03:23:25PM -0500, Jeff Moyer wrote: > "Darrick J. Wong" writes: > > > Create a new ioctl to expose the block layer's newfound ability to > > issue either a zeroing discard, a WRITE SAME with a zero page, or a > > regular write with the zero page. This BLKZEROOUT2 ioctl ta

Re: [PATCH v2] SPI: s3c64xx: pass DMA arguments in platform data

2015-11-17 Thread Krzysztof Kozlowski
On 18.11.2015 00:48, Arnd Bergmann wrote: > The s3c64xx platform data already contains a pointer to the > DMA filter function, but not to the associated data. > > This simplifies the code and makes it more generic by > passing the data along with the filter function like > we do for other drivers.

Re: [PATCH v11 13/24] perf config: Document 'man.viewer' variable in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:33PM +0900, Taeung Song wrote: > Explain 'man.viewer' variable. > > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/tools/perf/Documentation/perf-config.txt

Re: [PATCH v3] usb: chipidea: removing of_find_property

2015-11-17 Thread Peter Chen
On Wed, Nov 18, 2015 at 09:30:39AM +0530, Saurabh Sengar wrote: > Hi Peter, > > Yes itc_setting is still optional, in case dts does not pass this > property, return type will be -EINVAL and there would be no problem. > The function will break only if there is 'No data'(-ENODATA) or > 'overflow'(-E

Re: [PATCH v11 14/24] perf config: Document 'pager.' variables in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:34PM +0900, Taeung Song wrote: > Explain 'pager.' variables. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/tools/perf/Documentation/

Re: [PATCH 2/4] arm64: dts: Add msm8996 SoC and MTP board support

2015-11-17 Thread kbuild test robot
Hi Stephen, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.4-rc1 next-20151117] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/devicetree-bindings-Document-Kryo-cpu/20151118-091558 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support

2015-11-17 Thread Herbert Xu
On Tue, Nov 17, 2015 at 04:30:14PM -0800, Tim Chen wrote: > On Wed, 2015-11-18 at 08:07 +0800, Herbert Xu wrote: > > On Tue, Nov 17, 2015 at 02:59:29PM -0800, Tim Chen wrote: > > > > > > Herbert, would you prefer me to use ablkcipher scatter walk instead, > > > assuming the overhead of both walk ar

Re: [PATCH v11 15/24] perf config: Document 'kmem.default' variable in man page

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:35PM +0900, Taeung Song wrote: > Explain 'kmem.default' variable. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/perf/Document

Re: [PATCH 3/3] apparmor: use list_next_entry instead of list_entry_next

2015-11-17 Thread John Johansen
On 11/16/2015 05:46 AM, Geliang Tang wrote: > list_next_entry has been defined in list.h, so I replace list_entry_next > with it. > > Signed-off-by: Geliang Tang yep looks good Acked-by: John Johansen > --- > security/apparmor/apparmorfs.c | 8 +++- > 1 file changed, 3 insertions(+), 5 d

Re: [PATCH v11 16/24] perf config: Add '--system' and '--user' options to select which config file is used

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:36PM +0900, Taeung Song wrote: > The file-options '--system' means $(sysconfdir)/perfconfig and > '--user' means $HOME/.perfconfig. If file-option isn't used, > both system and user config file is read. > The syntax examples are like below. > > perf config [] [opt

Re: [PATCH v11 17/24] perf config: Collect configs to handle config variables

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:37PM +0900, Taeung Song wrote: > Collecting configs into list because of two reason. > > First of all, if there are same variables both user > and system config file, they all will be printed > when 'list' command work. But if config variables are > duplicated, user c

A new, fast and "unbreakable" encryption algorithm

2015-11-17 Thread Ismail Kizir
Hello, I've developed a new encryption algorithm, which dynamically changes the key according to plaintext and practically impossible to break. I also opened to public with MIT&GPL dual License. It is also quite fast; ~80% faster than the fastest mode of AES without cpu instruction set support. I

Re: [PATCH 2/3] perf tools: Add callchain order support for libunwind DWARF unwinder

2015-11-17 Thread Namhyung Kim
On Wed, Nov 18, 2015 at 12:13:08PM +0800, Wangnan (F) wrote: > > > On 2015/11/17 23:05, Jiri Olsa wrote: > >From: Jiri Olsa > > > >As reported by Milian, currently for DWARF unwind (both libdw > >and libunwind) we display callchain in callee order only. > > > >Adding the support to follow callch

Re: [PATCH v6] clk: add CS2000 Fractional-N driver

2015-11-17 Thread Kuninori Morimoto
Hi ping ? > > From: Kuninori Morimoto > > This patch adds CS2000 Fractional-N driver as clock provider. > > Signed-off-by: Kuninori Morimoto > --- > v5 -> v6 > > - remove redundant variable from each functions > - multi line code become one line > - end of comment has dot > - cs2000_wa

Re: [PATCH v5 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device

2015-11-17 Thread Viresh Kumar
On 17-11-15, 12:06, Punit Agrawal wrote: > Register passive cooling devices when initialising cpufreq on > big.LITTLE systems. If the device tree provides a dynamic power > coefficient for the CPUs then the bound cooling device will support > the extensions that allow it to be used with all the exi

[PATCH] tools:perf: fix typo in scripts/perl/Perf-Trace-Util/README

2015-11-17 Thread Wei Jiangang
Correct typo in tools/perf/scripts/perl/Perf-Trace-Util/README, desciptions => descriptions. Signed-off-by: Wei Jiangang --- tools/perf/scripts/perl/Perf-Trace-Util/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/scripts/perl/Perf-Trace-Util/README b/tools/

Re: [GIT PULL 0/5] perf/urgent fixes

2015-11-17 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 2059fc7a5a9e667797b8ec503bfb4685afee48d8: > > perf symbols: Allow forcing reading of non-root owned files by root > (2015-11-12 18:58:18 -0300) > > are ava

Re: [PATCH v4] usb: chipidea: removing of_find_property

2015-11-17 Thread Peter Chen
On Wed, Nov 18, 2015 at 09:40:12AM +0530, Saurabh Sengar wrote: > call to of_find_property() before of_property_read_u32() is unnecessary. > of_property_read_u32() anyway calls to of_find_property() only. > > Signed-off-by: Saurabh Sengar > --- > v4 : removed return type check for optional proper

Re: [PATCH 0/5] Add support for MSM8996 clock controllers

2015-11-17 Thread Rajendra Nayak
On 11/18/2015 06:37 AM, Stephen Boyd wrote: > These patches add support for the global and multimedia clock controllers > found on MSM8996 devices. The first patch allows us to implement a > "power of two" divider of different widths with a table based divider. > The second patch adds support for

Re: [PATCH] tools: ffs-aio-example: free memory upon failure

2015-11-17 Thread Wei, Jiangang
To whom it may concern: Sorry to bother again, But any comment about this patch? Regards, wei On Mon, 2015-11-09 at 14:16 +0800, Wei Jiangang wrote: > Free buffer to avoid memory leak upon failure occurs. > > Signed-off-by: Wei Jiangang > --- > tools/usb/ffs-aio-example/multibuff/device_app/ai

Re: [PATCH v4] usb: chipidea: removing of_find_property

2015-11-17 Thread Saurabh Sengar
On 18 November 2015 at 11:35, Peter Chen wrote: > On Wed, Nov 18, 2015 at 09:40:12AM +0530, Saurabh Sengar wrote: >> call to of_find_property() before of_property_read_u32() is unnecessary. >> of_property_read_u32() anyway calls to of_find_property() only. >> >> Signed-off-by: Saurabh Sengar >> -

[tip:perf/urgent] perf buildid-list: Requires ordered events

2015-11-17 Thread tip-bot for Adrian Hunter
Commit-ID: 1216b65c502e0f130cc9984dfd5f9e1968c1eb46 Gitweb: http://git.kernel.org/tip/1216b65c502e0f130cc9984dfd5f9e1968c1eb46 Author: Adrian Hunter AuthorDate: Fri, 13 Nov 2015 11:48:31 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 13 Nov 2015 12:22:04 -0300 perf buildid-

Re: [PATCH] drivers:staging:wilc1000 Fix comparison to NULL messages

2015-11-17 Thread Sudip Mukherjee
On Tue, Nov 17, 2015 at 09:01:28PM +0100, Bogicevic Sasa wrote: > This fixes all "Comparison to NULL could be written like..." > messages from checkpatch.pl > > Signed-off-by: Bogicevic Sasa > --- > drivers/staging/wilc1000/coreconfigurator.c | 10 +- > 1 file changed, 5 insertions(+), 5

[tip:perf/urgent] perf inject: Also re-pipe lost_samples event

2015-11-17 Thread tip-bot for Adrian Hunter
Commit-ID: d8145b3e30a24280c396d88c8703c50a1ea0aa3a Gitweb: http://git.kernel.org/tip/d8145b3e30a24280c396d88c8703c50a1ea0aa3a Author: Adrian Hunter AuthorDate: Fri, 13 Nov 2015 11:48:32 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 13 Nov 2015 12:23:12 -0300 perf inject:

[tip:perf/urgent] perf probe: Clear probe_trace_event when add_probe_trace_event() fails

2015-11-17 Thread tip-bot for Wang Nan
Commit-ID: 092b1f0b5f9f797812da0de927c3aa26acbe8762 Gitweb: http://git.kernel.org/tip/092b1f0b5f9f797812da0de927c3aa26acbe8762 Author: Wang Nan AuthorDate: Fri, 13 Nov 2015 12:29:11 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 13 Nov 2015 12:28:09 -0300 perf probe: Clear

[tip:perf/urgent] perf probe: Fix memory leaking on failure by clearing all probe_trace_events

2015-11-17 Thread tip-bot for Masami Hiramatsu
Commit-ID: 0196e787ceb58cdfea822482ec70019bc16cbd51 Gitweb: http://git.kernel.org/tip/0196e787ceb58cdfea822482ec70019bc16cbd51 Author: Masami Hiramatsu AuthorDate: Fri, 13 Nov 2015 12:29:10 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 13 Nov 2015 12:24:32 -0300 perf probe

[tip:perf/urgent] perf symbols: Fix dso lookup by long name and missing buildids

2015-11-17 Thread tip-bot for Adrian Hunter
Commit-ID: e266a753bf51b2c3b46d0d230349662c35ac5629 Gitweb: http://git.kernel.org/tip/e266a753bf51b2c3b46d0d230349662c35ac5629 Author: Adrian Hunter AuthorDate: Fri, 13 Nov 2015 11:48:30 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 13 Nov 2015 11:14:36 -0300 perf symbols:

Re: [GIT PULL 00/16] perf/ebpf improvements and fixes

2015-11-17 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > This is on top of my last perf-urgent-for-mingo pull req, that is > outstanding, please check if this can get into this merge window. > > - Arnaldo > > The following changes since commit 092b1f0b5f9f797812da0de927c3aa26acbe8762: > > pe

[lkp] [x86, perf] 7aba70e47c: BUG: unable to handle kernel paging request at 696d2f62

2015-11-17 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core commit 7aba70e47ca4e961acb5af96d5127e3fad651c7c ("x86, perf: Optimize stack walk user accesses") +---+++ |

  1   2   3   4   5   6   7   8   9   10   >