Re: media: platform: s5p-jpeg: jpeg-hw-exynos4: Remove some unused functions

2015-01-04 Thread Pankaj Dubey
+Tony Nadackal Hi Rickard, On Saturday 03 January 2015 02:07 AM, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: exynos4_jpeg_set_timer_count() exynos4_jpeg_get_frame_size() exynos4_jpeg_set_sys_int_enable() exynos4_jpeg_get_fifo_status() This was partially

Re: [PATCH v6 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-04 Thread Suthikulpanit, Suravee
On 1/4/15, 04:55, Hanjun Guo hanjun@linaro.org wrote: Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo

[PATCH v6 15/17] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-01-04 Thread Hanjun Guo
From: Al Stone al.st...@linaro.org ACPI reduced hardware mode is disabled by default, but ARM64 can only run properly in ACPI hardware reduced mode, so select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. Reviewed-by: Grant Likely grant.lik...@linaro.org Tested-by: Suravee

[PATCH v6 17/17] Documentation: ACPI for ARM64

2015-01-04 Thread Hanjun Guo
From: Graeme Gregory graeme.greg...@linaro.org Add documentation for the guidelines of how to use ACPI on ARM64. Reviewed-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by:

[PATCH v6 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-04 Thread Hanjun Guo
Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/time.c

[PATCH v6 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig

2015-01-04 Thread Hanjun Guo
From: Graeme Gregory graeme.greg...@linaro.org Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the future. Reviewed-by: Grant Likely

[PATCH v6 12/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-01-04 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. Originally-by:

[PATCH v6 04/17] ARM64 / ACPI: Introduce sleep-arm.c

2015-01-04 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() for device power managment, so introduce sleep-arm.c to allow other drivers to function until S states are defined. Tested-by: Suravee

[PATCH v6 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-04 Thread Hanjun Guo
From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which is hardware abstraction agnostic). In a similar way,

[PATCH v6 10/17] ARM64 / ACPI: Parse MADT for SMP initialization

2015-01-04 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 v6 03/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2015-01-04 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 v6 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-01-04 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. MPIDR is the CPU hardware ID as local APIC ID on x86 platform, so we use MPIDR not the GIC CPU interface ID to identify CPUs. Tested-by: Suravee Suthikulpanit

[PATCH v6 05/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-04 Thread Hanjun Guo
From: Al Stone al.st...@linaro.org Introduce one early parameters off and force for acpi, acpi=off will be the default behavior for ARM64, so introduce acpi=force to enable ACPI on ARM64. Disable ACPI before early parameters parsed, and enable it to pass acpi=force if people want use ACPI on

[PATCH v6 09/17] ACPI / table: Print GIC information when MADT is parsed

2015-01-04 Thread Hanjun Guo
When MADT is parsed, print GIC information to make the boot log look pretty: ACPI: GICC (acpi_id[0x] address[e112f000] MPIDR[0x0] enabled) ACPI: GICC (acpi_id[0x0001] address[e112f000] MPIDR[0x1] enabled) ... ACPI: GICC (acpi_id[0x0201] address[e112f000] MPIDR[0x201]

[PATCH v6 08/17] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2015-01-04 Thread Hanjun Guo
There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, the former signals to the OS that the firmware is PSCI compliant. The latter selects the appropriate conduit for PSCI calls by toggling between Hypervisor Calls (HVC) and Secure Monitor Calls (SMC). FADT table contains such

[PATCH v6 07/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-04 Thread Hanjun Guo
Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to make it functional, so introduce some empty

[PATCH v6 06/17] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2015-01-04 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. Tested-by: Suravee Suthikulpanit

[PATCH v6 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-04 Thread Hanjun Guo
Hi, This is the sixth version of ACPI core patches for ARM64 based on ACPI 5.1. updates from v5: - fix the NULL pointer reference in cpu_get_ops() if PSCI is absent and NULL will passed, which found by Suravee when he was testing those patches on Seattle platform. I added his Tested-by

Re: iio: dht11 Updates

2015-01-04 Thread Jonathan Cameron
On 02/01/15 11:28, Richard Weinberger wrote: Am 01.01.2015 um 22:18 schrieb har...@ccbib.org: Hi! On Thu, 01 Jan 2015 12:38:23 +, Jonathan Cameron ji...@kernel.org wrote: On 02/12/14 23:32, Richard Weinberger wrote: Please see my current patches for your driver. As discussed in an

Re: [PATCH 1/2] virtio_pci: double free and invalid memory access of device vqs

2015-01-04 Thread Michael S. Tsirkin
On Fri, Jan 02, 2015 at 02:47:39PM -0500, Sasha Levin wrote: Device VQs were getting freed twice: once in every devices removal functions, and then again in virtio_pci_legacy_remove(). Signed-off-by: Sasha Levin sasha.le...@oracle.com I see. This used to be harmless because it used to be

Re: [PATCH RFC] iio: iadc: wait_for_completion_timeout time in jiffies

2015-01-04 Thread Jonathan Cameron
On 31/12/14 08:59, Nicholas Mc Guire wrote: The timeout value to wait_for_completion_timeout is in jiffies but the value being passed seems like it was intended to by microseconds Note that the timeout was extremely long thus it might be too short now. In any case it probably should be passed

Re: [PATCH 09/10] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-01-04 Thread Hartmut Knaack
Jonathan Cameron schrieb am 04.01.2015 um 11:55: On 01/01/15 13:53, Hartmut Knaack wrote: Daniel Baluta schrieb am 23.12.2014 um 14:22: odr_bits values are between 0 and 11, so we can use the index in kmx61_samp_freq_table instead of odr_bits structure member. Basically looking good, but I

Re: [PATCH 2/2] virtio: don't free memory until the underlying struct device has been released

2015-01-04 Thread Michael S. Tsirkin
On Fri, Jan 02, 2015 at 02:47:40PM -0500, Sasha Levin wrote: When releasing a virtio device, We can't free a struct virtio_device until the underlying struct device has been released, which might not happen immediately on device_unregister() even if that was the device's last reference.

[PATCH] virtio_pci: device-specific release callback

2015-01-04 Thread Michael S. Tsirkin
It turns out we need to add device-specific code in release callback. Move it to virtio_pci_legacy.c. Reported-by: Sasha Levin sasha.le...@oracle.com Signed-off-by: Michael S. Tsirkin m...@redhat.com --- This is intended as dependency for Sasha's patch adding code to release callback.

Re: [RFC PATCH 0/3] Sharing MSIX irq for tx/rx queue pairs

2015-01-04 Thread Michael S. Tsirkin
On Sun, Jan 04, 2015 at 04:38:17PM +0800, Jason Wang wrote: On 12/28/2014 03:52 PM, Michael S. Tsirkin wrote: On Fri, Dec 26, 2014 at 10:53:42AM +0800, Jason Wang wrote: Hi all: This series try to share MSIX irq for each tx/rx queue pair. This is done through: - introducing virtio

Re: [PATCH] brcm80211: brcmsmac: dma: Remove some unused functions

2015-01-04 Thread Rickard Strandqvist
2015-01-04 7:21 GMT+01:00 Larry Finger larry.fin...@lwfinger.net: On 01/03/2015 06:47 PM, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: dma_txflush() dma_txsuspended() This was partially found by using a static code analysis program called cppcheck.

[PATCH 2/13] ALSA: oss: Deletion of unnecessary checks before the function call vfree

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 15:10:52 +0100 The vfree() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

[PATCH 4/13] ALSA: oxygen: Delete an unnecessary check before the function call snd_pcm_suspend

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 17:37:28 +0100 The snd_pcm_suspend() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH] TaskTracker : Simplified thread information tracker.

2015-01-04 Thread Tetsuo Handa
Hello. Richard Guy Briggs wrote: Richard Guy Briggs wrote: On 14/09/28, Tetsuo Handa wrote: (Q2) Does auxiliary record work with only type=SYSCALL case? Auxiliary records don't work with AUDIT_LOGIN because that record has a NULL context. Similarly for core dumps

[PATCH 0/13] ALSA: Deletion of some unnecessary checks

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 4 Jan 2015 11:50:12 +0100 Further update suggestions were taken into account after several patches were applied from static source code analysis. Markus Elfring (3): seq: Deletion of unnecessary checks before the function call

[PATCH v2] fs: isofs: Fix bug in the way to check if the year is a leap year

2015-01-04 Thread Oscar Forner Martinez
Changed the whole algorithm for a call to mktime64 that takes care of all that details. Signed-off-by: Oscar Forner Martinez oscar.forner.marti...@gmail.com --- fs/isofs/util.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/fs/isofs/util.c b/fs/isofs/util.c

[PATCH 1/13] ALSA: seq: Deletion of unnecessary checks before the function call snd_midi_event_free

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 14:54:56 +0100 The snd_midi_event_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 3/13] ALSA: emu10k1: Delete an unnecessary check before the function call kfree

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 17:06:04 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by:

[PATCH 5/13] ALSA: emux: Delete an unnecessary check before the function call snd_sf_free

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 18:28:21 +0100 The snd_sf_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 6/13] ASoC: Intel: Delete an unnecessary check before the function call sst_dma_free

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 19:03:55 +0100 The sst_dma_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 7/13] ASoC: fsi: Deletion of unnecessary checks before the function call clk_enable

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 19:25:55 +0100 The clk_enable() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 8/13] ASoC: Intel: Delete an unnecessary check before the function call release_firmware

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 19:49:37 +0100 The release_firmware() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 9/13] ALSA: i2sbus: Delete an unnecessary check before the function call snd_pcm_suspend_all

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 20:43:01 +0100 The snd_pcm_suspend_all() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 10/13] ALSA: sb: Delete an unnecessary check before the function call snd_emux_free

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 21:02:32 +0100 The snd_emux_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 11/13] ALSA: Deletion of checks before the function call iounmap

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sat, 3 Jan 2015 22:55:54 +0100 The iounmap() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

