Re: [PATCH RESEND v10] sched/deadline: support dl task migration during cpu hotplug

2015-03-24 Thread Wanpeng Li
Hi Juri, On Tue, Mar 24, 2015 at 09:27:09AM +, Juri Lelli wrote: Hi, On 23/03/2015 08:55, Peter Zijlstra wrote: On Mon, Mar 23, 2015 at 08:25:04AM +0100, Ingo Molnar wrote: +if (cpu = nr_cpu_ids) { +if (dl_bandwidth_enabled()) { +

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2015-03-24 Thread harryxiyou
2015-03-24 17:37 GMT+08:00 w...@redhat.com: From: Fu Wei w...@redhat.com This is a update of Chinese documentation: Documentation/zh_CN/arm64/booting.txt It is based on the modifications of Documentation/arm64/booting.txt in submission: a2c1d73b, cdd78578, c218bca7, 63f8344c.

Re: [RFCv3 PATCH 18/48] sched: Track blocked utilization contributions

2015-03-24 Thread Morten Rasmussen
On Mon, Mar 23, 2015 at 02:08:01PM +, Peter Zijlstra wrote: On Wed, Feb 04, 2015 at 06:30:55PM +, Morten Rasmussen wrote: Introduces the blocked utilization, the utilization counter-part to cfs_rq-utilization_load_avg. It is the sum of sched_entity utilization contributions of

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-24 Thread Linus Walleij
On Mon, Mar 23, 2015 at 2:40 PM, Robert Dolca robert.do...@intel.com wrote: Signed-off-by: Robert Dolca robert.do...@intel.com That's a very terse commit message. + /* Get IRQ GPIO */ + gpiod_irq = devm_gpiod_get_index(client-dev, 0, 0); + if (IS_ERR(gpiod_irq)) +

Re: [PATCH 1/3] block: loop: use kmap(page) instead of page_address(page)

2015-03-24 Thread Christoph Hellwig
On Sun, Mar 22, 2015 at 04:14:52PM +0800, Ming Lei wrote: The raw page allocated in lo_send() can be a highmem page, so kmap(page) should be used for read/write on the page. Also the patch removes kmap()/kunmap() in lo_send() because it isn't needed at all. The description seems odd, what

Re: [PATCH] IIO: Add support for L3GD20H gyroscope

2015-03-24 Thread Linus Walleij
On Mon, Mar 23, 2015 at 2:40 PM, Robert Dolca robert.do...@intel.com wrote: It can be used exactly like L3GD20 but it has a different WhoAmI register value. Signed-off-by: Robert Dolca robert.do...@intel.com Reviewed-by: Linus Walleij linus.wall...@linaro.org Yours, Linus Walleij -- To

Re: [PATCH 2/3] TTY: add support for tty_slave devices.

2015-03-24 Thread Jiri Slaby
Hi, On 03/18/2015, 06:58 AM, NeilBrown wrote: --- /dev/null +++ b/drivers/tty/slave/tty_slave_core.c @@ -0,0 +1,136 @@ ... +static int tty_slave_match(struct device *dev, struct device_driver *drv) +{ + return of_driver_match_device(dev, drv); +} + +static void

Re: [PATCH v6 8/8] ARM: tegra: Add Tegra124 ACTMON support

2015-03-24 Thread Thierry Reding
On Tue, Mar 17, 2015 at 10:36:18AM +0100, Tomeu Vizoso wrote: Add device node for the ACTMON block to the Tegra124 device tree. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- v6: * Remove operating-points property v2:

Re: [PATCH 3/3] block: loop: use vfs ITER_BVEC to read/write backing file

2015-03-24 Thread Christoph Hellwig
On Sun, Mar 22, 2015 at 04:14:54PM +0800, Ming Lei wrote: Now loop code gets simplified a lot, and becomes more clean. Also one extra page copy is avoided for READ in case of none transfer. I really don't like the mess with the wrappers to pretent that read/write work the same, and the

[PATCH 3/3] md/bitmap: fix list_entry_rcu usage.

2015-03-24 Thread Patrick Marlier
Signed-off-by: Patrick Marlier patrick.marl...@gmail.com --- drivers/md/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 3a57679..ed00e46 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -181,7 +181,7 @@

Re: [PATCH 1/1] nfsd: incorrect check for debugfs returns

2015-03-24 Thread Jeff Layton
On Mon, 23 Mar 2015 22:58:05 -0400 Chengyu Song cson...@gatech.edu wrote: debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs is not configured, so the return value should be checked against ERROR_VALUE as well, otherwise the later dereference of the dentry pointer would

Re: [PATCH 1/3] block: loop: use kmap(page) instead of page_address(page)

2015-03-24 Thread Christoph Hellwig
On Tue, Mar 24, 2015 at 06:49:00PM +0800, Ming Lei wrote: On 32bit system, this still may cause pressure on page allocation, since requests are handled concurrently now after using workqueue. kmap slots are from a much smaller resource pool than non-highmem allocations, so if a page needs to

Re: [PATCH 0/3] Reduce system overhead of automatic NUMA balancing

2015-03-24 Thread Dave Chinner
On Mon, Mar 23, 2015 at 12:24:00PM +, Mel Gorman wrote: These are three follow-on patches based on the xfsrepair workload Dave Chinner reported was problematic in 4.0-rc1 due to changes in page table management -- https://lkml.org/lkml/2015/3/1/226. Much of the problem was reduced by

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-24 Thread Daniel Baluta
On Mon, Mar 23, 2015 at 5:18 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Mon, Mar 23, 2015 at 03:40:24PM +0200, Robert Dolca wrote: Signed-off-by: Robert Dolca robert.do...@intel.com --- drivers/iio/common/st_sensors/st_sensors_i2c.c | 35 ++

Re: [virtio-dev] Re: [PATCH v3] Add virtio-input driver.

2015-03-24 Thread Michael S. Tsirkin
On Tue, Mar 24, 2015 at 12:46:21PM +0100, Gerd Hoffmann wrote: Hi, + spin_lock_irqsave(vi-lock, flags); + while ((event = virtqueue_get_buf(vi-evt, len)) != NULL) { + input_event(vi-idev, + le16_to_cpu(event-type), +

RE: [PATCH] ARM: Exynos5420: dt: Fixed the checkpatch.pl WARNING misspelled

2015-03-24 Thread Kukjin Kim
Anand Moon wrote: Changes fixes the misspelled of #interrups-cell. arch/arm/boot/dts/exynos5420.dtsi:224: WARNING: 'interrups' may be misspelled - perhaps 'interrupts'? Tested on OdroidXU3 board. Signed-off-by: Anand Moon linux.am...@gmail.com ---

Re: [RFCv3 PATCH 34/48] sched: Bias new task wakeups towards higher capacity cpus

2015-03-24 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:31:11PM +, Morten Rasmussen wrote: Make wake-ups of new tasks (find_idlest_group) aware of any differences in cpu compute capacity so new tasks don't get handed off to a cpus with lower capacity. That says what; but fails to explain why we want to do this.

[PATCH v2 2/4] clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()

2015-03-24 Thread Javi Merino
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal implementation and use the kernel one. Cc: Mike Turquette mturque...@linaro.org Cc: Stephen Boyd sb...@codeaurora.org Cc: Alex Elder el...@linaro.org Signed-off-by: Javi Merino javi.mer...@arm.com ---

[patch v11 08/23] ARM64 / ACPI: Introduce early_param acpi= to enable/disable ACPI

2015-03-24 Thread Hanjun Guo
From: Al Stone al.st...@linaro.org This implements the following policy to decide whether ACPI should be used to boot the system: - acpi=off: ACPI will not be used to boot the system, even if there is no alternative available (e.g., device tree is empty) - acpi=force: only ACPI will be used to

Re: [V5 PATCH 1/2] ACPI / scan: Add support for ACPI _CLS device matching

2015-03-24 Thread Suravee Suthikulpanit
Not sure if this email went out originally. So, I am resending this. On 3/9/15 10:20, Mika Westerberg wrote: On Fri, Mar 06, 2015 at 12:11:41AM -0600, Suravee Suthikulpanit wrote: Device drivers typically use ACPI _HIDs/_CIDs listed in struct device_driver acpi_match_table to match devices.

Re: [PATCH v8 24/30] PCI/tegra: Remove redundant tegra_pcie_scan_bus()

2015-03-24 Thread Thierry Reding
On Tue, Mar 24, 2015 at 11:34:18AM +0800, Yijing Wang wrote: Now pci_scan_root_bus() is almost similar to pci_create_root_bus() + pci_scan_child_bus(). So we could use common pci_scan_root_bus() in pci_common_init_dev() to scan pci busses. tegra_pcie_scan_bus() is redundant, remove it.

Re: [PATCH] staging: octeon-usb: Made octeon_usb_match const

2015-03-24 Thread Greg KH
On Mon, Mar 09, 2015 at 11:09:03PM +0100, Mateusz Kulikowski wrote: An of_device_id should be const (checkpatch.pl warning). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com Acked-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/staging/octeon-usb/octeon-hcd.c | 2 +- 1

[PATCH v4 2/3] iio: adc: vf610: implement configurable conversion modes

2015-03-24 Thread Stefan Agner
Support configurable conversion mode through sysfs. So far, the mode used was low-power, which is enabled by default now. Beside that, the modes normal and high-speed are selectable as well. Use the new device tree property which specifies the maximum ADC conversion clock frequencies. Depending

Re: [PATCH v9 06/14] perf: Add AUX record

2015-03-24 Thread Jiri Olsa
On Tue, Mar 24, 2015 at 01:27:22PM +0200, Adrian Hunter wrote: On 24/03/15 13:07, Jiri Olsa wrote: On Wed, Jan 14, 2015 at 02:18:15PM +0200, Alexander Shishkin wrote: When there's new data in the AUX space, output a record indicating its offset and size and a set of flags, such as

Re: [PATCH v1 0/2] perf/kvm: perf-kvm-stat on powerpc

2015-03-24 Thread Michael Ellerman
On Tue, 2015-03-24 at 12:18 +0530, Hemant Kumar wrote: Hi Michael, These patches were posted a month back. We don't have any review comments to handle at this time. Can you pull these patches to your tree? Please, do let me know if you want me to rebase these patches to a different tree

[RFC PATCH 07/11] lib: sysctl handling (kernel glue code)

2015-03-24 Thread Hajime Tazaki
This interacts with fs/proc_fs.c for sysctl-like interface accessed via lib_init() API. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sysctl.c | 284 ++ 1 file changed, 284 insertions(+) create mode 100644 arch/lib/sysctl.c

Re: [PATCH v10 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-24 Thread Hanjun Guo
On 2015年03月24日 02:32, Stefano Stabellini wrote: On Sat, 21 Mar 2015, Hanjun Guo wrote: +CC Parth Dixit, Stefano Stabellini. On 2015年03月21日 02:54, Will Deacon wrote: On Thu, Mar 19, 2015 at 04:09:33AM +, Hanjun Guo wrote: On 2015/3/19 3:05, Will Deacon wrote: If you can get that in

[PATCH 2/9] tools lib traceevent: Copy trace_clock and free it

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The pevent-trace_clock should not be a direct pointer to what was given. It should be copied and freed. Note, valgrind pointed this out when a caller passed in a pointer that needed to be freed and it never was. Ideally, pevent should copy it

[PATCH 0/9] tools lib traceevent: Pulling in updates from trace-cmd

2015-03-24 Thread Steven Rostedt
Arnaldo, I took a look at the differences between what I have in trace-cmd and what is sitting in tools/lib/traceevent, and I put together a patch set that brings in fixes and updates to libtraceevent. -- Steve Local SHA1: bd9d9602719a24d0843bb04e52b6bf98d9e90881 Josef Bacik (1): tools

[PATCH 7/9] tools lib traceevent kbuffer: Remove extra update to data pointer in PADDING

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org When a event PADDING is hit (a deleted event that is still in the ring buffer), translate_data() sets the length of the padding and also updates the data pointer which is passed back to the caller. This is unneeded because the caller also updates

[PATCH 3/9] tools lib traceevent: Handle %z in bprint format

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The %z printf specifier was not handled making trace_printk()s in the kernel that used this break on output. Reported-by: Shawn Bohrer shawn.boh...@gmail.com Signed-off-by: Steven Rostedt rost...@goodmis.org ---

[patch v11 04/23] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2015-03-24 Thread Hanjun Guo
From: Al Stone al.st...@linaro.org As we want to get ACPI tables to parse and then use the information for system initialization, we should get the RSDP (Root System Description Pointer) first, it then locates Extended Root Description Table (XSDT) which contains all the 64-bit physical address

[patch v11 03/23] ARM64: allow late use of early_ioremap

2015-03-24 Thread Hanjun Guo
From: Mark Salter msal...@redhat.com Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_ioremap_reset()) added a missing call to early_ioremap_reset(). This triggers a BUG if code tries using early_ioremap() after the early_ioremap_reset(). This is a problem for some ACPI code which needs

[patch v11 12/23] ARM64 / ACPI: Parse MADT for SMP initialization

2015-03-24 Thread Hanjun Guo
MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled cpu with valid MPIDR into cpu_possible_map. ACPI 5.1 only has two explicit methods to boot up SMP, PSCI

[PATCH v2 4/4] media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

2015-03-24 Thread Javi Merino
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal implementation and use the kernel one. Cc: Mauro Carvalho Chehab mche...@osg.samsung.com Acked-by: Antti Palosaari cr...@iki.fi Reviewed-by: Antti Palosaari cr...@iki.fi Signed-off-by: Javi Merino javi.mer...@arm.com ---

[PATCH v2 1/4] kernel.h: Implement DIV_ROUND_CLOSEST_ULL

2015-03-24 Thread Javi Merino
We have grown a number of different implementations of DIV_ROUND_CLOSEST_ULL throughout the kernel. Move the i915 one to kernel.h so that it can be reused. Cc: Jani Nikula jani.nik...@linux.intel.com Cc: David Airlie airl...@linux.ie Cc: Guenter Roeck li...@roeck-us.net Cc: Andrew Morton

[patch v11 02/23] ACPI: add arm64 to the platforms that use ioremap

2015-03-24 Thread Hanjun Guo
From: Graeme Gregory graeme.greg...@linaro.org Now with the base changes to the arm memory mapping it is safe to convert to using ioremap to map in the tables after acpi_gbl_permanent_mmap is set. CC: Rafael J Wysocki r...@rjwysocki.net Tested-by: Robert Richter rrich...@cavium.com Tested-by:

[patch v11 06/23] ACPI / sleep: Introduce CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT

2015-03-24 Thread Hanjun Guo
From: Graeme Gregory graeme.greg...@linaro.org ACPI 5.1 does not currently support S states for ARM64 hardware but ACPI code will call acpi_target_system_state() and acpi_sleep_init() for device power management, so introduce CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT and select it for x86 and ia64

[patch v11 01/23] ACPI / table: Use pr_debug() instead of pr_info() for MADT table scanning

2015-03-24 Thread Hanjun Guo
For a normal 8 cpu sockets system, it will up to 240 cpu threads (Xeon E7 v2 family for now), and we need 240 entries for local apic or local x2apic in MADT table, so it will be much verbose information printed with a slow uart console when system booted, this will be even worse with large system

[patch v11 07/23] ARM64 / ACPI: Introduce PCI stub functions for ACPI

2015-03-24 Thread Hanjun Guo
CONFIG_ACPI depends CONFIG_PCI on x86 and ia64, in ARM64 server world we will have PCIe in most cases, but some of them may not, make CONFIG_ACPI depend CONFIG_PCI on ARM64 will satisfy both. With that case, we need some arch dependent PCI functions to access the config space before the PCI root

Re: [PATCH] staging: rts5208: Fixed 80 char indent warnings

2015-03-24 Thread Joe Perches
On Tue, 2015-03-24 at 11:00 +0300, Dan Carpenter wrote: None of these are correct. :( True. Please run your proposed patches through checkpatch before sending them. I think it would be an improvement to rework the flow-hiding TRACE_RET and TRACE_GOTO macros into two separate lines. It would

[PATCH pci] PCI: pci_host_assign_domain_nr() can be static

2015-03-24 Thread kbuild test robot
Signed-off-by: Fengguang Wu fengguang...@intel.com --- host-bridge.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index c78f4d0..6c2ca7c 100644 --- a/drivers/pci/host-bridge.c +++ b/drivers/pci/host-bridge.c @@

[pci:pci/enumeration-yw8 33/34] drivers/pci/host-bridge.c:220:6: sparse: symbol 'pci_host_assign_domain_nr' was not declared. Should it be static?

2015-03-24 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/enumeration-yw8 head: 4a5e3fc210d3aef19eaa32255183534aa4ac031d commit: d72e727590caa7bd9f7e82a2cf23f6325aa3e75e [33/34] PCI: Remove pci_bus_assign_domain_nr() reproduce: # apt-get install sparse git checkout

[PATCH v4 2/4] staging: unisys: use local dev_t instead of global

2015-03-24 Thread Sudip Mukherjee
the dev_t is stored in visorchipset_platform_device.dev.devt, so we can pass that value as an argument to visorchipset_file_cleanup() instead of using the global variable in file.c Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v4: messed up the subject in v3 v3: broke the previous

[PATCH v4 3/4] staging: unisys: use local variable instead of global

2015-03-24 Thread Sudip Mukherjee
dev_t was passed as an argument to visorchipset_file_init() which was storing that value in a global variable so that it can be used while cleanup. now we are no longer using the global variable in the cleanup so we donot need to keep the global variable anymore. Signed-off-by: Sudip Mukherjee

[PATCH v4 4/4] staging: unisys: remove unused variable

2015-03-24 Thread Sudip Mukherjee
after the first patch of this series the registered variable was no longer required. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v4: messed up the subject in v3 v3: broke the previous patch in this series drivers/staging/unisys/visorchipset/file.c | 4 1 file changed, 4

Re: [PATCH] EDMA: TI: fixed memory leak when terminating running transfers

2015-03-24 Thread Peter Ujfalusi
On 03/23/2015 05:00 PM, Petr Kulhavy wrote: If edma_terminate_all() was called while a transfer was running (i.e. after edma_execute() but before edma_callback()) the echan-edesc was not freed. This was due to the fact that a running transfer is on none of the vchan lists: desc_submitted,

Re: [RFCv3 PATCH 33/48] sched: Energy-aware wake-up task placement

2015-03-24 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:31:10PM +, Morten Rasmussen wrote: @@ -5138,6 +5224,10 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f prev_cpu = cpu; if (sd_flag SD_BALANCE_WAKE) { + if (energy_aware()) { +

Re: [PATCH 1/2] octeon-usb:Fix coding style issue with space between function name and opening bracket

2015-03-24 Thread Dan Carpenter
On Tue, Mar 24, 2015 at 08:08:16AM -0400, Nicholas Krause wrote: Dan, Just one more question, is that patch going to be merged or should I resubmit it as a series of one patch? Don't resubmit. Wait for Greg to mail you. It can take a several weeks because he is busy. regards, dan

Re: [RFC] propagating symtab load errors. was: Re: [GIT PULL 00/20] perf/core improvements and fixes

2015-03-24 Thread Jiri Olsa
On Mon, Mar 23, 2015 at 07:18:37PM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Mar 10, 2015 at 11:03:31AM +0100, Ingo Molnar escreveu: So I got this error today: ┌─Warning:───┐ │The vmlinux file can't be used. │

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-24 Thread Lars-Peter Clausen
On 03/24/2015 02:26 PM, Robert Dolca wrote: On Tue, Mar 24, 2015 at 2:17 PM, Lars-Peter Clausen l...@metafoo.de wrote: [...] +int st_sensors_acpi_i2c_probe(struct i2c_client *client, + const struct acpi_device_id *match) +{ + const struct acpi_device_id *id;

[RFC PATCH 2/4] mmc: sdhci: Support maximum DMA latency request via PM QOS

2015-03-24 Thread Adrian Hunter
Add support for setting a maximum DMA latency via the PM QOS framework. Drivers can set host-dma_latency to the desired value otherwise the initial value (PM_QOS_DEFAULT_VALUE) will result in no PM QOS request being added. It may be that there isn't time between consecutive I/O requests to reach

[PATCH 4/9] tools lib traceevent: Add pevent_data_pid_from_comm()

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org There is a pevent_data_comm_from_pid() that returns the cmdline stored for a given pid in order for users to map pids to comms, but there's no method to convert a comm back to a pid. This is useful for filters that specify a comm instead of a PID

[PATCH 6/9] tools lib traceevent: Make plugin options either string or boolean

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com When a plugin option is defined, by default it is a boolean (true or false). If the option is something else, then it needs to set its value field to a default string other than NULL (can be just ). If the value is not set then the option is considered

Re: [PATCH] btrfs: explicitly set control file's private_data

2015-03-24 Thread David Sterba
On Mon, Mar 23, 2015 at 06:34:13PM +0100, Tom Van Braeckel wrote: The private_data member of the Btrfs control device file (/dev/btrfs-control) is used to hold the current transaction and needs to be initialized to NULL to signify that no transaction is in progress. We explicitly set the

[PATCH 8/9] tools lib traceevent: Add way to find sub buffer boundary

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org For debugging purposes, it may be helpful for the kbuffer library to flag when crossing a sub buffer. Signed-off-by: Steven Rostedt rost...@goodmis.org --- tools/lib/traceevent/kbuffer-parse.c | 11 +++ tools/lib/traceevent/kbuffer.h

[PATCH 5/9] tools lib traceevent: Fix whitespace error

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Signed-off-by: Steven Rostedt rost...@goodmis.org --- tools/lib/traceevent/event-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index

[patch v11 05/23] ACPI: fix acpi_os_ioremap for arm64

2015-03-24 Thread Hanjun Guo
From: Mark Salter msal...@redhat.com The acpi_os_ioremap() function may be used to map normal RAM or IO regions. The current implementation simply uses ioremap_cache(). This will work for some architectures, but arm64 ioremap_cache() cannot be used to map IO regions which don't support caching.

Re: [PATCH] checkpatch: remove unneeded or (|)

2015-03-24 Thread Joe Perches
On Tue, 2015-03-24 at 12:54 +0100, Christian Borntraeger wrote: Am 12.03.2015 um 15:56 schrieb Andy Whitcroft: On Thu, Mar 12, 2015 at 07:13:35AM -0700, Joe Perches wrote: On Thu, 2015-03-12 at 15:07 +0100, Christian Borntraeger wrote: while porting commit 89a883530fe7 (checkpatch: ## is

[patch v11 15/23] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-03-24 Thread Hanjun Guo
Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is used, and then register device's gsi with the core IRQ subsystem. acpi_register_gsi() is similar to DT based irq_of_parse_and_map(), since gsi is unique in the system, so use hwirq number directly for the mapping. We are going to

[PATCH v2 0/4] Consolidate DIV_ROUND_CLOSEST_ULL()

2015-03-24 Thread Javi Merino
The kernel has grown a number of different implementations of DIV_ROUND_CLOSEST_ULL(). That is, a macro that does the same as DIV_ROUND_CLOSEST() but with the first operand being an unsigned long long. That means that you have to do the division using do_div() instead of using the C division

[PATCH v4 1/4] staging: unisys: remove unneeded comparison

2015-03-24 Thread Sudip Mukherjee
visorchipset_file_cleanup() is called from visorchipset_exit() which is the module_exit function and this function is executing means module_init succeeded, so registered will always be true at this time. and majordev has also been initialized in the init function. hence these comparisons will

Re: [PATCH 2/2] regulator: max8660: Add error message for missing regulator data

2015-03-24 Thread Wolfram Sang
for (i = 0; i pdata-num_subdevs; i++) { - if (!pdata-subdevs[i].platform_data) + if (!pdata-subdevs[i].platform_data) { + dev_err(dev, No data for %d regulator\n, i); return -EINVAL; + } I'd rather save

nfs: wrong function to increment NFSIOS_READPAGES/WRITEPAGES stat counters?

2015-03-24 Thread Nicolas Iooss
Hello, Since commit 5a254d08b086 (nfs: replace nfs_add_stats with nfs_inc_stats when add one) [1], nfs_readpage and nfs_do_writepage use nfs_inc_stats to increment NFSIOS_READPAGES and NFSIOS_WRITEPAGES instead of nfs_add_stats. However nfs_inc_stats is not similar as nfs_add_stats with

RE: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases

2015-03-24 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote: Hi, Hi, On Monday, February 23, 2015 10:07:50 AM Viresh Kumar wrote: On 20 February 2015 at 21:50, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Allow driver build for !THERMAL or !CPU_THERMAL cases. The new dependency rule is the

Re: [PATCH 11/24] huge tmpfs: shrinker to migrate and free underused holes

2015-03-24 Thread Kirill A. Shutemov
On Sun, Mar 22, 2015 at 09:40:02PM -0700, Hugh Dickins wrote: (I think Kirill has a problem of that kind in his page_remove_rmap scan). It will be interesting to see what Kirill does to maintain the stats for huge pagecache: but he will have no difficulty in finding fields to store counts,

RE: [PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-24 Thread Kukjin Kim
Mark Brown wrote: On Sun, Mar 22, 2015 at 10:40:41AM +, Charles Keepax wrote: There are two PMICs on Cragganmore, currently one dynamically assign its IRQ base and the other uses a fixed base. It is possible for the statically assigned PMIC to fail if its IRQ is taken by the

Re: [RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

2015-03-24 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:31:13PM +, Morten Rasmussen wrote: cpuidle associates all idle-states with each cpu while the energy model associates them with the sched_group covering the cpus coordinating entry to the idle-state. To get idle-state power consumption it is therefore necessary

Re: [Bugfix] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-03-24 Thread Bjorn Helgaas
On Mon, Mar 23, 2015 at 9:59 PM, Jiang Liu jiang@linux.intel.com wrote: On 2015/3/24 10:42, Bjorn Helgaas wrote: On Mon, Mar 23, 2015 at 9:22 PM, Jiang Liu jiang@linux.intel.com wrote: On 2015/3/24 0:48, Bjorn Helgaas wrote: On Mon, Mar 23, 2015 at 03:22:14PM +0800, Jiang Liu wrote:

Re: [PATCH 1/2] octeon-usb:Fix coding style issue with space between function name and opening bracket

2015-03-24 Thread Joe Perches
On Tue, 2015-03-24 at 16:00 +0300, Dan Carpenter wrote: On Tue, Mar 24, 2015 at 08:08:16AM -0400, Nicholas Krause wrote: Just one more question, is that patch going to be merged or should I resubmit it as a series of one patch? Don't resubmit. Wait for Greg to mail you. It can take a

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-24 Thread Robert Dolca
On Tue, Mar 24, 2015 at 2:17 PM, Lars-Peter Clausen l...@metafoo.de wrote: [...] +int st_sensors_acpi_i2c_probe(struct i2c_client *client, + const struct acpi_device_id *match) +{ + const struct acpi_device_id *id; + struct gpio_desc *gpiod_irq; +

[RFC PATCH 03/11] lib: public headers and API implementations for userspace programs

2015-03-24 Thread Hajime Tazaki
userspace programs access via public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- arch/lib/include/sim-assert.h | 23 +++ arch/lib/include/sim-init.h | 134

[RFC PATCH 05/11] lib: time handling (kernel glue code)

2015-03-24 Thread Hajime Tazaki
Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/hrtimer.c | 122 arch/lib/tasklet-hrtimer.c | 57 +++ arch/lib/time.c| 149 + arch/lib/timer.c | 230

[PATCH 2/2] drm/msm/mdp5: Remove CTL flush dummy bits

2015-03-24 Thread Stephane Viau
This TODO can now be removed and replaced by the previous patch drm/msm/mdp5: Update headers (add CTL flush bits) Signed-off-by: Stephane Viau sv...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c | 11 --- 1 file changed, 11 deletions(-) diff --git

[PATCH 1/9] tools lib traceevent: Handle NULL comm name

2015-03-24 Thread Steven Rostedt
From: Josef Bacik jba...@fb.com It is possible that a pid has no associated comm attached to it, although it can still be passed to pevent_register_comm(). But if comm is NULL, it will cause strdup() to segfault. To prevent this from happening, if comm is NULL use the default ... name for the

[PATCH 9/9] tools lib traceevent: Free filter tokens in process_filter()

2015-03-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org valgrind showed that the filter token wasn't being freed properly in process_filter(). Signed-off-by: Steven Rostedt rost...@goodmis.org --- tools/lib/traceevent/parse-filter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [rtc-linux] Re: [PATCH v2 2/2] mfd: sec-core: Modify RTC compatible name of S2MPS13

2015-03-24 Thread Krzysztof Kozlowski
2015-03-23 13:34 GMT+01:00 Lee Jones lee.jo...@linaro.org: On Tue, 17 Mar 2015, Krzysztof Kozlowski wrote: From: Chanwoo Choi cw00.c...@samsung.com This patch modify the RTC compatible name of S2MPS13 because S2MPS13's RTC is equal to S2MPS14's RTC. Cc: Lee Jones lee.jo...@linaro.org

[patch v11 22/23] ARM64 / ACPI: additions of ACPI documentation for arm64

2015-03-24 Thread Hanjun Guo
From: Al Stone al.st...@linaro.org One more documentation file are also being added: A section by section review of the ACPI spec (acpi_object_usage.txt) to note recommendations and prohibitions on the use of the numerous ACPI tables and objects. This sets out the current expectations of the

Re: [Intel-gfx] [git pull] drm fixes

2015-03-24 Thread Josh Boyer
On Tue, Mar 24, 2015 at 9:57 AM, Josh Boyer jwbo...@fedoraproject.org wrote: On Tue, Mar 24, 2015 at 9:40 AM, Daniel Vetter dan...@ffwll.ch wrote: On Tue, Mar 24, 2015 at 09:15:32AM -0400, Josh Boyer wrote: On Tue, Mar 24, 2015 at 3:32 AM, Daniel Vetter dan...@ffwll.ch wrote: On Mon, Mar 23,

Re: [PATCH] MIPS: Provide fallback reboot/poweroff/halt implementations

2015-03-24 Thread James Hogan
Hi Andrew, On 04/03/15 23:59, Andrew Bresticker wrote: If a machine-specific hook is not implemented for restart, poweroff, or halt, fall back to halting secondary CPUs, disabling interrupts, and spinning. In the case of restart, attempt to restart the system via do_kernel_restart() (which

Re: [PATCH] selinuxfs: Fix sel_write_enforce broken return value

2015-03-24 Thread Stephen Smalley
On 03/23/2015 09:01 PM, Joe Perches wrote: Return a negative error value like the rest of the entries in this function. Signed-off-by: Joe Perches j...@perches.com Acked-by: Stephen Smalley s...@tycho.nsa.gov --- Maybe this should be stable, it goes back to commit b77a493b1dc8 (SELinux:

Re: [PATCH] mtd: nand: Prevent possible kernel lockup in nand_command()

2015-03-24 Thread Roger Quadros
Hi, On 23/02/15 17:26, Roger Quadros wrote: If a NAND device is not really present or pin muxes are not correctly configured we can lock up the kernel waiting infinitely for NAND_STATUS to be ready. This can be easily reproduced on TI's DRA7-evm board by booting it without NAND support in

[PATCH] input: usbtouchscreen: Add new model from IRTOUCHSYSTEMS

2015-03-24 Thread poeschel
From: Lars Poeschel poesc...@lemonage.de This adds support for another model of IRTOUCH SYSTEMS Co.,LtD infrared touchscreens. The USB vendorID/deviceID is 6615/0012. It is also sold under the label Elektrosil. The datasheet states that coordinates for x and y are in the range from 0 to 32767.

[PATCH v4 1/3] iio: adc: vf610: use ADC clock within specification

2015-03-24 Thread Stefan Agner
Depending on conversion mode used, the ADC clock (ADCK) needs to be below a maximum frequency. According to Vybrid's data sheet this is 20MHz for the low power conversion mode. The ADC clock is depending on input clock, which is the bus clock by default. Vybrid SoC are typically clocked at at

[PATCH v4 3/3] ARM: dts: add property for maximum ADC clock frequencies

2015-03-24 Thread Stefan Agner
The ADC clock frequency is limited depending on modes used. Add device tree property which allow to set the mode used and the maximum frequency ratings for the instance. These allows to set the ADC clock to a frequency which is within specification according to the actual mode used. Acked-by:

[PATCH v4 0/3] iio: adc: vf610: respect ADC clocking limitations

2015-03-24 Thread Stefan Agner
Respect ADC clocking limitations which lead to bogous reading on 500MHz clocked Vybrid SoC's. Additionally, also implement a sysfs-property to configure the conversion mode available in this ADC peripherial. The clock limitations are specified using the device tree, hence I seek an Ack from the

Re: [RFCv3 PATCH 28/48] sched: Use capacity_curr to cap utilization in get_cpu_usage()

2015-03-24 Thread Peter Zijlstra
On Tue, Mar 24, 2015 at 11:36:51AM +, Morten Rasmussen wrote: On Mon, Mar 23, 2015 at 04:14:00PM +, Peter Zijlstra wrote: On Wed, Feb 04, 2015 at 06:31:05PM +, Morten Rasmussen wrote: @@ -4596,9 +4596,10 @@ static int get_cpu_usage(int cpu) { unsigned long usage =

Re: [PATCH v4 3/4] staging: unisys: use local variable instead of global

2015-03-24 Thread Dan Carpenter
I don't like how these are broken up at all. It's random grab bag of renaming and deleting. Do it like this, perhaps: [patch 1] delete registered Leave the if (MAJOR(majordev) = 0) for now, because it just confuses issues to mix it in. Delete all references to registered. [patch 1] use local

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-24 Thread Namhyung Kim
Hi Ingo, On Tue, Mar 24, 2015 at 08:08:03AM +0100, Ingo Molnar wrote: * Joonsoo Kim js1...@gmail.com wrote: How about following change and making 'perf kmem' print pfn? If we store pfn on the trace buffer, we can print $debugfs/tracing/trace as is and 'perf kmem' can also print pfn.

[PATCH 0/2] Implement CTL flush dummy bits

2015-03-24 Thread Stephane Viau
This patchset proposes in a couple of changes (separate generated header) to remove the temporary defined symbols in the code and place them into the generated header file. Stephane Viau (2): drm/msm/mdp5: Update headers (add CTL flush bits) drm/msm/mdp5: Remove CTL flush dummy bits

[PATCH] rnndb/mdp5: Add some CTL flush bits

2015-03-24 Thread Stephane Viau
Some upcoming targets have more bits to set in CTL_FLUSH registers. Example: msm8x16 needs to set TIMING1 bit so that some of the INTF1's interface registers get flushed. Signed-off-by: Stephane Viau sv...@codeaurora.org --- rnndb/mdp/mdp5.xml | 8 1 file changed, 8 insertions(+) diff

[PATCH 1/2] drm/msm/mdp5: Update headers (add CTL flush bits)

2015-03-24 Thread Stephane Viau
Some upcoming targets have more bits to set in CTL_FLUSH registers. Example: msm8x16 needs to set TIMING1 bit so that some of the INTF1's interface registers get flushed. Signed-off-by: Stephane Viau sv...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h | 12 ++-- 1 file

Re: [PATCH v3] kprobes: Disable Kprobe when ftrace arming fails

2015-03-24 Thread Steven Rostedt
On Tue, 24 Mar 2015 08:59:25 +0100 Petr Mladek pmla...@suse.cz wrote: I used the term to answer the question about interference between Jprobes, ftrace, and live patches. I am sorry again. I should have described it in a broader context. Don't be sorry. It wasn't a big deal ;-) Anyway,

Re: [RFCv3 PATCH 38/48] sched: Infrastructure to query if load balancing is energy-aware

2015-03-24 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:31:15PM +, Morten Rasmussen wrote: + .use_ea = (energy_aware() sd-groups-sge) ? true : false, The return value of a logical and should already be a boolean. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-24 Thread Linus Walleij
On Tue, Mar 24, 2015 at 2:38 PM, Lars-Peter Clausen l...@metafoo.de wrote: On 03/24/2015 02:26 PM, Robert Dolca wrote: On Tue, Mar 24, 2015 at 2:17 PM, Lars-Peter Clausen l...@metafoo.de wrote: In the ACPI description you specify one or more IRQ GPIO pins. In the driver you request the GPIO

[patch v11 00/23] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-24 Thread Hanjun Guo
Some fixes since last version: - Add a patch 19/23 for disabling ACPI for Xen on ARM64 for now to fix compile errors on XEN ACPI, Stefano and Julien are ok with this temporary solution. - Add patch ARM64 / ACPI: Don't unflatten device tree if acpi=force is passed, which will fix the

Re: [PATCH] x86: vdso32/syscall.S: do not load __USER32_DS to %ss

2015-03-24 Thread Denys Vlasenko
On 03/24/2015 07:34 AM, Ingo Molnar wrote: * Denys Vlasenko vda.li...@googlemail.com wrote: On Mon, Mar 23, 2015 at 9:38 PM, Andy Lutomirski l...@amacapital.net wrote: Actually, I want to remove the added comment in the code. I don't see why we should have a specific comment about SS and

[patch v11 14/23] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-03-24 Thread Hanjun Guo
Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1, since MPIDR for ARM64 is 64-bit, so typedef u64 for phys_cpuid_t. The ARM architecture defines the MPIDR register as the CPU hardware identifier. This patch adds the code

[patch v11 13/23] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-24 Thread Hanjun Guo
CPU hardware ID (phys_id) is defined as u32 in structure acpi_processor, but phys_id is used as int in acpi processor driver, so it will lead to some inconsistence for the drivers. Furthermore, to cater for ACPI arch ports that implement 64 bits CPU ids a generic CPU physical id type is required.

[patch v11 09/23] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2015-03-24 Thread Hanjun Guo
From: Graeme Gregory graeme.greg...@linaro.org If the early boot methods of acpi are happy that we have valid ACPI tables and acpi=force has been passed, then do not unflat devicetree effectively disabling further hardware probing from DT. CC: Catalin Marinas catalin.mari...@arm.com CC: Will

  1   2   3   4   5   6   7   8   9   10   >