Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-26 Thread panxinhui
> 在 2016年6月26日,14:59,Boqun Feng 写道: > > On Sun, Jun 26, 2016 at 02:10:57PM +0800, Boqun Feng wrote: >> On Sun, Jun 26, 2016 at 01:21:04PM +0800, panxinhui wrote: >>> 在 2016年6月26日,03:20,Peter Zijlstra 写道: On Sun, Jun 26, 2016 at 01:27:56AM +0800, panxinhui wrote: >>> Would t

Re: [PATCH 2/2] locking/osq: Drop the overload of osq_lock()

2016-06-26 Thread panxinhui
> 在 2016年6月26日,18:41,Pan Xinhui 写道: > > An over-committed guest with more vCPUs than pCPUs has a heavy overload > in osq_lock(). > > This is because vCPU A hold the osq lock and yield out, vCPU B wait > per_cpu node->locked to be set. IOW, vCPU B wait vCPU A to run and > unlock the osq lock. >

[PATCH 00/21] Support qcom's HSIC USB and rewrite USB2 HS phy support

2016-06-26 Thread Stephen Boyd
The state of USB ChipIdea support on Qualcomm's platforms is not great. The DT description of these devices requires up to three different nodes for what amounts to be the same hardware block, when there should really only be one. Furthermore, the "phy" driver that is in mainline (phy-msm-usb.c) du

[PATCH 09/21] usb: chipidea: Add support for ULPI PHY bus

2016-06-26 Thread Stephen Boyd
Some phys for the chipidea controller are controlled via the ULPI viewport. Add support for the ULPI bus so that these sorts of phys can be probed and read/written automatically without having to duplicate the viewport logic in each phy driver. Cc: Peter Chen Cc: Greg Kroah-Hartman Cc: Heikki Kr

[PATCH 11/21] usb: chipidea: msm: Use hw_write_id_reg() instead of writel directly

2016-06-26 Thread Stephen Boyd
The MSM_USB_BASE macro trick is not very clear, and we're using it for only one register write so let's just move to using hw_write_id_reg() and passing the ci pointer instead. That clearly shows what offset we're using and avoids needing to include the msm_hsusb_hw.h file when we're going to delet

[PATCH 13/21] usb: chipidea: msm: Allow core to get usb phy

2016-06-26 Thread Stephen Boyd
The chipidea core gets the usb phy and initializes the phy at the right point now so we don't need to get the phy in this driver. Cc: Peter Chen Cc: Greg Kroah-Hartman Signed-off-by: Stephen Boyd --- drivers/usb/chipidea/ci_hdrc_msm.c | 21 - 1 file changed, 21 deletions(-)

[PATCH 10/21] usb: chipidea: msm: Rely on core to override AHBBURST

2016-06-26 Thread Stephen Boyd
The core framework already handles setting this parameter with a platform quirk. Add the appropriate flag so that we always set AHBBURST to 0. Technically DT should be doing this, but we always do it for msm chipidea devices so setting the flag in the driver works just as well. Cc: Peter Chen Cc:

[PATCH 12/21] usb: chipidea: msm: Keep device runtime enabled

2016-06-26 Thread Stephen Boyd
Sometimes the usb wrapper device is part of a power domain that needs to stay on as long as the device is active. Let's get and put the device in driver probe/remove so that we keep the power domain powered as long as the device is attached. We can fine tune this later to handle wakeup interrupts,

[PATCH 08/21] usb: chipidea: Kick OTG state machine for AVVIS with vbus extcon

2016-06-26 Thread Stephen Boyd
Force the OTG state machine to go forward when we're using an extcon for vbus detection. In this case, the controller may never raise an interrupt for AVVIS, so we need to simulate the event by toggling the appropriate OTG fsm bits and kicking the state machine again. Cc: Peter Chen Cc: Greg Kroa

[PATCH 07/21] usb: chipidea: Notify of reset when switching into host mode

2016-06-26 Thread Stephen Boyd
The chipidea/udc.c file sends a CI_HDRC_CONTROLLER_RESET_EVENT to the wrapper drivers when it calls hw_device_reset(), but that function is not called from chipidea/host.c. The intent of this event is to allow the wrapper driver to do any wrapper specific things after the reset bit has been set in

[PATCH 06/21] usb: chipidea: Initialize and reinitialize phy later

2016-06-26 Thread Stephen Boyd
The ULPI phy on qcom platforms needs to be initialized and powered on after a USB reset and before we toggle the run/stop bit. Otherwise, the phy locks up and doesn't work properly. Move the phy initialization to a later point, and shut it down outside of driver remove so that the phy state is prop

[PATCH 21/21] phy: Add support for Qualcomm's USB HS phy

2016-06-26 Thread Stephen Boyd
The high-speed phy on qcom SoCs is controlled via the ULPI viewport. Cc: Kishon Vijay Abraham I Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/phy/qcom,usb-hs-phy.txt| 71 ++ drivers/phy/Kconfig| 8 + drivers/phy/Makefile

[PATCH 05/21] usb: chipidea: Handle extcon events properly