[PATCH 12/13] ALSA: msnd: One function call less in snd_msnd_attach() after error detection

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 4 Jan 2015 11:00:11 +0100 The iounmap() function was called in one case by the snd_msnd_attach() function even if a previous call of the ioremap_nocache() function failed. This implementation detail could be improved by the

[PATCH 13/13] ALSA: msnd: Fix centralized exiting from snd_msnd_attach()

2015-01-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 4 Jan 2015 11:47:17 +0100 Two return statements were used by the snd_msnd_attach() function at source code places where the Linux coding style recommends an alternative approach. Let us improve the affected implementation details with

Re: [RFC 8/8] ARM64: Add uprobe support

2015-01-04 Thread Pratyush Anand
On Friday 02 January 2015 10:53 PM, Oleg Nesterov wrote: Hi Pratyush, I'll try to actually read this patch (and the whole series) later, just a couple of quick questions for now. On 12/31, Pratyush Anand wrote: --- a/arch/arm64/include/asm/ptrace.h +++ b/arch/arm64/include/asm/ptrace.h @@

Re: [RFC 3/8] Kernel/uprobe: Define arch_uprobe_exception_notify as __weak

2015-01-04 Thread Pratyush Anand
On Friday 02 January 2015 11:13 PM, Oleg Nesterov wrote: On 12/31, Pratyush Anand wrote: Both ARM and ARM64 handle uprobe exceptions through their own hooks.So nothing to be done in arch_uprobe_exception_notify except to return NOTIFY_DONE. Implement this as weak default function and remove

