Re: [PATCH v2] soc: mediatek: add scpsys support active_wakeup

2015-08-25 Thread Eddie Huang
On Wed, 2015-08-26 at 05:11 +0800, Daniel Kurtz wrote: > Hi Eddie, > > On Tue, Aug 25, 2015 at 2:00 PM, Eddie Huang wrote: > > Register gpd_dev_ops.active_wakeup function to support keep power > > during suspend state. And add flag to each power domain to > > decide whether keep power during susp

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Michael Turquette wrote: > Quoting Maxime Ripard (2015-08-20 08:15:10) > > On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: > > > Quoting Maxime Ripard (2015-08-18 08:45:52) > > > > Hi Mike, > > > > > > > > On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael T

Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Pi-Cheng Chen
On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar wrote: > On 26-08-15, 09:25, Pi-Cheng Chen wrote: >> The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which >> introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will >> cause some conflicts if it goes through yo

Re: [PATCH 1/1] memhp: Add hot-added memory ranges to memblock before allocate node_data for a node.

2015-08-25 Thread Tang Chen
On 08/25/2015 09:09 AM, Xishi Qiu wrote: On 2015/8/24 17:22, Xishi Qiu wrote: On 2015/8/24 1:06, Tang Chen wrote: The commit below adds hot-added memory range to memblock, after creating pgdat for new node. commit f9126ab9241f66562debf69c2c9d8fee32ddcc53 Author: Xishi Qiu Date: Fri Aug 1

Re: [PATCH 10/10] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-08-25 Thread amit daniel kachhap
On Fri, Aug 21, 2015 at 2:58 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > This patch introduces Exynos UFS host controller driver, > which mainly handles vendor-specific operations including > link startup, power mode change and hibernation/unhibernation. > > Signed-off-by: Seungwon Jeon > S

[LINUX RFC v2 4/4] spi: zynqmp: gqspi: add support for dual parallel mode configuration