2016-06-26 Thread Stephen Boyd
We're currently emulating the vbus and id interrupts in the OTGSC read API, but we also need to make sure that if we're handling the events with extcon that we don't enable the interrupts for those events in the hardware. Therefore, properly emulate this register if we're using extcon, but don't en

[PATCH 20/21] phy: Add support for Qualcomm's USB HSIC phy

2016-06-26 Thread Stephen Boyd
The HSIC USB controller on qcom SoCs has an integrated all digital phy controlled via the ULPI viewport. Cc: Kishon Vijay Abraham I Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/phy/qcom,usb-hsic-phy.txt | 60 drivers/phy/Kconfig| 7 +

[PATCH 04/21] usb: chipidea: Only read/write OTGSC from one place

2016-06-26 Thread Stephen Boyd
With the id and vbus detection done via extcon we need to make sure we poll the status of OTGSC properly by considering what the extcon is saying, and not just what the register is saying. Let's move this hw_wait_reg() function to the only place it's used and simplify it for polling the OTGSC regis

[PATCH 19/21] usb: chipidea: msm: Be silent on probe defer errors

2016-06-26 Thread Stephen Boyd
If something fails in ci_hdrc_add_device() due to probe defer, we shouldn't print an error message. Be silent in this case as we'll try probe again later. Cc: Peter Chen Cc: Greg Kroah-Hartman Signed-off-by: Stephen Boyd --- drivers/usb/chipidea/ci_hdrc_msm.c | 3 ++- 1 file changed, 2 inserti

[PATCH 02/21] usb: ulpi: Support device discovery via DT

2016-06-26 Thread Stephen Boyd
The qcom HSIC ulpi phy doesn't have any bits set in the vendor or product id ulpi registers. This makes it impossible to make a ulpi driver match against the id registers. Add support to discover the ulpi phys via DT to help alleviate this problem. We'll look for a ulpi bus node underneath the devi

[PATCH 18/21] usb: chipidea: msm: Add reset controller for PHY POR bit

2016-06-26 Thread Stephen Boyd
The MSM chipidea wrapper has two bits that are used to reset the first or second phy. Add support for these bits via the reset controller framework, so that phy drivers can reset their hardware at the right time during initialization. Cc: Peter Chen Cc: Greg Kroah-Hartman Signed-off-by: Stephen

[PATCH 03/21] usb: ulpi: Avoid reading/writing in device creation with OF devices

2016-06-26 Thread Stephen Boyd
ULPI devices are matched up against ULPI drivers by reading the vendor id and product id registers in the ULPI address space. Before we try to read those registers we'll do a scratch write to test the interface. Unfortunately, this doesn't work well if the ULPI device is not powered at the time of

[PATCH 16/21] usb: chipidea: msm: Restore wrapper settings after reset

2016-06-26 Thread Stephen Boyd
When the RESET bit is set in the USBCMD register it resets quite a few of the wrapper's registers to their reset state. This includes the GENCONFIG and GENCONFIG2 registers. Currently this is done by the usb phy and ehci-msm drivers writing into the controller wrapper's MMIO address space. Let's co

[PATCH 17/21] usb: chipidea: msm: Make platform data driver local instead of global

2016-06-26 Thread Stephen Boyd
If two devices are probed with this same driver, they'll share the same platform data structure, while the chipidea core layer writes and modifies it. This can lead to interesting results especially if one device is an OTG type chipidea controller and another is a host. Let's create a copy of this

[PATCH 15/21] usb: chipidea: msm: Mux over secondary phy at the right time