Re: [RFC 5/8] ARM64: Re-factor flush_ptrace_access

2015-01-04 Thread Pratyush Anand
On Friday 02 January 2015 11:49 PM, Oleg Nesterov wrote: On 01/02, Oleg Nesterov wrote: On 12/31, Pratyush Anand wrote: Re-factor flush_ptrace_access to reuse vma independent part. But for what? The changelog should explain this. Signed-off-by: Pratyush Anand pan...@redhat.com ---

Re: [PATCH 12/13] ALSA: msnd: One function call less in snd_msnd_attach() after error detection

2015-01-04 Thread Takashi Iwai
At Sun, 04 Jan 2015 14:38:38 +0100, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 4 Jan 2015 11:00:11 +0100 The iounmap() function was called in one case by the snd_msnd_attach() function even if a previous call of the ioremap_nocache() function

Re: [PATCH 0/13] ALSA: Deletion of some unnecessary checks

2015-01-04 Thread Takashi Iwai
At Sun, 04 Jan 2015 13:43:11 +0100, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 4 Jan 2015 11:50:12 +0100 Further update suggestions were taken into account after several patches were applied from static source code analysis. Markus Elfring

[PATCH] gpu: drm: radeon: ci_smc: Remove unused function

2015-01-04 Thread Rickard Strandqvist
Remove the function ci_wait_for_smc_inactive() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/gpu/drm/radeon/ci_dpm.h |1 -