2015-08-25 Thread Ranjit Waghmode
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Ranjit Waghmode --- V2 Changes: - No change in this patch --- drivers/spi/spi-zynqmp-gqspi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(

Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status

2015-08-25 Thread Michal Hocko
On Tue 25-08-15 16:23:34, David Rientjes wrote: > On Mon, 24 Aug 2015, Michal Hocko wrote: > > > The current implementation makes me worry. Is the per hstate break down > > really needed? The implementation would be much more easier without it. > > > > Yes, it's needed. It provides a complete p

[GIT PULL] drm/rockchip: fixes and new features

2015-08-25 Thread Mark yao
Hi Dave Here are some fixes and some new features for rockchip drm, tested on popmetal rk3288 board, can you land them? The following changes since commit db56176025cee5e242dfeed5f4e304d095d29fa3: Revert "drm/atomic: Call ww_acquire_done after check phase is complete" (2015-08-25 17:2

Re: Next round: revised futex(2) man page for review

2015-08-25 Thread Darren Hart
On Thu, Aug 20, 2015 at 01:17:03AM +0200, Thomas Gleixner wrote: ... > > >> .\" FIXME XXX In discussing errors for FUTEX_CMP_REQUEUE_PI, Darren Hart > > >> .\" made the observation that "EINVAL is returned if the non-pi > > >> .\" to pi or op pairing semantics are violated." > > >> .

[LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-08-25 Thread Ranjit Waghmode
This series adds dual parallel mode support for Zynq Ultrascale+ MPSoC GQSPI controller driver. What is dual parallel mode? --- ZynqMP GQSPI controller supports Dual Parallel mode with following functionalities: 1) Supporting two SPI flash memories operating in parallel. 8

[LINUX RFC v2 3/4] spi-nor: add dual parallel mode support

2015-08-25 Thread Ranjit Waghmode
This patch adds support for dual parallel configuration by: - Adding required parameters like isparallel and shift to spi_nor structure. - Initializing all added parameters in spi_nor_scan() - Updating read_sr() and read_fsr() for getting status of both flashes - Increasing page_size, sector_size,

[LINUX RFC v2 2/4] mtd: add spi_device instance to spi_nor struct

2015-08-25 Thread Ranjit Waghmode
This patch adds struct spi_device instacne to the spi_nor structure Signed-off-by: Ranjit Waghmode --- V2 Changes: This is new patch, basically splitted on request of Mark Brown --- drivers/mtd/devices/m25p80.c | 1 + include/linux/mtd/spi-nor.h | 1 + 2 files changed, 2 insertions(+) diff --g

[LINUX RFC v2 1/4] spi: add support of two chip selects & data stripe

2015-08-25 Thread Ranjit Waghmode
To support dual parallel mode operation of ZynqMP GQSPI controller following API's are added inside the core: - Added API to support two chip selects: Dual parallel mode supports two SPI flash memories operating in parallel i.e 8 I/O lines. Chip selects and clock are shared to both the flas

Re: [PATCH 09/10] scsi: ufs: return value of pwr_change_notify

2015-08-25 Thread amit daniel kachhap
On Fri, Aug 21, 2015 at 2:58 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > Behavior of the "powwer mode change" contains vendor specific s/powwer/power > operation known as pwr_change_notify. This change adds return > for pwr_change_notify to find success or failure. > > Signed-off-by: Seungwo

Re: [PATCH 08/10] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-08-25 Thread amit daniel kachhap
On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > It can be used in the vendor's driver for the specific purpose. more description of this log will be useful. > > Signed-off-by: Seungwon Jeon > Signed-off-by: Alim Akhtar > --- > drivers/scsi/ufs/ufshcd.c |5 ++--

Re: [PATCH 07/10] scsi: ufs: add add specific callback for hibern8

2015-08-25 Thread amit daniel kachhap
On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > Some host controller needs specific handling before/after > (un)hibernation, This change adds specific callback function > to support vendor's implementation. > > Signed-off-by: Seungwon Jeon > Signed-off-by: Alim Akht

RE: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-08-25 Thread Jie, Yang
> -Original Message- > From: Takashi Iwai [mailto:ti...@suse.de] > Sent: Wednesday, August 26, 2015 1:33 PM > To: Jie, Yang > Cc: Dmitry Torokhov; Luis R. Rodriguez; Girdwood, Liam R; > joonas.lahti...@linux.intel.com; Tom Gundersen; Ming Lei; Al Viro; Greg > Kroah-Hartman; Kay Sievers; Lin

Re: [PATCH 04/10] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-08-25 Thread amit daniel kachhap
Few comments below, On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > Some host controller supports interrupt aggregation, but doesn't > allow to reset counter and timer by s/w. > > Signed-off-by: Seungwon Jeon > Signed-off-by: Alim Akhtar > --- > drivers/scsi/ufs/

RE: [PATCH] mmc: block: disable the reliable write If the card does not support CMD23

2015-08-25 Thread LIYONG
Hi Uffe, The bool variable do_rel_wr is used on line 1408 and line 1436: if (brq->data.blocks> 1 || do_rel_wr) { /* SPI multiblock writes terminate using a special * token, not a STOP_TRANSMISSION request. */ if (do_rel_wr)

Re: [PATCH 02/10] scsi: ufs: add quirk to contain unconformable utrd field

2015-08-25 Thread amit daniel kachhap
Few minor comments below, On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > UTRD(UTP Transfer Request Descriptor)'s field such as offset/length, > especially response's has DWORD expression. This quirk can be specified > for host controller not to conform standard. >

[PATCH v16 10/16] perf, tools, jevents: Add support for long descriptions

2015-08-25 Thread Sukadev Bhattiprolu
Implement support in jevents to parse long descriptions for events that may have them in the JSON files. A follow on patch will make this long description available to user through the 'perf list' command. Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa --- Cha

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-25 Thread Vlastimil Babka
On 26.8.2015 2:36, Changsheng Liu wrote: > > > 在 2015/8/25 19:13, Vlastimil Babka 写道: >> On 08/25/2015 12:25 PM, Changsheng Liu wrote: >>> Thanks very much for your review, I can move the memory from normal zone >>> to movable zone succesfully. >>> And thank you for let me understand the memory m

[PATCH v16 12/16] perf, tools: Support long descriptions with perf list

2015-08-25 Thread Sukadev Bhattiprolu
Previously we were dropping the useful longer descriptions that some events have in the event list completely. This patch makes them appear with perf list. Old perf list: baclears: baclears.all [Counts the number of baclears] vs new: perf list -v: ... baclears: baclears.all [T

[PATCH v16 09/16] perf, tools: Add override support for event list CPUID

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen Add a PERF_CPUID variable to override the CPUID of the current CPU (within the current architecture). This is useful for testing, so that all event lists can be tested on a single system. Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa --- v2

[PATCH v16 05/16] perf, tools: Support CPU id matching for x86 v2

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen Implement the code to match CPU types to mapfile types for x86 based on CPUID. This extends an existing similar function, but changes it to use the x86 mapfile cpu description. This allows to resolve event lists generated by jevents. Signed-off-by: Andi Kleen Signed-off-by: Suk

[PATCH v16 01/16] perf, tools: Add jsmn `jasmine' JSON parser

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen I need a JSON parser. This adds the simplest JSON parser I could find -- Serge Zaitsev's jsmn `jasmine' -- to the perf library. I merely converted it to (mostly) Linux style and added support for non 0 terminated input. The parser is quite straight forward and does not copy any

[PATCH v16 08/16] perf, tools: Add a --no-desc flag to perf list

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen Add a --no-desc flag to perf list to not print the event descriptions that were earlier added for JSON events. This may be useful to get a less crowded listing. It's still default to print descriptions as that is the more useful default for most users. Signed-off-by: Andi Kleen

[PATCH v16 13/16] perf, tools, jevents: Add support for event topics

2015-08-25 Thread Sukadev Bhattiprolu
Allow assigning categories "Topics" field to the PMU events i.e. process the topic field from the JSON file and add a corresponding topic field to the generated C events tables. Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa --- Changelog[v14] [Jiri O

[PATCH v16 11/16] perf, tools: Add alias support for long descriptions

2015-08-25 Thread Sukadev Bhattiprolu
Previously we were dropping the useful longer descriptions that some events have in the event list completely. Now that jevents provides support for longer descriptions (see previous patch), add support for parsing the long descriptions Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu

[PATCH v16 07/16] perf, tools: Query terminal width and use in perf list

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen Automatically adapt the now wider and word wrapped perf list output to wider terminals. This requires querying the terminal before the auto pager takes over, and exporting this information from the pager subsystem. Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu A

[PATCH v16 16/16] perf, tools: Add README for info on parsing JSON/map files

2015-08-25 Thread Sukadev Bhattiprolu
Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa --- tools/perf/pmu-events/README | 122 ++ 1 file changed, 122 insertions(+) create mode 100644 tools/perf/pmu-events/README diff --git a/tools/perf/pmu-events/README b/tools/perf/pmu-events/README

[PATCH v16 14/16] perf, tools: Add support for event list topics

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen Add support to group the output of perf list by the Topic field in the JSON file. Example output: % perf list ... Cache: l1d.replacement [L1D data line replacements] l1d_pend_miss.pending [L1D miss oustandings duration in cycles] l1d_pend_miss.pending_cycles

Re: [PATCH 01/10] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-08-25 Thread amit daniel kachhap
Hi, Few minor comments, On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > This patch introduces Exynos UFS PHY driver. This driver > supports to deal with phy calibration and power control > according to UFS host driver's behavior. > > Signed-off-by: Seungwon Jeon >

[PATCH v16 15/16] perf, tools: Handle header line in mapfile

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen To work with existing mapfiles, assume that the first line in 'mapfile.csv' is a header line and skip over it. Signed-off-by: Andi Kleen Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa --- Changelog[v2] All architectures may not use the "Family" to identify. S

[PATCH v16 06/16] perf, tools: Support alias descriptions

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen Add support to print alias descriptions in perf list, which are taken from the generated event files. The sorting code is changed to put the events with descriptions at the end. The descriptions are printed as possibly multiple word wrapped lines. Example output: % perf list .

[PATCH v16 04/16] perf, tools: Support CPU ID matching for Powerpc

2015-08-25 Thread Sukadev Bhattiprolu
Implement code that returns the generic CPU ID string for Powerpc. This will be used to identify the specific table of PMU events to parse/compare user specified events against. Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa --- Changelog[v14] - [Jiri Olsa] Move this independent

[PATCH v16 03/16] perf, tools: Use pmu_events table to create aliases

2015-08-25 Thread Sukadev Bhattiprolu
At run time (when 'perf' is starting up), locate the specific table of PMU events that corresponds to the current CPU. Using that table, create aliases for the each of the PMU events in the CPU. The use these aliases to parse the user specified perf event. In short this would allow the user to spe

[PATCH v16 00/16] perf, tools: Add support for PMU events in JSON format

2015-08-25 Thread Sukadev Bhattiprolu
CPUs support a large number of performance monitoring events (PMU events) and often these events are very specific to an architecture/model of the CPU. To use most of these PMU events with perf, we currently have to identify them by their raw codes: perf stat -e r100f2 sleep 1 This patchs

[PATCH v16 02/16] perf, tools, jevents: Program to convert JSON file to C style file

2015-08-25 Thread Sukadev Bhattiprolu
From: Andi Kleen This is a modified version of an earlier patch by Andi Kleen. We expect architectures to describe the performance monitoring events for each CPU in a corresponding JSON file, which look like: [ { "EventCode": "0x00", "UMask": "0x01", "Eve

Re: [PATCH 0/5] usb: common and dwc3: converting to unified device property

2015-08-25 Thread Peter Chen
On Tue, Aug 25, 2015 at 02:04:30PM +0300, Heikki Krogerus wrote: > Hi, > > While converting dwc3 to the unified device property interface, I > noticed that there is really nothing preventing of_usb_get_dr_mode and > of_usb_get_maximum_speed from being converted as well. Hope that's OK. > Place t

Re: [PATCH V2 1/3] kvm: use kmalloc() instead of kzalloc() during iodev register/unregister

2015-08-25 Thread Jason Wang
On 08/26/2015 01:45 PM, Joe Perches wrote: > On Wed, 2015-08-26 at 13:39 +0800, Jason Wang wrote: >> > >> > On 08/25/2015 11:29 PM, Joe Perches wrote: >>> > > On Tue, 2015-08-25 at 15:47 +0800, Jason Wang wrote: > > >> > All fields of kvm_io_range were initialized or copied explicitly >

Re: [PATCH V2 1/3] kvm: use kmalloc() instead of kzalloc() during iodev register/unregister

2015-08-25 Thread Joe Perches
On Wed, 2015-08-26 at 13:39 +0800, Jason Wang wrote: > > On 08/25/2015 11:29 PM, Joe Perches wrote: > > On Tue, 2015-08-25 at 15:47 +0800, Jason Wang wrote: > >> > All fields of kvm_io_range were initialized or copied explicitly > >> > afterwards. So switch to use kmalloc(). > > Is there any compi

Re: [PATCH net-next] macvtap/macvlan: use IFF_NO_QUEUE

2015-08-25 Thread Jason Wang
On 08/26/2015 12:32 AM, Vlad Yasevich wrote: > On 08/25/2015 07:30 AM, Jason Wang wrote: >> >> On 08/25/2015 06:17 PM, Michael S. Tsirkin wrote: >>> On Mon, Aug 24, 2015 at 04:33:12PM +0800, Jason Wang wrote: > For macvlan, switch to use IFF_NO_QUEUE instead of tx_queue_len = 0. > > F

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

2015-08-25 Thread Yinghai Lu
On Tue, Aug 25, 2015 at 9:17 PM, Ingo Molnar wrote: > NAK due to lack of cleanliness: the two loops look almost identical - this > sure > can be factored out... Please check complete version at https://patchwork.kernel.org/patch/7074341/ Andrew, Ingo NAKed raw version of this patch, so you may

Re: [PATCH v3] qcom: ipq40xx: Add basic board/dts support for IPQ40XX SoC

2015-08-25 Thread Varadarajan Narayanan
On Tue, Aug 25, 2015 at 02:14:05PM -0700, Stephen Boyd wrote: > On 08/25, Varadarajan Narayanan wrote: > > On Mon, Aug 24, 2015 at 03:49:28PM -0700, Stephen Boyd wrote: > > > On 08/24, Varadarajan Narayanan wrote: > > > > > > + compatible = "qcom,ipq40xx-r3pc", "qcom,ipq40xx"; > > > > + > > >

Re: [PATCH V2 1/3] kvm: use kmalloc() instead of kzalloc() during iodev register/unregister

2015-08-25 Thread Jason Wang
On 08/25/2015 11:29 PM, Joe Perches wrote: > On Tue, 2015-08-25 at 15:47 +0800, Jason Wang wrote: >> > All fields of kvm_io_range were initialized or copied explicitly >> > afterwards. So switch to use kmalloc(). > Is there any compiler added alignment padding > in either structure? If so, those

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-08-25 Thread Takashi Iwai
On Wed, 26 Aug 2015 07:12:46 +0200, Jie, Yang wrote: > > > -Original Message- > > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > > Sent: Wednesday, August 26, 2015 3:58 AM > > To: Takashi Iwai > > Cc: Luis R. Rodriguez; Girdwood, Liam R; Jie, Yang; > > joonas.lahti...@linux.int

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-08-25 Thread yalin wang
> On Aug 26, 2015, at 04:26, Linus Torvalds > wrote: > > On Tue, Aug 25, 2015 at 12:58 PM, Dmitry Torokhov > wrote: >> >> Either build firmware in the kernel or ramdisk (so it is always >> available), or make sure request_firmware() calls are not in driver's >> probe() paths. > > The correct

Re: [PATCH v9 0/3] Enable PPI sysfs interface for TPM 2.0

2015-08-25 Thread Jarkko Sakkinen
On Tue, Aug 25, 2015 at 07:20:24PM +0200, Peter Huewe wrote: > Will look at it as soon as possible - relocating to the us is quite > stressful.sorry about that. > > But since we are already at v9 i think it is in a good shape. > Peter Alright, thanks for informing about this! /Jarkko > Am 25

Re: Proposal for finishing the 64-bit x86 syscall cleanup

2015-08-25 Thread Brian Gerst
>>> Thing 2: vdso compilation with binutils that doesn't support .cfi directives >>> >>> Userspace debuggers really like having the vdso properly >>> CFI-annotated, and the 32-bit fast syscall entries are annotatied >>> manually in hexidecimal. AFAIK Jan Beulich is the only person who >>> understa

RE: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-08-25 Thread Jie, Yang
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Wednesday, August 26, 2015 3:58 AM > To: Takashi Iwai > Cc: Luis R. Rodriguez; Girdwood, Liam R; Jie, Yang; > joonas.lahti...@linux.intel.com; Tom Gundersen; Ming Lei; Al Viro; Greg > Kroah-Hartman; Kay

[PATCH v2] mm: Check if section present during memory block (un)registering

2015-08-25 Thread Yinghai Lu
Tony found on his setup, if memory block size 512M will cause crash during booting. BUG: unable to handle kernel paging request at ea007420 IP: [] get_nid_for_pfn+0x17/0x40 PGD 128ffcb067 PUD 128ffc9067 PMD 0 Oops: [#1] SMP Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not

Re: [PATCH V3 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-08-25 Thread Jason Wang
On 08/25/2015 07:51 PM, Michael S. Tsirkin wrote: > On Tue, Aug 25, 2015 at 05:05:47PM +0800, Jason Wang wrote: >> > We register wildcard mmio eventfd on two buses, one for KVM_MMIO_BUS >> > and another is KVM_FAST_MMIO_BUS. This leads to issue: >> > >> > - kvm_io_bus_destroy() knows nothing abo

Re: [PATCH V2 3/3] kvm: add tracepoint for fast mmio

2015-08-25 Thread Jason Wang
On 08/25/2015 07:34 PM, Michael S. Tsirkin wrote: > On Tue, Aug 25, 2015 at 03:47:15PM +0800, Jason Wang wrote: >> > Cc: Gleb Natapov >> > Cc: Paolo Bonzini >> > Cc: Michael S. Tsirkin >> > Signed-off-by: Jason Wang >> > --- >> > arch/x86/kvm/trace.h | 17 + >> > arch/x86/kvm

Re: [PATCH V2 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-08-25 Thread Jason Wang
On 08/25/2015 07:33 PM, Michael S. Tsirkin wrote: > On Tue, Aug 25, 2015 at 03:47:14PM +0800, Jason Wang wrote: >> > We register wildcard mmio eventfd on two buses, one for KVM_MMIO_BUS >> > and another is KVM_FAST_MMIO_BUS. This leads to issue: >> > >> > - kvm_io_bus_destroy() knows nothing abo

[PATCH v2 RESEND] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-25 Thread Ganapatrao Kulkarni
This implements a workaround for gicv3-its erratum 23144 on Cavium's ThunderX dual-socket platforms, where LPI cannot be routed to a redistributors present on a foreign node. Signed-off-by: Ganapatrao Kulkarni Signed-off-by: Robert Richter --- The patch below is on top of Robert's recent gicv3

Re: [PATCH v2 0/6] perf: Introduce extended syscall error reporting

2015-08-25 Thread Ingo Molnar
* Johannes Berg wrote: > On Tue, 2015-08-25 at 12:07 +0200, Ingo Molnar wrote: > > Having a separate syscall has two (big!) appeals: > > > > - we wouldn't have to touch existing system calls at all. > > > > - extended error reporting would be available for any system call that > > opts to >

Re: [PATCH v5 0/8] Add generic support for relaxed atomics

2015-08-25 Thread Boqun Feng
Hi Will, On Thu, Aug 06, 2015 at 05:54:36PM +0100, Will Deacon wrote: > > Will Deacon (8): > atomics: add acquire/release/relaxed variants of some atomic > operations > asm-generic: rework atomic-long.h to avoid bulk code duplication > asm-generic: add relaxed/acquire/release variants

Re: [PATCH v4 10/11] dma: rename dma_*_writecombine() to dma_*_wc()

2015-08-25 Thread Ingo Molnar
* Andrew Morton wrote: > > There's a catch-22 issue here either way, for instance this rename patch > > has > > been being baked for probably 2 releases already but the difficulty has > > been > > trying to find the appropriate time to merge it without conflict. > > > > If you do it in the

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

2015-08-25 Thread Ingo Molnar
* Yinghai Lu wrote: > --- a/drivers/base/node.c > +++ b/drivers/base/node.c > @@ -390,8 +390,14 @@ int register_mem_sect_under_node(struct memory_block > *mem_blk, int nid) > sect_end_pfn = section_nr_to_pfn(mem_blk->end_section_nr); > sect_end_pfn += PAGES_PER_SECTION - 1; >

[PATCH 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-08-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger These objects can be referenced concurrently throughout the driver, we need a way to make sure threads can't delete them out from under each other. This patch adds the refcount, and refactors the code to use it. Additionally, we cannot iterate over the sas_device_list wi

[PATCH 2/2] mpt3sas: Refcount fw_events and fix unsafe list usage

2015-08-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger The fw_event_work struct is concurrently referenced at shutdown, so add a refcount to protect it, and refactor the code to use it. Additionally, refactor _scsih_fw_event_cleanup_queue() such that it no longer iterates over the list without holding the lock, since _firmwa

[PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

2015-08-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi James & Co, This series is a mpt3sas forward port of Calvin Owens' in-flight reference counting bugfixes for mpt2sas LLD code here: [PATCH v4 0/2] Fixes for memory corruption in mpt2sas http://marc.info/?l=linux-scsi&m=143951695904115&w=2 The differences between mpt

Re: [PATCH] kernel: make module.c itself more explicitly non-modular

2015-08-25 Thread Rusty Russell
Paul Gortmaker writes: > The Kconfig currently controlling compilation of this code is: > > menuconfig MODULES >bool "Enable loadable module support" > > ...meaning that it currently is not being built as a module by anyone. > No surprise here, since modular support being a module would be an

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-25 Thread Michael Ellerman
On Tue, 2015-08-25 at 17:27 -0700, Paul E. McKenney wrote: > On Thu, Aug 20, 2015 at 04:56:04PM +0100, Will Deacon wrote: > > On Thu, Aug 20, 2015 at 10:45:05AM +0100, Michael Ellerman wrote: > > > On Tue, 2015-08-18 at 09:37 +0100, Will Deacon wrote: > > > > > > > > Thanks, that sounds great. FWI

Re: [PATCH] mm: Check if section present during memory block (un)registering

2015-08-25 Thread Yinghai Lu
On Tue, Aug 25, 2015 at 4:08 PM, Andrew Morton wrote: > On Tue, 25 Aug 2015 15:41:16 -0700 Yinghai Lu wrote: > >> Tony found on his setup, if memory block size 512M will cause crash >> during booting. >> >> BUG: unable to handle kernel paging request at ea007420 >> IP: [] get_nid_for_pf

Re: linux: sata_nv: adma support

2015-08-25 Thread Robert Hancock
On Tue, Aug 25, 2015 at 6:58 AM, Pali Rohár wrote: > On Tuesday 25 August 2015 07:20:05 Mark Lord wrote: >> On 15-08-01 09:45 PM, Robert Hancock wrote: >> >On Sat, Aug 1, 2015 at 2:09 PM, Pali Rohár wrote: >> >>On Thursday 25 December 2014 07:22:13 Robert Hancock wrote: >> >>>On Tue, Dec 23, 2014

[PATCH v2] ARM: OMAP: Change all cpu_is_* occurences to soc_is_*

2015-08-25 Thread Keerthy
Currently apart from dra7, omap5 and amx3 all the other SoCs are identified using cpu_is_* functions which is not right since they are all SoCs(System on Chips). Hence changing the SoC identification code to use soc_is instead of cpu_is and keeping defines for cpu_is where needed. This allows us to

[PATCH 6/8] fix staging:android style issue:Comparison to NULL could be written

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/sw_sync.c | 6 +++--- drivers/staging/android/sync.c| 18 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index c90838d..29b5c35 1006

[PATCH 3/8] fix staging:android style issue:Alignment should match open parenthesis

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/ashmem.c | 8 drivers/staging/android/lowmemorykiller.c | 4 ++-- drivers/staging/android/sync.c| 4 ++-- drivers/staging/android/sync.h| 2 +- drivers/staging/android/timed_gpio.c | 12 +++-

[PATCH 2/8] fix staging:android style issue:No space is necessary after a cast

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/ashmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index b340ddc..1312600 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/andro

[PATCH 4/8] fix staging:android style issue:Prefer kernel type 'u32' over 'uint32_t'

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/lowmemorykiller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 61937ab..78e1281 100644 --- a/drivers/staging/android/lowmemorykil

[PATCH 7/8] fix staging:android style issue:definition without comment

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/sync.h | 2 +- drivers/staging/android/timed_gpio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h index 18a94ed..bb42923 100644 --- a/drivers/staging/

[PATCH 8/8] fix staging:android style issue:Please don't use multiple blank lines

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/timed_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/android/timed_gpio.c b/drivers/staging/android/timed_gpio.c index 5c55463..33acbbe 100644 --- a/drivers/staging/android/timed_gpio.c +++ b/drivers/staging/android/t

[PATCH 5/8] fix staging:android style issue:Please use a blank line after function/struct/union/enum declarations

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/lowmemorykiller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 78e1281..3f1311f 100644 --- a/drivers/staging/android/lowmemoryk

[PATCH 1/8] fix staging:android style issue:spaces preferred around that '-'

2015-08-25 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/android/ashmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 60200a3..b340ddc 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/android

[PATCH 0/8] fix drivers/staging/android several coding style issues

2015-08-25 Thread Peng Sun
patches based on linux-next next-20150825 Corrections based on checkpatch.pl with --strict Peng Sun (8): fix staging:android style issue:spaces preferred around that '-' fix staging:android style issue:No space is necessary after a cast fix staging:android style issue:Alignment sh

Re: [PATCH] soc: qcom: smd: Use correct remote processor ID

2015-08-25 Thread Bjorn Andersson
On Tue 25 Aug 13:36 PDT 2015, Andy Gross wrote: > This patch fixes SMEM addressing issues when remote processors need to use > secure SMEM partitions. > Right, sorry for missing that remote_pid and edge_pid isn't in sync... > Signed-off-by: Andy Gross > --- > .../devicetree/bindings/soc/qcom/

Re: [PATCH 0/3] timer: Improve itimers scalability

2015-08-25 Thread Andrew Morton
On Tue, 25 Aug 2015 20:17:45 -0700 Jason Low wrote: > When running a database workload on a 16 socket machine, there were > scalability issues related to itimers. > > Commit 1018016c706f addressed the issue with the thread_group_cputimer > spinlock taking up a significant portion of total run ti

[PATCH v2] ASoC: rockchip: fix a misjudgement by return

2015-08-25 Thread Xing Zheng
Being careless, judge the return value of snd_soc_card_jack_new is opposite, so it should be fixed. --- Changes in v2: Signed-off-by: Xing Zheng Reviewed-by: Dylan Reid sound/soc/rockchip/rockchip_rt5645.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/rockch

[PATCH 3/3] timer: Reduce unnecessary sighand lock contention

2015-08-25 Thread Jason Low
It was found while running a database workload on large systems that significant time was spent trying to acquire the sighand lock. The issue was that whenever an itimer expired, many threads ended up simultaneously trying to send the signal. Most of the time, nothing happened after acquiring the

[PATCH 0/3] timer: Improve itimers scalability

2015-08-25 Thread Jason Low
When running a database workload on a 16 socket machine, there were scalability issues related to itimers. Commit 1018016c706f addressed the issue with the thread_group_cputimer spinlock taking up a significant portion of total run time. This patch series address the other issue where a lot of ti

[PATCH 2/3] timer: Check thread timers only when there are active thread timers

2015-08-25 Thread Jason Low
The fastpath_timer_check() contains logic to check for if any timers are set by checking if !task_cputime_zero(). Similarly, we can do this before calling check_thread_timers(). In the case where there are only process-wide timers, this will skip all the computations for the per-thread timers when

[PATCH 1/3] timer: Optimize fastpath_timer_check()

2015-08-25 Thread Jason Low
In fastpath_timer_check(), the task_cputime() function is always called to compute the utime and stime values. However, this is not necessary if there are no per-thread timers to check for. This patch modifies the code such that we compute the task_cputime values only when there are per-thread time

RE: [V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-25 Thread 河合英宏 / KAWAI,HIDEHIRO
Hi, > From: Peter Zijlstra [mailto:pet...@infradead.org] > > On Sat, Aug 22, 2015 at 02:35:24AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > > From: Peter Zijlstra [mailto:pet...@infradead.org] > > > > > > On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > > > > void crash_kexec(struct

Re: [PATCH V2 0/4] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute

2015-08-25 Thread Suravee Suthikulpanit
Hi Arnd, On 8/26/15 01:48, Arnd Bergmann wrote: On Wednesday 26 August 2015 00:33:25 Suravee Suthikulpanit wrote: This patch adds support to setup DMA coherency for PCI device using the ACPI _CCA attribute. According to the ACPI spec, the _CCA attribute is required for ARM64. Therefore, this pa

Re: [PATCH 2/2] usbnet: Fix a race between usbnet_stop() and the BH

2015-08-25 Thread David Miller
From: Eugene Shatokhin Date: Mon, 24 Aug 2015 23:13:43 +0300 > The race may happen when a device (e.g. YOTA 4G LTE Modem) is > unplugged while the system is downloading a large file from the Net. > > Hardware breakpoints and Kprobes with delays were used to confirm that > the race does actually

[PATCH] arm64: fix bug for reloading FPSIMD state after execve on cpu 0.

2015-08-25 Thread Chunyan Zhang
From: Janet Liu If process A is running on CPU 0 and do execve syscall and after sched_exec, dest_cpu is 0, fpsimd_state.cpu is 0. If at the time Process A get scheduled out and after some kernel threads running on CPU 0, process A is back in CPU 0, A's fpsimd_state.cpu is current cpu id "0", and

Re: [PATCH 1/2] usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared

2015-08-25 Thread David Miller
From: Eugene Shatokhin Date: Mon, 24 Aug 2015 23:13:42 +0300 > It is needed to check EVENT_NO_RUNTIME_PM bit of dev->flags in > usbnet_stop(), but its value should be read before it is cleared > when dev->flags is set to 0. > > The problem was spotted and the fix was provided by > Oliver Neukum

Re: [PATCH v1 3/3] arm64: dts: add Hi6220 mailbox node

2015-08-25 Thread Haojian Zhuang
On Tue, 2015-08-25 at 16:37 +0100, Leif Lindholm wrote: > On Tue, Aug 25, 2015 at 04:51:22PM +0200, Ard Biesheuvel wrote: > > >>Arm kernel should either fetch memory information from > > >>efi or DT. > > > > > > Absolutely. > > > > > >>Currently arm kernel fetch both efi memory informat

Re: [Patch v3] ACPI, PCI: Penalize legacy IRQ used by ACPI SCI

2015-08-25 Thread Aaron Lu
On 08/25/2015 04:01 PM, Thomas Gleixner wrote: > On Fri, 21 Aug 2015, Jiang Liu wrote: >> --- >> Hi Nick, >> Rafael and Thomas have concerns about the way to solve the >> regression by quirk, so could you please help to test this patch? > > Nick, can you please confirm that this works? I saw

Re: [PATCH 2/2] perf probe: Support probing at absolute address

2015-08-25 Thread Wangnan (F)
On 2015/8/26 8:02, 平松雅巳 / HIRAMATU,MASAMI wrote: From: Wang Nan [mailto:wangn...@huawei.com] It should be useful to allow 'perf probe' probe at absolute offset of a target. For example, when (u)probing at a instruction of a shared object in a embedded system where debuginfo is not avaliable but

Re: [PATCH V1 0/3] fix clock issue for fsl,spdif

2015-08-25 Thread Shengjiu Wang
On Tue, Aug 25, 2015 at 11:45:27AM -0700, Michael Turquette wrote: > Quoting Shengjiu Wang (2015-08-11 02:26:51) > > fix clock issue for fsl,spdif > > > > Shengjiu Wang (3): > > ARM: imx6q: Add SPDIF_GCLK clock in clock tree > > ARM: imx6sl: Add SPDIF_GCLK clock in clock tree > > ARM: imx6sx

Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Viresh Kumar
On 26-08-15, 09:25, Pi-Cheng Chen wrote: > The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which > introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will > cause some conflicts if it goes through your tree. I am not sure how this > should be handled, but sho

Re: [PATCH] fs/binfmt_elf_fdpic.c: fix brk area overlap with stack on NOMMU

2015-08-25 Thread Rich Felker
On Wed, Aug 26, 2015 at 11:26:02AM +1000, Greg Ungerer wrote: > Hi Rich, > > On 21/08/15 05:11, Rich Felker wrote: > > From: Rich Felker > > > > On NOMMU archs, the FDPIC ELF loader sets up the usable brk range to > > overlap with all but the last PAGE_SIZE bytes of the stack. This leads > > to

Re: [PATCH V2 2/4] ACPI/scan: Clean up acpi_check_dma

2015-08-25 Thread Rafael J. Wysocki
On Wednesday, August 26, 2015 09:00:23 AM Suravee Suthikulpanit wrote: > Hi Rafael, > > On 8/26/15 06:48, Rafael J. Wysocki wrote: > > >[...] > > On Wednesday, August 26, 2015 12:33:27 AM Suravee Suthikulpanit wrote: > >> diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c > >> index b9657af..

[PATCH] kernel: make module.c itself more explicitly non-modular

2015-08-25 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: menuconfig MODULES bool "Enable loadable module support" ...meaning that it currently is not being built as a module by anyone. No surprise here, since modular support being a module would be an interesting chicken before the egg p

Re: [PATCH 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-08-25 Thread John Youn
On 8/25/2015 3:00 PM, Roman Bacik wrote: >> -Original Message- >> From: John Youn [mailto:john.y...@synopsys.com] >> Sent: August-25-15 2:52 PM >> To: Scott Branden; John Youn; Greg Kroah-Hartman; linux- >> u...@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org; bcm-kernel-feedback-list;

Re: [PATCH v2 7/7] ARM: bcm2835: Add VC4 to the device tree.

2015-08-25 Thread Stephen Warren
On 08/18/2015 03:54 PM, Eric Anholt wrote: > VC4 is the GPU (display and 3D) present on the 2835. This patch and patch 1 seem OK to me, although I'll withhold any ack until the DT binding design discussion with Rob has been resolved. I haven't looked at the OF graph bindings he mentioned so have n

linux-next: build failure after merge of the mmc-uh tree

2015-08-25 Thread Stephen Rothwell
have used te mmc-uh tree from next-20150825 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- 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 http://vger.ke

  1   2   3   4   5   6   7   8   9   10   >