2016-06-26 Thread Stephen Boyd
We need to pick the correct phy at runtime based on how the SoC has been wired onto the board. If the secondary phy is used, take it out of reset and mux over to it by writing into the TCSR register. Make sure to do this on reset too, because this register is reset to the default value (primary phy

[PATCH 14/21] usb: chipidea: msm: Add proper clk and reset support

2016-06-26 Thread Stephen Boyd
The msm chipidea controller uses two main clks, an AHB clk to read/write the MMIO registers and a core clk called the system clk that drives the controller itself. Add support for these clks as they're required in all designs. Also add support for an optional third clk that we need to turn on to r

[PATCH 01/21] of: device: Support loading a module with OF based modalias

2016-06-26 Thread Stephen Boyd
In the case of ULPI devices, we want to be able to load the driver before registering the device so that we don't get stuck in a loop waiting for the phy module to appear and failing usb controller probe. Currently we request the ulpi module via the ulpi ids, but in the DT case we might need to req

[PATCH] fujitsu-laptop: Support touchpad toggle hotkey on Skylake-based models

2016-06-26 Thread Michał Kępień
Haswell-based Fujitsu laptops (Lifebook E734/E744/E754) have a touchpad toggle hotkey (Fn+F4) which is handled transparently to the operating system: while an ACPI notification is sent to FUJ02B1 when Fn+F4 is pressed, touchpad state is properly toggled without any explicit support for this operati

[PATCH v2] tty/serial: atmel: enforce tasklet init and termination sequences

2016-06-26 Thread Nicolas Ferre
As some race conditions are identified in the termination process of tasklets, enforce the atmel_shutdown() sequence. This way we make sure that no new tasklets or software timer are scheduled during shutdown process. An atomic flag is positioned to give this information throughout the code. We a

fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6

2016-06-26 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: da2f6aba4a21f8da3331e5251a117c52764da579 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 4 months ago co

Job Vacancy!!! Escrow Officer Needed..‏

2016-06-26 Thread Angang Steel Co. ltd
-- Job title: Escrow Officer #216 An-gang Steel Company Limited China Anshan Iron and Steel Co. Ltd. www.ansteel.com.cn It is my pleasure to announce to you the vacancy for the post of an Escrow Online Officer for An-gang Steel Company Limited China. if you are interested, please reply for m

[PATCH 1/1] usb: dwc2: add printf attribute to cat_printf()

2016-06-26 Thread Nicolas Iooss
As cat_printf() uses printf format strings in its parameters, adding __printf attribute allows the compiler to detect at compile-time some errors related to format strings (with -Wformat warning flag). Signed-off-by: Nicolas Iooss --- drivers/usb/dwc2/hcd_queue.c | 3 ++- 1 file changed, 2 inser

[PATCH 1/1] iommu/amd: initialize devid variable before using it

2016-06-26 Thread Nicolas Iooss
Commit 2a0cb4e2d423 ("iommu/amd: Add new map for storing IVHD dev entry type HID") added a call to DUMP_printk in init_iommu_from_acpi() which used the value of devid before this variable was initialized. Signed-off-by: Nicolas Iooss --- drivers/iommu/amd_iommu_init.c | 2 +- 1 file changed, 1 i

[PATCH] perf tools: Fix compiler error due to header file changes

2016-06-26 Thread He Kuang
The commit 41840d211c51 ("perf config: Move config declarations from util/cache.h to util/config.h") moved perf_config*(), causes the following errors when we build with LIBBABELTRACE=1: util/data-convert-bt.c: In function ‘convert__config’: util/data-convert-bt.c:1269:3: error: implicit decla

[PATCH v2 1/5] ARM: imx: add support for i.MX 7Solo

2016-06-26 Thread Stefan Agner
Add device tree compatible string "imx7s" for i.MX 7Solo. Signed-off-by: Stefan Agner --- arch/arm/mach-imx/mach-imx7d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/mach-imx7d.c b/arch/arm/mach-imx/mach-imx7d.c index b450f52..36254a6 100644 --- a/arch/arm/mach-imx/mach-

[PATCH v2 2/5] ARM: dts: imx7d: use imx7s.dtsi as base device tree

2016-06-26 Thread Stefan Agner
The i.MX 7 series currently consists of two SoCs: i.MX 7Solo and 7Dual. The former has a subset of features of the latter, hence use imx7s.dtsi as the new base device tree. To keep diffstat nice, just move imx7d.dtsi to imx7s.dtsi temporarily and recreate imx7d.dtsi in a second commit. Signed-off-

[PATCH v2 3/5] ARM: dts: imx7d: recreate imx7d.dtsi with i.MX 7Dual specifics

2016-06-26 Thread Stefan Agner
The i.MX 7Solo implements a subset of features available on i.MX 7Dual. Recreate imx7s.dtsi as the base device tree for i.MX 7Dual boards. The i.MX 7Dual's additional features over i.MX 7Solo are: - Second Cortex-A7 core - Second Gigabit Ethernet controller - EPD (Electronc Paper Display, not yet p

[PATCH v2 4/5] ARM: dts: imx7d: move input header into base device tree

2016-06-26 Thread Stefan Agner
The base device tree uses KEY_POWER in the snvs-powerkey node, hence include the input.h header file in the base device tree. Signed-off-by: Stefan Agner Acked-by: Igor Grinberg --- arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 1 - arch/arm/boot/dts/imx7d-nitrogen7.dts | 1 - arch/arm/boot/dts/i

[PATCH v2 5/5] ARM: dts: imx7: add Toradex Colibri iMX7S/iMX7D support

2016-06-26 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7S/iMX7D along with the development/evaluation carrier board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner ---

[PATCH v2 0/5] ARM: dts: imx7d: add i.MX 7Solo and Colibri iMX7S/D dts

2016-06-26 Thread Stefan Agner
The two SoC's i.MX 7Solo and i.MX 7Dual are very similar, but there are some differences worth dividing the current i.MX 7Dual base device tree. This patchset adds new base device tree imx7s.dtsi which is meant to be used for i.MX 7Solo boards. Note that the SoC _family_ is called imx7d/IMX7D throu

[x86] 87194cac13: BUG: unable to handle kernel

2016-06-26 Thread kernel test robot
1108/gcc-6/87194cac139aebecec89a68eff719ab44f0469a2/vmlinuz-4.7.0-rc4-00258-g87194ca -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-x86_64-2/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-randconfig-v0-06261108-87194cac139aebecec89a68eff719ab44f0469a2-20160626-43628-vqpxp-0.yaml ARCH=x86_64 kconfig=x86_64-randcon

Re: 4.6.2 frequent crashes under memory + IO pressure

2016-06-26 Thread Tetsuo Handa
Johannes Stezenbach wrote: > On Sun, Jun 26, 2016 at 02:04:40AM +0900, Tetsuo Handa wrote: > > It seems to me that somebody is using ALLOC_NO_WATERMARKS (with possibly > > __GFP_NOWARN), but I don't know how to identify such callers. Maybe print > > backtrace from __alloc_pages_slowpath() when ALLO

Re: [PATCH] firmware: declare __{start,end}_builtin_fw as pointers

2016-06-26 Thread Vegard Nossum
On 25 June 2016 at 23:06, Vegard Nossum wrote: > On 25 June 2016 at 17:04, Vegard Nossum wrote: >> The test in this loop: >> >> for (b_fw = __start_builtin_fw; b_fw != __end_builtin_fw; b_fw++) { >> >> was getting completely compiled out by my gcc, 7.0.0 20160520. The result >> was that the loo

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-26 Thread Geert Uytterhoeven
Hi Michal, On Sun, Jun 26, 2016 at 8:44 AM, Michal Suchanek wrote: > The SPI bus feature-wise is closest to serial UARTs form the other > buses available in kernel. Serial uart does not even have a bus > driver. That's being worked on, as currently you can't describe the other side of the UART p

[PATCH 2/3] powerpc/dts: fix STMicroelectronics compatible strings

2016-06-26 Thread Stefan Agner
Replace the non-standard vendor prefix stm and st-micro with st for STMicroelectronics. The drivers do not specify the vendor prefixes since the I2C Core strips them away from the DT provided compatible string. Therefore, changing existing device trees does not have any impact on device detection.

[PATCH 1/3] Documentation: dt: i2c: use correct STMicroelectronics vendor prefix

2016-06-26 Thread Stefan Agner
The documentation currently uses the non-standard vendor prefix stm and st-micro for STMicroelectronics. The drivers do not specify the vendor prefixes since the I2C Core strips them away from the DT provided compatible string. Therefor, changing documentation and existing device trees does not hav

[PATCH 3/3] ARM: dts: fix STMicroelectronics compatible strings

2016-06-26 Thread Stefan Agner
Replace the non-standard vendor prefix stm with st for STMicroelectronics. The drivers do not specify the vendor prefixes since the I2C Core strips them away from the DT provided compatible string. Therefore, changing existing device trees does not have any impact on device detection. Signed-off-b

drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'

2016-06-26 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: da2f6aba4a21f8da3331e5251a117c52764da579 commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap max_register in of_syscon_register date: 3 mont

Re: [LKP] [lkp] [dcache_{readdir, dir_lseek}() users] 4e82901cd6: reaim.jobs_per_min -49.1% regression

2016-06-26 Thread Thorsten Leemhuis
On 02.06.2016 18:29, Al Viro wrote: > On Thu, Jun 02, 2016 at 02:28:36PM +0800, Huang, Ying wrote: >> "Huang, Ying" writes: > >> Here is the comparison result with perf profile information. You can >> find it via searching 'perf-profile'. > [snip] > Looks like this load is hitting the arseloads

drivers/gpio/gpio-mpc8xxx.c:373:2: error: implicit declaration of function 'iounmap'

2016-06-26 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: da2f6aba4a21f8da3331e5251a117c52764da579 commit: 296ad4acb8efeffa456e344c73dc9459f4e9e1a0 gpio: remove deps on ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB date: 9 weeks

[PATCH v4] wlcore: spi: add wl18xx support

2016-06-26 Thread Reizer, Eyal
Add support for using with both wl12xx and wl18xx. - all wilink family needs special init command for entering wspi mode. extra clock cycles should be sent after the spi init command while the cs pin is high. - Use inverted chip select for sending a dummy 4 bytes command that completes the i

Re: [PATCH v3 1/3] Documentation: DT: Add iproc-static-adc binding

2016-06-26 Thread Jonathan Cameron
On 24/06/16 16:43, Rob Herring wrote: > On Wed, Jun 22, 2016 at 11:41:51AM +0530, Raveendra Padasalagi wrote: >> The patch adds devicetree binding document for broadcom's >> iproc-static-adc controller driver. >> >> Signed-off-by: Raveendra Padasalagi >> Reviewed-by: Ray Jui >> Reviewed-by: Scott

Re: [PATCH V4 1/2] cpufreq: Handle sorted frequency tables more efficiently

2016-06-26 Thread Viresh Kumar
Hi Rafael, Thanks for having a look at this.. On 23-06-16, 02:28, Rafael J. Wysocki wrote: > On Tuesday, June 07, 2016 03:55:14 PM Viresh Kumar wrote: > > +/* Find lowest freq at or above target in a table in ascending order */ > > +static inline int cpufreq_table_find_index_al(struct cpufreq_pol

Re: [PATCH v3 2/3] iio: Add driver for Broadcom iproc-static-adc

2016-06-26 Thread Jonathan Cameron
On 22/06/16 07:11, Raveendra Padasalagi wrote: > This patch adds basic driver implementation for Broadcom's > static adc controller used in iProc SoC's family. > > Signed-off-by: Raveendra Padasalagi > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden A few tiny nitpicks.. Otherwise, looking go

Re: [GIT PULL 00/27] perf/core improvements and fixes

2016-06-26 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 4330b439bbe16b48dd2fe9a379bd58a07b97aab8: > > Merge tag 'perf-core-for-mingo-20160621' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into pe

Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-26 Thread Thorsten Leemhuis
On 09.06.2016 01:29, Zanoni, Paulo R wrote: > Em Ter, 2016-06-07 às 23:52 +0200, Michal Marek escreveu: >> On Tue, Jun 07, 2016 at 02:10:28PM +, Zanoni, Paulo R wrote: >> From b36fad65d61fffe4b662d4bfb1ed673c455a36a2 Mon Sep 17 00:00:00 >> 2001 >> From: Michal Marek >> Date: Tue, 7 Jun 2016 11

Terveisiä,

2016-06-26 Thread Aspire Money Loan
Terveisiä, Olen rouva Annie Ethan yksityiseltä lainanantajayhtiöllä tunnetaan Aspire Money Loan®. Tarjoamme kaikenlaisia laina 3% korolla. Jos olet tarvitsevat lainaa ystävällisesti yhteyttä kanssa alla tiedot. Koko nimi: sukupuoli: Maa: Osoite: Lainan määrä: Kesto: Puh: Odotamme vast

[tip:perf/core] perf hists browser: Move hist_browser into header file

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: f758990f25d159c067f31ded52b298a4f15cb08e Gitweb: http://git.kernel.org/tip/f758990f25d159c067f31ded52b298a4f15cb08e Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:34 -0300 perf hists browse

[tip:perf/core] perf script stackcollapse: Remove reference to the perl interpreter

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: dd4629d46c3121b82e6a552c94cda6dcccfc38c6 Gitweb: http://git.kernel.org/tip/dd4629d46c3121b82e6a552c94cda6dcccfc38c6 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 Jun 2016 17:33:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:34 -0300 pe

[tip:perf/core] perf hists browser: Make (new|delete|run) public

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: dabd201239b5a521c3a5406c86dd273f47f37f1a Gitweb: http://git.kernel.org/tip/dabd201239b5a521c3a5406c86dd273f47f37f1a Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:14 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:34 -0300 perf hists browse

[tip:perf/core] perf hists browser: Introduce struct hist_browser title callback

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: 5b91a86f47669898d6f2fe625844ab65cf258c34 Gitweb: http://git.kernel.org/tip/5b91a86f47669898d6f2fe625844ab65cf258c34 Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:15 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:34 -0300 perf hists browse

[tip:perf/core] perf hists browser: Move horizontal scroll init to new()

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: b1c7a8f7a1dad1aa46ec26cdfa487598634c5267 Gitweb: http://git.kernel.org/tip/b1c7a8f7a1dad1aa46ec26cdfa487598634c5267 Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:16 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:35 -0300 perf hists browse

[tip:perf/core] perf hists browser: Introduce perf_evsel_browser constructor

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: a6ec894dea730bdc5568289898d27311e4031da0 Gitweb: http://git.kernel.org/tip/a6ec894dea730bdc5568289898d27311e4031da0 Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:17 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:35 -0300 perf hists browse

[tip:perf/core] perf hists browser: Introduce init()

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: fcd864265028b65bf154f35fe5a17591ffd49cb9 Gitweb: http://git.kernel.org/tip/fcd864265028b65bf154f35fe5a17591ffd49cb9 Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:18 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:35 -0300 perf hists browse

[tip:perf/core] perf evlist: Destructors should accept NULL

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0b04b3dcdfb9aeb0e83c8ca322bf0830ee51ce38 Gitweb: http://git.kernel.org/tip/0b04b3dcdfb9aeb0e83c8ca322bf0830ee51ce38 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 21 Jun 2016 18:15:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 10:01:48 -0300 pe

[tip:perf/core] perf hists: Enlarge pid sort entry size

2016-06-26 Thread tip-bot for Jiri Olsa
Commit-ID: 89c7cb2cad5e5e3675df3ba1c12fe2f64dc691d6 Gitweb: http://git.kernel.org/tip/89c7cb2cad5e5e3675df3ba1c12fe2f64dc691d6 Author: Jiri Olsa AuthorDate: Mon, 20 Jun 2016 23:58:19 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 09:56:35 -0300 perf hists: Enlar

[tip:perf/core] perf session: Destructors should accept NULL

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e1446551e60a7773c3acf3c55bb9449d70127882 Gitweb: http://git.kernel.org/tip/e1446551e60a7773c3acf3c55bb9449d70127882 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jun 2016 10:02:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 10:02:16 -0300 pe

[tip:perf/core] perf tests time-to-tsc: No need to disable an event before deleting it

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748 Gitweb: http://git.kernel.org/tip/61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jun 2016 10:10:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 10:10:52 -0300 pe

Re: [PATCH v3 1/2] iommu: Disable preemption around use of this_cpu_ptr()

2016-06-26 Thread Thorsten Leemhuis
On 15.06.2016 14:25, Joerg Roedel wrote: > On Wed, Jun 01, 2016 at 12:10:08PM +0100, Chris Wilson wrote: >> Between acquiring the this_cpu_ptr() and using it, ideally we don't want >> to be preempted and work on another CPU's private data. this_cpu_ptr() >> checks whether or not preemption is disab

[tip:perf/core] perf machine: Destructors should accept NULL

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 32ca678dcd250f05183cf0c8a9e516545c6068bc Gitweb: http://git.kernel.org/tip/32ca678dcd250f05183cf0c8a9e516545c6068bc Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Jun 2016 10:19:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 10:19:11 -0300 pe

[tip:perf/core] perf config: Move config declarations from util/cache.h to util/config.h

2016-06-26 Thread tip-bot for Taeung Song
Commit-ID: 41840d211c518e6af6e327b03e09323824e563bf Gitweb: http://git.kernel.org/tip/41840d211c518e6af6e327b03e09323824e563bf Author: Taeung Song AuthorDate: Thu, 23 Jun 2016 17:55:17 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 08:51:41 -0300 perf config: Mo

[tip:perf/core] perf tools: Let python use correct gcc for build_ext

2016-06-26 Thread tip-bot for He Kuang
Commit-ID: 48d8d5db4ac454e590ef7d440f456743d6cbaa94 Gitweb: http://git.kernel.org/tip/48d8d5db4ac454e590ef7d440f456743d6cbaa94 Author: He Kuang AuthorDate: Wed, 22 Jun 2016 06:57:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 22 Jun 2016 16:11:42 -0300 perf tools: Let py

[tip:perf/core] perf tools: Find right DSO taking into account if binary is 32 or 64-bit

2016-06-26 Thread tip-bot for He Kuang
Commit-ID: 76c588f1f6b560c510953b390bc0a26c27cbfbd0 Gitweb: http://git.kernel.org/tip/76c588f1f6b560c510953b390bc0a26c27cbfbd0 Author: He Kuang AuthorDate: Tue, 17 May 2016 09:04:54 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 10:25:58 -0300 perf tools: Find r

[tip:perf/core] perf unwind: Change macro names of perf register

2016-06-26 Thread tip-bot for He Kuang
Commit-ID: 78ff1d6d8bf6bb3ee2b3781bbd88355a322435a4 Gitweb: http://git.kernel.org/tip/78ff1d6d8bf6bb3ee2b3781bbd88355a322435a4 Author: He Kuang AuthorDate: Wed, 22 Jun 2016 06:57:02 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 10:30:17 -0300 perf unwind: Chang

[tip:perf/core] perf unwind: Fix wrongly used regs for x86_32 unwind

2016-06-26 Thread tip-bot for He Kuang
Commit-ID: 5dafea097ac65bd01cc86801c399ae41dce79756 Gitweb: http://git.kernel.org/tip/5dafea097ac65bd01cc86801c399ae41dce79756 Author: He Kuang AuthorDate: Wed, 22 Jun 2016 06:57:03 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 10:30:21 -0300 perf unwind: Fix w

[tip:perf/core] perf unwind: Fix wrongly used regs for aarch64 unwind

2016-06-26 Thread tip-bot for He Kuang
Commit-ID: 3bd03c9583bfb22cb82eeb09d8445bb79d27ae78 Gitweb: http://git.kernel.org/tip/3bd03c9583bfb22cb82eeb09d8445bb79d27ae78 Author: He Kuang AuthorDate: Wed, 22 Jun 2016 06:57:04 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 10:30:31 -0300 perf unwind: Fix w

[tip:perf/core] perf evlist: Rename for_each() macros to for_each_entry()

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e5cadb93d0839d268a7c4199e0fdef0f94722117 Gitweb: http://git.kernel.org/tip/e5cadb93d0839d268a7c4199e0fdef0f94722117 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Jun 2016 11:26:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 11:26:15 -0300 pe

[tip:perf/core] perf tools: Rename strlist_for_each() macros to for_each_entry()

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 602a1f4daa5d107e890fd4f5f558dedf6a0874f3 Gitweb: http://git.kernel.org/tip/602a1f4daa5d107e890fd4f5f558dedf6a0874f3 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Jun 2016 11:31:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 11:35:01 -0300 pe

[tip:perf/core] perf rb_resort: Rename for_each() macros to for_each_entry()

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 98a91837dd1751e730f8265129b376450f41dcfd Gitweb: http://git.kernel.org/tip/98a91837dd1751e730f8265129b376450f41dcfd Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Jun 2016 11:34:10 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 11:35:07 -0300 pe

[tip:perf/core] perf intlist: Rename for_each() macros to for_each_entry()

2016-06-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 10daf4d01bad77c6ae862367ad2148a8340d94e6 Gitweb: http://git.kernel.org/tip/10daf4d01bad77c6ae862367ad2148a8340d94e6 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Jun 2016 11:39:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 11:39:19 -0300 pe

[tip:perf/core] perf script: Print sample flags more nicely

2016-06-26 Thread tip-bot for Adrian Hunter
Commit-ID: 055cd33d93ac310ce68e8b1ebcf88f829426adf5 Gitweb: http://git.kernel.org/tip/055cd33d93ac310ce68e8b1ebcf88f829426adf5 Author: Adrian Hunter AuthorDate: Thu, 23 Jun 2016 16:40:56 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 16:36:59 -0300 perf script:

[tip:perf/core] perf auxtrace: Add option to feed branches to the thread stack

2016-06-26 Thread tip-bot for Adrian Hunter
Commit-ID: 50f736372d5ea0ce97ede698f957c9b141aa569e Gitweb: http://git.kernel.org/tip/50f736372d5ea0ce97ede698f957c9b141aa569e Author: Adrian Hunter AuthorDate: Thu, 23 Jun 2016 16:40:57 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 17:02:59 -0300 perf auxtrace

[tip:perf/core] perf script: Add callindent option

2016-06-26 Thread tip-bot for Adrian Hunter
Commit-ID: e216708d982a1c262f411fee2fcac2bd9ec93a32 Gitweb: http://git.kernel.org/tip/e216708d982a1c262f411fee2fcac2bd9ec93a32 Author: Adrian Hunter AuthorDate: Thu, 23 Jun 2016 16:40:58 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 17:04:26 -0300 perf script:

[tip:perf/core] perf config: Introduce new init() and exit()

2016-06-26 Thread tip-bot for Taeung Song
Commit-ID: 8a0a9c7e9146781defc96f6743e7ee14ccc9ab23 Gitweb: http://git.kernel.org/tip/8a0a9c7e9146781defc96f6743e7ee14ccc9ab23 Author: Taeung Song AuthorDate: Thu, 23 Jun 2016 23:14:31 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 17:20:04 -0300 perf config: In

[tip:perf/core] perf config: Reimplement show_config() using config_set__for_each

2016-06-26 Thread tip-bot for Taeung Song
Commit-ID: 4a35b3497c413de8b409f9d75700eeb4772b21b8 Gitweb: http://git.kernel.org/tip/4a35b3497c413de8b409f9d75700eeb4772b21b8 Author: Taeung Song AuthorDate: Thu, 23 Jun 2016 23:14:32 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 23 Jun 2016 17:23:00 -0300 perf config: Re

[tip:x86/boot] x86/KASLR, x86/power: Remove x86 hibernation restrictions

2016-06-26 Thread tip-bot for Kees Cook
Commit-ID: 65fe935dd2387a4faf15314c73f5e6d31ef0217e Gitweb: http://git.kernel.org/tip/65fe935dd2387a4faf15314c73f5e6d31ef0217e Author: Kees Cook AuthorDate: Mon, 13 Jun 2016 15:10:02 -0700 Committer: Ingo Molnar CommitDate: Sun, 26 Jun 2016 12:32:03 +0200 x86/KASLR, x86/power: Remove x

[tip:x86/boot] x86/boot: Refuse to build with data relocations

2016-06-26 Thread tip-bot for Kees Cook
Commit-ID: 98f78525371b55ccd1c480207ce10296c72fa340 Gitweb: http://git.kernel.org/tip/98f78525371b55ccd1c480207ce10296c72fa340 Author: Kees Cook AuthorDate: Wed, 25 May 2016 15:45:30 -0700 Committer: Ingo Molnar CommitDate: Sun, 26 Jun 2016 12:32:03 +0200 x86/boot: Refuse to build with

[tip:x86/boot] x86/KASLR: Clarify identity map interface

2016-06-26 Thread tip-bot for Kees Cook
Commit-ID: 11fdf97a3cd1a5a27625f820ceb74e1caba4fd26 Gitweb: http://git.kernel.org/tip/11fdf97a3cd1a5a27625f820ceb74e1caba4fd26 Author: Kees Cook AuthorDate: Wed, 25 May 2016 15:45:31 -0700 Committer: Ingo Molnar CommitDate: Sun, 26 Jun 2016 12:32:04 +0200 x86/KASLR: Clarify identity ma

[tip:x86/boot] x86/KASLR: Extend kernel image physical address randomization to addresses larger than 4G

2016-06-26 Thread tip-bot for Kees Cook
Commit-ID: ed9f007ee68478f6a50ec9971ade25a0129a5c0e Gitweb: http://git.kernel.org/tip/ed9f007ee68478f6a50ec9971ade25a0129a5c0e Author: Kees Cook AuthorDate: Wed, 25 May 2016 15:45:33 -0700 Committer: Ingo Molnar CommitDate: Sun, 26 Jun 2016 12:32:05 +0200 x86/KASLR: Extend kernel image

[tip:x86/boot] x86/KASLR: Allow randomization below the load address

2016-06-26 Thread tip-bot for Yinghai Lu
Commit-ID: e066cc47776a89bbdaf4184c0e75f7d389f9ab48 Gitweb: http://git.kernel.org/tip/e066cc47776a89bbdaf4184c0e75f7d389f9ab48 Author: Yinghai Lu AuthorDate: Wed, 25 May 2016 15:45:34 -0700 Committer: Ingo Molnar CommitDate: Sun, 26 Jun 2016 12:32:05 +0200 x86/KASLR: Allow randomizatio

[tip:x86/boot] x86/KASLR: Randomize virtual address separately

2016-06-26 Thread tip-bot for Baoquan He
Commit-ID: 8391c73c96f28d4e8c40fd401fd0c9c04391b44a Gitweb: http://git.kernel.org/tip/8391c73c96f28d4e8c40fd401fd0c9c04391b44a Author: Baoquan He AuthorDate: Wed, 25 May 2016 15:45:32 -0700 Committer: Ingo Molnar CommitDate: Sun, 26 Jun 2016 12:32:04 +0200 x86/KASLR: Randomize virtual

Re: [PATCH 1/3] spi: spidev: fix the check for spidev in dt

2016-06-26 Thread Mark Brown
On Sun, Jun 26, 2016 at 04:12:10AM +0200, Michal Suchanek wrote: > On 26 June 2016 at 03:13, Mark Brown wrote: > > On Thu, Jun 23, 2016 at 05:41:19PM -, Michal Suchanek wrote: > >> The check is supposed to warn about spidev specified directly in > >> devicetree as compatible. This just does n

Re: [PATCH] power: qcom_smbb: Make an extcon for usb cable detection

2016-06-26 Thread Chanwoo Choi
Hi, Looks good to me. Reviewed-by: Chanwoo Choi Thanks, Chanwoo Choi 2016-06-26 14:54 GMT+09:00 Stephen Boyd : > On these PMICs the usb cable connection/disconnection is > indicated by the usb-valid interrupt being high or low > respectively. Let's make an extcon for that, so we can notify usb

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-26 Thread Chanwoo Choi
Hi, This patch looks good to me. But, there is some comment. 2016-06-26 14:56 GMT+09:00 Stephen Boyd : > Some Qualcomm PMICs have a misc device that performs USB id pin > detection via an interrupt. When the interrupt triggers, we > should read the interrupt line to see if it has gone high or low

[RFC PATCH v2 09/26] perf bpf: Implement empty instruction handler and build bpf-vm

2016-06-26 Thread He Kuang
This patch includes the existing code in "kernel/bpf/vm.c", and uses empty handlers for building the userspace version of bpf-vm code. Userspace bpf programs won't deal with 'struct skb' data so an empty bpf_load_pointer() is placed here to help save us from including too much kernel structures and

[RFC PATCH v2 20/26] perf bpf: Accept uBPF programs

2016-06-26 Thread He Kuang
From: Wang Nan This patch allows user passing a uBPF function through bpf file with section name leading with 'UBPF;'. For example: #define SEC(NAME) __attribute__((section(NAME), used)) SEC("UBPF;perf_record_exit") void record_exit(int *samples) { char fmt[] = "Hello! receive %d samples

[RFC PATCH v2 07/26] perf bpf: Add map related BPF helper

2016-06-26 Thread He Kuang
From: Wang Nan Add BPF map helpers so user can read from bpf map in user space. Following commits will introduce user space BPF, bpf_map will be used to pass information between kernel and user BPF programs. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Alexei Starovoitov Cc: Brend

[RFC PATCH v2 11/26] perf bpf: Store arbitrary entries instread fd array in bpf_program

2016-06-26 Thread He Kuang
The bpf progs loaded into kernel are represented by fd, but we need new types for storing the entity of userspace bpf progs. This patch uses a void pointer to make it more generic so we can store any new types and cast back to its original type when used. Signed-off-by: He Kuang Signed-off-by: Wa

[RFC PATCH v2 06/26] tools include: Add (atomic|atomic64)_add implementation from the kernel sources

2016-06-26 Thread He Kuang
Uses the arch/x86/ kernel code for x86_64/i386, fallbacking to a gcc intrinsics implementation. Signed-off-by: He Kuang Signed-off-by: Wang Nan --- tools/arch/x86/include/asm/atomic.h| 28 tools/include/asm-generic/atomic-gcc.h | 10 ++ tools/include/lin

Re: [PATCH 2/3] spi: of: allow instantiating slaves without a driver

2016-06-26 Thread Mark Brown
On Sun, Jun 26, 2016 at 04:23:41AM +0200, Michal Suchanek wrote: > On 26 June 2016 at 03:15, Mark Brown wrote: > > I can't relate this hunk to the changelog and there's a coding style > > problem, if there's { } on one side of an if statement it should be on > > both sides. Why are we making thi

[RFC PATCH v2 26/26] perf tests: Add uBPF test case

2016-06-26 Thread He Kuang
From: Wang Nan Introduce a BPF script use uBPF, test compiling, helper and hook. Validate passing information through helper and hooks. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- tools/perf/tests/Build | 8 +++ tools/perf/tests/bpf-script-test-ubpf.c | 88 ++

[RFC PATCH v2 23/26] perf record: Add uBPF hooks at beginning and end of perf record

2016-06-26 Thread He Kuang
Like tracepoint in kernel code, uBPF hooks can be added in perf code and trigger uBPF programs passed by BPF scripts. The first two uBPF hooks added are record start/end. uBPF scripts can initial BPF maps in record start, and report result when record finished. Signed-off-by: He Kuang Signed-off-

[RFC PATCH v2 14/26] perf bpf: Add -Wextra to cflags for more warnings and fix them

2016-06-26 Thread He Kuang
Since -Wextra is used in perf tools, this patch adopts this cflags into lib/bpf. It also fixes 'comparison between signed and unsigned integer' errors reported afterward. Signed-off-by: He Kuang --- tools/lib/bpf/Makefile | 2 +- tools/lib/bpf/libbpf.c | 7 --- 2 files changed, 5 insertions(

  1   2   3   4   5   >