Re: [PATCH 2/2] virtio: don't free memory until the underlying struct device has been released

2015-01-04 Thread Sasha Levin
On 01/04/2015 06:26 AM, Michael S. Tsirkin wrote: On Fri, Jan 02, 2015 at 02:47:40PM -0500, Sasha Levin wrote: When releasing a virtio device, We can't free a struct virtio_device until the underlying struct device has been released, which might not happen immediately on

[PATCH next 1/2] mmc: sdhci-pxav3: fix unbalanced clock issues during probe

2015-01-04 Thread Jisheng Zhang
Commit 0dcaa2499b7d (sdhci-pxav3: Fix runtime PM initialization) tries to fix one hang issue caused by calling sdhci_add_host() on a suspended device. The fix enables the clock twice, once by clk_prepare_enable() and another by pm_runtime_get_sync(), meaning that the clock will never be gated at

[PATCH next 0/2] mmc: sdhci-pxav3: fix unbalanced pm and clock issues

2015-01-04 Thread Jisheng Zhang
These two patches fix unbalanced pm and clock issues. The clock unbalance issue would cause power consumption regression because the clock will never be gated at runtime PM suspend. Jisheng Zhang (2): mmc: sdhci-pxav3: fix unbalanced clock issues during probe mmc: sdhci-pxav3: fix pm

[PATCH next 2/2] mmc: sdhci-pxav3: fix pm unbalanced issue in - remove()

2015-01-04 Thread Jisheng Zhang
This patch calls pm_runtime_put_noidle() to restore the device's usage counter in the -remove() implementation. Signed-off-by: Jisheng Zhang jszh...@marvell.com --- drivers/mmc/host/sdhci-pxav3.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH] acpica: utpredef: Remove some unused functions

2015-01-04 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: acpi_ut_get_resource_bit_width() acpi_ut_display_predefined_method() acpi_ut_match_resource_name() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

[PATCH] virtio: make del_vqs idempotent

2015-01-04 Thread Michael S. Tsirkin
Our code calls del_vqs multiple times, assuming it's idempotent. commit 3ec7a77bb3089bb01032fdbd958eb5c29da58b49 virtio_pci: free up vq-priv broke this assumption, by adding kfree there, so multiple calls cause double free. Fix it up. Fixes: 3ec7a77bb3089bb01032fdbd958eb5c29da58b49

[PATCH] media: s5p-jpeg: Remove some unused functions

2015-01-04 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: s5p_jpeg_input_raw_y16() s5p_jpeg_timer_disable() s5p_jpeg_timer_enable() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

[PATCH] Staging: comedi: dmm32at: Fixed a code indent issue

2015-01-04 Thread Piotr Kubus
This is a patch to the dmm32at.c file that fixes up a code indent error found by the checkpatch.pl tool. Signed-off-by: Piotr Kubus p.t.ku...@gmail.com --- drivers/staging/comedi/drivers/dmm32at.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] gspca: Add high-speed modes for PS3 Eye camera

2015-01-04 Thread Antonio Ospite
On Mon, 29 Dec 2014 11:00:03 -0400 Joe Howse josephho...@nummist.com wrote: Add support in the PS3 Eye driver for QVGA capture at higher frame rates: 187, 150, and 137 FPS. This functionality is valuable because the PS3 Eye is popular for computer vision projects and no other camera in its

[PATCH] wl1251: Remove unused function

2015-01-04 Thread Rickard Strandqvist
Remove the function wl1251_cmd_read_memory() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/net/wireless/ti/wl1251/cmd.c | 40

Re: [PATCH 2/2] virtio: don't free memory until the underlying struct device has been released

2015-01-04 Thread Michael S. Tsirkin
On Sun, Jan 04, 2015 at 10:03:27AM -0500, Sasha Levin wrote: On 01/04/2015 06:26 AM, Michael S. Tsirkin wrote: On Fri, Jan 02, 2015 at 02:47:40PM -0500, Sasha Levin wrote: When releasing a virtio device, We can't free a struct virtio_device until the underlying struct device has been

[PATCH] ddr: Use less generic identifiers

2015-01-04 Thread Richard Weinberger
At least on UML this identifiers clash with register names. Use something less generic than Rx, Cx and Cx. CC lib//jedec_ddr_data.o In file included from ./arch/um/include/asm/ptrace-generic.h:11:0, from ./arch/x86/um/asm/ptrace.h:8, from

Re: [RFC/PATCHSET 00/30] perf tools: New build framework

2015-01-04 Thread Jiri Olsa
On Fri, Jan 02, 2015 at 06:36:12PM +0100, Ingo Molnar wrote: * Jiri Olsa jo...@kernel.org wrote: [...] The basic idea is the same as in kbuild system, with some minor changes to allow for multiple binaries build definitions. tools/perf/Build| 48 ++

[PATCH] bluetooth: Remove unused function

2015-01-04 Thread Rickard Strandqvist
Remove the function hci_conn_change_link_key() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- include/net/bluetooth/hci_core.h |1 -

Re: [PATCH] drivers/clocksource/Kconfig: Let SH_TIMER_CMT depend on HAS_IOMEM

2015-01-04 Thread Richard Weinberger
Chen, Am 02.10.2014 um 15:34 schrieb Chen Gang: SH_TIMER_CMT will use IO memory features which needs HAS_IOMEM, so need depend on it. The related error (with allmodconfig under um): CC drivers/clocksource/sh_cmt.o drivers/clocksource/sh_cmt.c: In function 'sh_cmt_map_memory':

[PATCH 3/3] virtio_pci: document why we defer kfree

2015-01-04 Thread Michael S. Tsirkin
The reason we defer kfree until release function is because it's a general rule for kobjects: kfree of the reference counter itself is only legal in the release function. Previous patch didn't make this clear, document this in code. Cc: sta...@vger.kernel.org Signed-off-by: Michael S. Tsirkin

[PATCH 1/3] virtio_pci: device-specific release callback

2015-01-04 Thread Michael S. Tsirkin
It turns out we need to add device-specific code in release callback. In particular, we need to free memory allocated in probe. Move it to virtio_pci_legacy.c. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/virtio/virtio_pci_common.h | 1 - drivers/virtio/virtio_pci_common.c | 9

[PATCH 0/3] virtio_pci: fix DEBUG_KOBJECT_RELEASE

2015-01-04 Thread Michael S. Tsirkin
This is based on Sasha's patch, with some tweaks. Michael S. Tsirkin (2): virtio_pci: device-specific release callback virtio_pci: document why we defer kfree Sasha Levin (1): virtio_pci: defer kfree until release callback drivers/virtio/virtio_pci_common.h | 1 -

[GIT PULL] UML fixes for v3.19-rc3

2015-01-04 Thread Richard Weinberger
Linus, The following changes since commit d753856c9f9ae33a980192aa7b81d8b97d79dec2: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2015-01-02 13:24:41 -0800) are available in the git repository at:

[PATCH 2/3] virtio_pci: defer kfree until release callback

2015-01-04 Thread Michael S. Tsirkin
From: Sasha Levin sasha.le...@oracle.com A struct device which has just been unregistered can live on past the point at which a driver decides to drop it's initial reference to the kobject gained on allocation. This implies that when releasing a virtio device, we can't free a struct

Re: [PATCH] power: avs: smartreflex: Remove unused function

2015-01-04 Thread Rickard Strandqvist
2015-01-03 18:53 GMT+01:00 Nishanth Menon n...@ti.com: On 16:58-20150103, Rickard Strandqvist wrote: Remove the function sr_configure_minmax() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs-sp while output user regs

2015-01-04 Thread Jiri Olsa
On Tue, Dec 30, 2014 at 08:03:27PM +0100, Peter Zijlstra wrote: On Thu, Dec 25, 2014 at 07:48:28AM -0800, Andy Lutomirski wrote: On a quick look, there are plenty of other bugs in there besides just the stack pointer issue. The ABI check that uses TIF_IA32 in the perf core is completely

Re: [PATCH 0/3] virtio_pci: fix DEBUG_KOBJECT_RELEASE

2015-01-04 Thread Michael S. Tsirkin
On Sun, Jan 04, 2015 at 06:02:13PM +0200, Michael S. Tsirkin wrote: This is based on Sasha's patch, with some tweaks. Sasha, I would appreciate it if you can send a Tested-by tag to confirm this + the del_vqs idempotent patches are sufficient to address all issues you have with 3.19.

Re: [PATCH RESEND 2/5] perf diff: Get rid of hists__compute_resort()

2015-01-04 Thread Jiri Olsa
On Sat, Dec 27, 2014 at 02:06:30PM +0900, Namhyung Kim wrote: The hists__compute_resort() is to sort output fields based on the given field/criteria. This was done without the sort list but as we added the field to the sort list, we can do it with normal hists__output_resort() using the -sort

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-04 Thread Arnd Bergmann
On Saturday 03 January 2015 18:59:46 Sergey Dyasly wrote: Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was 400 MB. 2. 200 MB of vmalloc area was consumed by ioremaps of various

Re: [PATCH 3/5] perf diff: Print diff result more precisely

2015-01-04 Thread Jiri Olsa
On Sat, Dec 27, 2014 at 02:06:31PM +0900, Namhyung Kim wrote: Current perf diff result is somewhat confusing since it sometimes hide small result and sometimes there's no result. So do not hide small result (less than 0.01%) and print N/A if baseline is not recorded (for ratio and wdiff

Re: [PATCH] net: wireless: rt2x00: use helper to check capability/requirement

2015-01-04 Thread Stanislaw Gruszka
On Fri, Dec 26, 2014 at 04:19:18PM +0800, Fred Chou wrote: From: Fred Chou fred.chou...@gmail.com Use rt2x00_has_cap_flag macro to check rt2x00dev-cap_flags. Signed-off-by: Fred Chou fred.chou...@gmail.com Acked-by: Stanislaw Gruszka sgrus...@redhat.com -- To unsubscribe from this list:

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs-sp while output user regs

2015-01-04 Thread Andy Lutomirski
On Jan 4, 2015 8:11 AM, Jiri Olsa jo...@redhat.com wrote: On Tue, Dec 30, 2014 at 08:03:27PM +0100, Peter Zijlstra wrote: On Thu, Dec 25, 2014 at 07:48:28AM -0800, Andy Lutomirski wrote: On a quick look, there are plenty of other bugs in there besides just the stack pointer issue. The

Re: [PATCH v5 3/7] iio: Add support for DA9150 GPADC

2015-01-04 Thread Jonathan Cameron
On 22/12/14 16:51, Adam Thomson wrote: This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com One last query from me. Using the extended channel names in IIO is only really appropriate when they don't correspond to

Re: [PATCH v5 5/7] power: Add support for DA9150 Charger

2015-01-04 Thread Jonathan Cameron
On 22/12/14 16:51, Adam Thomson wrote: This patch adds support for DA9150 Charger Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com The IIO bits look fine, but your use of devm_free * doesn't... As a side note, looks like we could benefit from some array

Re: Radeon R9 290 problem

2015-01-04 Thread Alex Deucher
On Fri, Jan 2, 2015 at 11:23 AM, Alex Kuznetsoff dri-de...@yandex.ru wrote: I have an AMD Radeon R9 290 video card, and since commit https://github.com/torvalds/linux/commit/96212fe8c27b I cannot boot into the system any more with CONFIG_DRM_RADEON turned on ([m]). These are the symptoms:

[PATCH] hsi: nokia-modem: fix uninitialized device pointer

2015-01-04 Thread Aaro Koskinen
modem-device was never initialized. This resulted in logs such as: [ 241.386322] (NULL device *): CMT rst line change detected Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/hsi/clients/nokia-modem.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: 答复:[PATCH] perf core: Use KSTK_ESP() instead of pt_regs-sp while output user regs

2015-01-04 Thread Jiri Olsa
On Sun, Jan 04, 2015 at 09:18:59AM -0800, Andy Lutomirski wrote: On Jan 4, 2015 8:11 AM, Jiri Olsa jo...@redhat.com wrote: On Tue, Dec 30, 2014 at 08:03:27PM +0100, Peter Zijlstra wrote: On Thu, Dec 25, 2014 at 07:48:28AM -0800, Andy Lutomirski wrote: On a quick look, there are plenty

Re: libaio tarballs on kernel.org

2015-01-04 Thread Guillem Jover
Hi! On Thu, 2015-01-01 at 22:23:44 +0100, Sedat Dilek wrote: I am playing with fio (manually compiled v2.2.3) and wanted to update also my libaio development package on Ubuntu/precise. I'm not aware of any version later than the one in Debian. And git only seems to contain a single commit over

Re: [PATCH 2/2] iio: Add nt133 I/O board support

2015-01-04 Thread Jonathan Cameron
On 26/11/14 21:45, George McCollister wrote: The NovaTech 133 I/O board is an expansion card for the NovaTech OrionLXm with 16 digital input channels and 4 digital output channels. Signed-off-by: George McCollister george.mccollis...@gmail.com A few comments inline. I understand where you

[PATCH] tools/power: turbostat: Use $(CURDIR) instead of $(PWD) in Makefile

2015-01-04 Thread Thomas D
Since commit ee0778a30153 (tools/power: turbostat: make Makefile a bit more capable) turbostat’s Makefile is using [...] BUILD_OUTPUT:= $(PWD) [...] which obviously causes trouble when building turbostat with make -C /usr/src/linux/tools/power/x86/turbostat ARCH=x86 turbostat

[PATCH] staging: gdm724x: fix space coding style issue in gdm_mux.c

2015-01-04 Thread Ning Zhou
This is a patch to fix a space error found by the checkpatch.pl in file gdm_mux.c. Signed-off-by: Ning Zhou zhou.ning...@gmail.com --- drivers/staging/gdm724x/gdm_mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_mux.c

Re: libaio tarballs on kernel.org

2015-01-04 Thread Sedat Dilek
On Thu, Jan 1, 2015 at 10:23 PM, Sedat Dilek sedat.di...@gmail.com wrote: [ CC libaio Debian/Ubuntu maintainer ] Hi Jeff, I am playing with fio (manually compiled v2.2.3) and wanted to update also my libaio development package on Ubuntu/precise. Both dsc (description) files of Debian and

RE: [RFC PATCH] f2fs: add extent cache base on rb-tree

2015-01-04 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Wednesday, December 31, 2014 4:26 PM To: Chao Yu Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] f2fs: add extent cache base on

Re: [RFC PATCH 0/3] Sharing MSIX irq for tx/rx queue pairs

2015-01-04 Thread Jason Wang
On 12/28/2014 03:52 PM, Michael S. Tsirkin wrote: On Fri, Dec 26, 2014 at 10:53:42AM +0800, Jason Wang wrote: Hi all: This series try to share MSIX irq for each tx/rx queue pair. This is done through: - introducing virtio pci channel which are group of virtqueues that sharing a single

Re: libaio tarballs on kernel.org

2015-01-04 Thread Dongsheng Song
On Sun, Jan 4, 2015 at 4:21 PM, Sedat Dilek sedat.di...@gmail.com wrote: I have also seen... with outdated material? we can use syscall.h and aio_abi.h directly. IMHO, I think libaio is of little value. It's just simple wrappers of aio syscall and some useful macros. It will useful only when

Re: [PATCHv2] media: i2c/adp1653: devicetree support for adp1653

2015-01-04 Thread Pavel Machek
Hi! Thanks for the patch! A few comments below. On Wed, Dec 24, 2014 at 11:34:34PM +0100, Pavel Machek wrote: We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device tree support, plus required documentation. Signed-off-by: Pavel

[PATCH] staging: gdm724x: fix line limit coding style issue in gdm_lte.c

2015-01-04 Thread Ning Zhou
This is a patch to fix WARNING: line over 80 characters found by checkpatch.pl in gdm_lte.c. Signed-off-by: Ning Zhou zhou.ning...@gmail.com --- drivers/staging/gdm724x/gdm_lte.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_lte.c

Re: [PATCH v2] srcu: Isolate srcu sections using CONFIG_SRCU

2015-01-04 Thread Michael Ellerman
On Tue, 2014-12-30 at 13:54 -0500, Pranith Kumar wrote: On Tue, Dec 30, 2014 at 1:50 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Dec 30, 2014 at 12:46:22AM -0500, Pranith Kumar wrote: Isolate the SRCU functions and data structures within CONFIG_SRCU so that there is a compile

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-04 Thread Hanjun Guo
On 2014年12月25日 01:18, Catalin Marinas wrote: [...] In addition to the above and _DSD requirements/banning, I would also add some clear statements around: _OSC: only global/published capabilities are allowed. For device-specific _OSC we need a process or maybe we can ban them entirely and rely

[PATCHv3] media: i2c/adp1653: devicetree support for adp1653

2015-01-04 Thread Pavel Machek
We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device tree support, plus required documentation. Signed-off-by: Pavel Machek pa...@ucw.cz --- Please apply, Pavel diff --git

Re: libaio tarballs on kernel.org

2015-01-04 Thread Sedat Dilek
On Sun, Jan 4, 2015 at 9:55 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On Sun, Jan 4, 2015 at 4:21 PM, Sedat Dilek sedat.di...@gmail.com wrote: I have also seen... with outdated material? we can use syscall.h and aio_abi.h directly. IMHO, I think libaio is of little value. It's just

Re: [PATCH 1/3] TTY: add support for tty slave devices.

2015-01-04 Thread Pavel Machek
Hi! +Optional child node: +- a platform device listed as a child node will be probed and + powered-on whenever the tty is in use (open). + Example: uart@8023 { But some line disciplines don't really want the char_dev. N_MOUSE wants a serio device. N_HCI wants

Re: [PATCH 01/10] iio: imu: kmx61: Save odr_bits for later use

2015-01-04 Thread Jonathan Cameron
On 01/01/15 13:45, Hartmut Knaack wrote: Daniel Baluta schrieb am 23.12.2014 um 14:22: Signed-off-by: Daniel Baluta daniel.bal...@intel.com Reviewed-by: Hartmut Knaack knaac...@gmx.de Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play. ---

Re: [PATCH 02/10] iio: imu: kmx61: Don't ignore kmx61_set_power_state errors

2015-01-04 Thread Jonathan Cameron
On 01/01/15 13:45, Hartmut Knaack wrote: Daniel Baluta schrieb am 23.12.2014 um 14:22: ..except while in an error handler, where there is nothing to be done anyway. Signed-off-by: Daniel Baluta daniel.bal...@intel.com Reviewed-by: Hartmut Knaack knaac...@gmx.de Applied ---

Re: [PATCH 03/10] iio: imu: kmx61: Enhance error handling

2015-01-04 Thread Jonathan Cameron
On 01/01/15 13:47, Hartmut Knaack wrote: Daniel Baluta schrieb am 23.12.2014 um 14:22: This fixes parts of kmx61 error handling to make code easier to read and to be more consistent with IIO coding conventions: * prefer as single point for error handling instead of duplicating code

Re: [PATCH 04/10] iio: imu: kmx61: Fixup parameters alignment

2015-01-04 Thread Jonathan Cameron
On 01/01/15 13:47, Hartmut Knaack wrote: Daniel Baluta schrieb am 23.12.2014 um 14:22: Signed-off-by: Daniel Baluta daniel.bal...@intel.com Acked-by: Hartmut Knaack knaac...@gmx.de Applied. --- drivers/iio/imu/kmx61.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)

  1   2   3   4   5   6   >