Re: [RFC] sched: CPU topology try

2014-01-06 Thread Peter Zijlstra
On Wed, Jan 01, 2014 at 10:30:33AM +0530, Preeti U Murthy wrote: > The design looks good to me. In my opinion information like P-states and > C-states dependency can be kept separate from the topology levels, it > might get too complicated unless the information is tightly coupled to > the

[PATCH 49/85] drivers: gpu: Include appropriate header file in r600_dpm.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/radeon/radeon_asic.h in drm/radeon/r600_dpm.c because it uses functions declared in the header file. This eliminates the following warnings in drm/radeon/r600_dpm.c: drivers/gpu/drm/radeon/r600_dpm.c:707:5: warning: no previous prototype for

Re: [RFC] sched: CPU topology try

2014-01-06 Thread Peter Zijlstra
On Wed, Dec 18, 2013 at 02:13:51PM +0100, Vincent Guittot wrote: > This patch applies on top of the two patches [1][2] that have been proposed by > Peter for creating a new way to initialize sched_domain. It includes some > minor > compilation fixes and a trial of using this new method on ARM

Re: [PATCH v6] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2014-01-06 Thread Mark Rutland
Hi, Apologies for the late reply, I wasn't able to access my mail much over the Christmas break. On Mon, Dec 23, 2013 at 08:25:49PM +, Andreas Larsson wrote: > This adds an UDC driver for GRUSBDC USB Device Controller cores available in > the > GRLIB VHDL IP core library. The driver only

[PATCH 70/85] drivers: gpu: Remove unused function in kv_dpm.c

2014-01-06 Thread Rashika Kheria
Remove unused function kv_dpm_reset_asic() from drm/radeon/kv_dpm.c. This eliminates the following warnings in drm/radeon/kv_dpm.c: drivers/gpu/drm/radeon/kv_dpm.c:1875:6: warning: no previous prototype for ‘kv_dpm_reset_asic’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by:

[PATCH 61/85] drivers: gpu: Move prototype declaration to header file sumo_dpm.h

2014-01-06 Thread Rashika Kheria
Move prototype declaration of function sumo_get_pi() to header file drm/radeon/sumo_dpm.h because it is used by more than one file. This eliminates the following warning in drm/radeon/sumo_dpm.c: drivers/gpu/drm/radeon/sumo_dpm.c:81:25: warning: no previous prototype for ‘sumo_get_pi’

[PATCH 50/85] drivers: gpu: Include appropriate header file in rs780_dpm.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/radeon/radeon_asic.h in drm/radeon/rs780_dpm.c because it uses function declared in the header file. This eliminates the following warnings in drm/radeon/rs780_dpm.c: drivers/gpu/drm/radeon/rs780_dpm.c:596:5: warning: no previous prototype for

[PATCH 73/85] drivers: gpu: Include appropriate header file in dce6_afmt.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/radeon_asic.h in drm/radeon/dce6_afmt.c because it uses function declared in the header file. This eliminates the folllowing warning in drm/radeon/dce6_afmt.c: drivers/gpu/drm/radeon/dce6_afmt.c:301:5: warning: no previous prototype for ‘dce6_audio_init’

[PATCH 69/85] drivers: gpu: Move prototype declarations to header file si_dpm.h

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions si_get_ddr3_mclk_frequency_ratio(), si_get_mclk_frequency_ratio() and si_trim_voltage_table_to_fit_state_table() to header file drm/radeon/si_dpm.h because they are used by more than one file. This eliminates the following warnings from

[PATCH 68/85] drivers: gpu: Remove unused function in si_dpm.c

2014-01-06 Thread Rashika Kheria
Remove unused function si_dpm_reset_asic() from drm/radeon/si_dpm.c. This elimiantes the following warnings in drm/radeon/si_dpm.c: drivers/gpu/drm/radeon/si_dpm.c:6126:6: warning: no previous prototype for ‘si_dpm_reset_asic’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by:

Re: [PATCH 00/11] ASoC/MFD: twl4030 codec local register cache removal

2014-01-06 Thread Mark Brown
On Mon, Jan 06, 2014 at 04:10:01PM +, Lee Jones wrote: > Are you planning on taking this in for v3.14? Only we're on -rc7 already. Yes. It's a driver change and if it's buggy we've got a couple of months of integration to fix any issues. > It also depends how closely knit the MFD changes

[PATCH 71/85] drivers: gpu: Include appropriate header file in ci_smc.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/ci_dpm.h in drm/radeon/ci_smc.c because it uses function declared in the header file. This eliminates the following warnings in drm/radeon/ci_smc.c: drivers/gpu/drm/radeon/ci_smc.c:46:5: warning: no previous prototype for ‘ci_copy_bytes_to_smc’

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-06 Thread Waskiewicz Jr, Peter P
On Mon, 2014-01-06 at 12:16 +0100, Peter Zijlstra wrote: > On Sun, Jan 05, 2014 at 05:23:07AM +, Waskiewicz Jr, Peter P wrote: > > The CPU side is easy and clean. When something in the software wants to > > monitor when a particular task is scheduled and started, write whatever > > RMID that

[PATCH 2/3] cpupower tools: update README

2014-01-06 Thread Ramkumar Ramachandra
Remove dead link to homepage, and update the targets built. Cc: Thomas Renninger Cc: Dominik Brodowski Signed-off-by: Ramkumar Ramachandra --- tools/power/cpupower/README | 16 +++- tools/power/cpupower/ToDo | 1 - 2 files changed, 7 insertions(+), 10 deletions(-) diff --git

Re: [PATCH 05/11] fuse: Trust kernel i_mtime only -v2

2014-01-06 Thread Miklos Szeredi
On Thu, Dec 26, 2013 at 07:41:41PM +0400, Maxim Patlasov wrote: > >>+ > >>+ if (!err) > >>+ clear_bit(FUSE_I_MTIME_DIRTY, >state); > >Doing the test and the clear separately opens a huge race window when i_mtime > >modifications are bound to get lost. > > No. Because the whole

[PATCH 63/85] drivers: gpu: Include appropriate header file in trinity_dpm.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/radeon_asic.h in drm/radeon/trinity_dpm.c because it uses function declared in the header file. This eliminates the following warnings in drm/radeon/trinity_dpm.c: drivers/gpu/drm/radeon/trinity_dpm.c:1071:6: warning: no previous prototype for

Re: [RFC] sched: CPU topology try

2014-01-06 Thread Peter Zijlstra
On Mon, Dec 23, 2013 at 06:22:17PM +0100, Dietmar Eggemann wrote: > I'm not sure if the idea to create a dedicated sched_domain level for every > topology flag representing a specific functionality will scale. From the > perspective of energy-aware scheduling we need e.g. energy costs (P and C >

Re: [PATCH 15/85] drivers: gpu: Mark function as static in ctxnvd7.c

2014-01-06 Thread Maarten Lankhorst
op 06-01-14 16:11, Rashika Kheria schreef: > Mark function nvd7_grctx_generate_main() as static in > drm/nouveau/core/engine/graph/ctxnvd7.c because it is not used outside > this file. > > This eliminates the following warning in > drm/nouveau/core/engine/graph/ctxnvd7.c: >

[PATCH 17/85] drivers: gpu: Mark function as static in base.c

2014-01-06 Thread Rashika Kheria
Mark function nouveau_perfsig_find() as static in drm/nouveau/core/engine/perfmon/base.c because it is not used outside this file. This eliminates the following warning in drm/nouveau/core/engine/perfmon/base.c: drivers/gpu/drm/nouveau/core/engine/perfmon/base.c:59:1: warning: no previous

[PATCH 60/85] drivers: gpu: Include appropriate header file in sumo_dpm.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/radeon_asic.h because it uses the function declared in the header file. This eliminates the following warnings in drm/radeon/sumo_dpm.c: drivers/gpu/drm/radeon/sumo_dpm.c:1202:5: warning: no previous prototype for ‘sumo_dpm_enable’ [-Wmissing-prototypes]

[PATCH 66/85] drivers: gpu: Move prototype declarations to header file ni_dpm.h

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions ni_get_pi() and ni_get_ps() to header file drm/radeon/ni_dpm.h because it is used by more than one file. This eliminates the following warnings in drm/radeon/ni_dpm.c: drivers/gpu/drm/radeon/ni_dpm.c:723:23: warning: no previous prototype for ‘ni_get_pi’

[PATCH 19/85] drivers: gpu: Include appropriate header file in overlay.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/nouveau/dispnv04/disp.h in drm/nouveau/dispnv04/overlay.c because function nouveau_overlay_init() has its prototype declaration in the header file. This eliminates the following warning in drm/nouveau/dispnv04/overlay.c:

Re: [RFC] sched: CPU topology try

2014-01-06 Thread Peter Zijlstra
On Mon, Jan 06, 2014 at 02:41:31PM +0100, Vincent Guittot wrote: > IMHO, these settings will disappear sooner or later, as an example the > idle/busy _idx are going to be removed by Alex's patch. Well I'm still entirely unconvinced by them.. removing the cpu_load array makes sense, but I'm

[PATCH 67/85] drivers: gpu: Include appropriate header file in si_smc.c and remove prototype declaration from header file sislands_smc.h

2014-01-06 Thread Rashika Kheria
Include header file gpu/drm/radeon/sislands_smc.h in drm/radeon/si_smc.c because it uses function declared in the header file. Remove prototype declaration of function si_set_smc_sram_address() from drm/radeon/sislands_smc.h because the function is used only in one file where it is declared

[PATCH 64/85] drivers: gpu: Remove unused function in ni_dpm.c

2014-01-06 Thread Rashika Kheria
Remove unused function ni_dpm_reset_asic() from drm/radeon/ni_dpm.c. This eliminates the following warnings in drm/radeon/ni_dpm.c: drivers/gpu/drm/radeon/ni_dpm.c:3897:6: warning: no previous prototype for ‘ni_dpm_reset_asic’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by:

[PATCH 65/85] drivers: gpu: Include appropriate header file in ni_dpm.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/radeon_asic.h in drm/radeon/ni_dpm.c because it uses function declared in the header file. This elimiantes the following warnings in drm/radeon/ni_dpm.c: drivers/gpu/drm/radeon/ni_dpm.c:1073:5: warning: no previous prototype for ‘ni_dpm_force_performance_level’

[PATCH 1/3] cpupower tools: adjust README to reflect rename

2014-01-06 Thread Ramkumar Ramachandra
Rename cpufrequtils -> cpupower, and libcpufreq -> libcpupower. Cc: Thomas Renninger Cc: Dominik Brodowski Signed-off-by: Ramkumar Ramachandra --- tools/power/cpupower/README | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/power/cpupower/README

Re: [PATCH] perf tools: enable close-on-exec flag on perf file descriptor

2014-01-06 Thread Andi Kleen
On Mon, Jan 06, 2014 at 11:51:25AM +0100, Yann Droneaud wrote: > In a previous patch [1][2], flag PERF_FLAG_FD_CLOEXEC was > added to perf_event_open(2) syscall to allows userspace > to enable close-on-exec behavor atomically when creating > the file descriptor. > > This patch makes perf tools

Re: [PATCH] pci: Add "try" reset interfaces

2014-01-06 Thread Alex Williamson
Bjorn, As we're approaching the merge window, did you have any thoughts on this patch? Thanks, Alex On Mon, 2013-12-16 at 15:14 -0700, Alex Williamson wrote: > When doing a function/slot/bus reset PCI grabs the device_lock for > each device to block things like suspend and driver probes, which

[PATCH 0/3] cpupower tools: trivial cleanup

2014-01-06 Thread Ramkumar Ramachandra
Hi, I just had a chance to look at cpupower; here's a small contribution. Thanks. Cc: Thomas Renninger Cc: Dominik Brodowski Ramkumar Ramachandra (3): cpupower tools: adjust README to reflect rename cpupower tools: update README cpupower tools: update uninstall target

[PATCH 3/3] cpupower tools: update uninstall target

2014-01-06 Thread Ramkumar Ramachandra
Cc: Thomas Renninger Cc: Dominik Brodowski Signed-off-by: Ramkumar Ramachandra --- tools/power/cpupower/Makefile | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile index cbfec92..dca6b43 100644 ---

Re: [PATCH 08/85] drivers: gpu: Mark function as static in cdv_intel_dp.c

2014-01-06 Thread Patrik Jakobsson
On Mon, Jan 6, 2014 at 4:02 PM, Rashika Kheria wrote: > Mark function cdv_intel_fixed_panel_mode() as static in > drm/gma500/cdv_intel_dp.c because it is not used outside this file. > > This eliminates the following warning in drm/gma500/cdv_intel_dp.c: >

[PATCH 59/85] drivers: gpu: Mark function as static and remove unused function in sumo_dpm.c

2014-01-06 Thread Rashika Kheria
Mark function sumo_get_ps() as static and remove unused function sumo_dpm_reset_asic() from file drm/radeon/sumo_dpm.c. This eliminates the following warnings in drm/radeon/sumo_dpm.c: drivers/gpu/drm/radeon/sumo_dpm.c:74:17: warning: no previous prototype for ‘sumo_get_ps’

Re: [PATCH v2] ASoC: soc-core: add snd_soc_of_parse_master_clkdir() for dt

2014-01-06 Thread Mark Brown
On Mon, Jan 06, 2014 at 05:41:59AM +, li.xi...@freescale.com wrote: > I would like to know the current status of this patch, and there are some > other patches that for simple-card are depended on this one. You only sent this patch on Thursday during the middle of the holiday period, please

[PATCH 57/85] drivers: gpu: Include appropriate header file in btc_dpm.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/radeon_asic.h in drm/radeon/btc_dpm.c because it uses function declared in the header file. This eliminates the following warnings in drm/radeon/btc_dpm.c: drivers/gpu/drm/radeon/btc_dpm.c:2079:6: warning: no previous prototype for ‘btc_dpm_vblank_too_short’

Re: [PATCH] tracing/kprobes: Add trace event trigger invocations

2014-01-06 Thread Steven Rostedt
On Sat, 28 Dec 2013 20:24:08 -0600 Tom Zanussi wrote: > Add code to the kprobe/kretprobe event functions that will invoke any > event triggers associated with a probe's ftrace_event_file. > > The code to do this is very similar to the invocation code already > used to invoke the triggers

[PATCH 56/85] drivers: gpu: Remove unused function in cypress_dpm.c

2014-01-06 Thread Rashika Kheria
Remove unused function cypress_dpm_reset_asic() from drm/radeon/cypress_dpm.c. This eliminates the following warnings in drm/radeon/cypress_dpm.c: drivers/gpu/drm/radeon/cypress_dpm.c:2022:6: warning: no previous prototype for ‘cypress_dpm_reset_asic’ [-Wmissing-prototypes] Signed-off-by:

[PATCH 58/85] drivers: gpu: Remove unused function in btc_dpm.c

2014-01-06 Thread Rashika Kheria
Remove unused function btc_dpm_reset_asic() from drm/radeon/btc_dpm.c. This eliminates the following warnings in drm/radeon/btc_dpm.c: drivers/gpu/drm/radeon/btc_dpm.c:2311:6: warning: no previous prototype for ‘btc_dpm_reset_asic’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria

Re: [PATCH 1/2] powerpc: Fix the setup of CPU-to-Node mappings during CPU online

2014-01-06 Thread Srivatsa S. Bhat
On 12/30/2013 05:05 PM, Srivatsa S. Bhat wrote: > On POWER platforms, the hypervisor can notify the guest kernel about dynamic > changes in the cpu-numa associativity (VPHN topology update). Hence the > cpu-to-node mappings that we got from the firmware during boot, may no longer > be valid after

[PATCH 53/85] drivers: gpu: Remove unused function in rv770_dpm.c

2014-01-06 Thread Rashika Kheria
Remove unused function rv770_dpm_reset_asic() from file drm/radeon/rv770_dpm.c. This eliminates the following warning in drm/radeon/rv770_dpm.c: drivers/gpu/drm/radeon/rv770_dpm.c:2070:6: warning: no previous prototype for ‘rv770_dpm_reset_asic’ [-Wmissing-prototypes] Signed-off-by: Rashika

[PATCH 54/85] drivers: gpu: Move prototype declarations to header file rv770_dpm.h

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions rv770_get_ps(), rv770_get_pi() and evergreen_get_pi() to header file drm/radeon/rv770_dpm.h because they are used by more than one file. This eliminates the following warnings in drm/radeon/rv770_dpm.c: drivers/gpu/drm/radeon/rv770_dpm.c:47:18: warning: no

[PATCH] hso: fix handling of modem port SERIAL_STATE notifications

2014-01-06 Thread Dan Williams
The existing serial state notification handling expected older Option devices, having a hardcoded assumption that the Modem port was always USB interface #2. That isn't true for devices from the past few years. hso_serial_state_notification is a local cache of a USB Communications Interface

[PATCH 52/85] drivers: gpu: Include appropriate header file in rv770_dpm.c

2014-01-06 Thread Rashika Kheria
Include header file gpu/drm/radeon/radeon_asic.h in drm/radeon/rv770_dpm.c because it uses functions declared in the header file. This eliminates the following warning in drm/radeon/rv770_dpm.c: drivers/gpu/drm/radeon/rv770_dpm.c:47:18: warning: no previous prototype for ‘rv770_get_ps’

[PATCH 51/85] drivers: gpu: Include appropriate header file in rv6xx_dpm.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/radeon/radeon_asic.h in drm/radeon/rv6xx_dpm.c because it uses function declared in the header file. This eliminates the following warnings in drm/radeon/rv6xx_dpm.c: drivers/gpu/drm/radeon/rv6xx_dpm.c:1545:5: warning: no previous prototype for

[PATCH 45/85] drivers: gpu: Include appropriate header file in atombios_encoders.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/radeon/radeon_asic.h in drm/radeon/atombios_encoders.c because it uses function declared in the header file. This eliminates the following warnings in drm/radeon/atombios_encoders.c: drivers/gpu/drm/radeon/atombios_encoders.c:74:1: warning: no previous

[PATCH] netfilter: nf_conntrack: release conntrack from rcu callback

2014-01-06 Thread Andrey Vagin
Lets look at destroy_conntrack: hlist_nulls_del_rcu(>tuplehash[IP_CT_DIR_ORIGINAL].hnnode); ... nf_conntrack_free(ct) kmem_cache_free(net->ct.nf_conntrack_cachep, ct); The hash is protected by rcu, so readers look up conntracks without locks. A conntrack is removed from the hash, but in

[PATCH 48/85] drivers: gpu: Move prototype declaration to header file radeon_asic.h from ci_dpm.c, cik_sdma.c, evergreen.c and kv_dpm.c

2014-01-06 Thread Rashika Kheria
Move prototype declaration of functions cik_gpu_check_soft_reset(), cik_enter_rlc_safe_mode(), cik_exit_rlc_safe_mode(), cik_update_cg(), cik_init_cp_pg_table(), cik_get_csb_size() and cik_get_csb_buffer() to header file drm/radeon/radeon_asic.h because they are used by more than one file. Also

[PATCH 46/85] drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_i2c.c

2014-01-06 Thread Rashika Kheria
Move prototype declaration of functions radeon_atom_hw_i2c_xfer() and radeon_atom_hw_i2c_func() to header file drm/radeon/radeon_mode.h because they are used by more than one file. This eliminates the following warnings in drm/radeon/atombios_i2c.c: drivers/gpu/drm/radeon/atombios_i2c.c:96:5:

[PATCH 47/85] drivers: gpu: Move prototype declarations to appropriate header file radeon_asic.h

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions si_vram_gtt_location(), si_rlc_reset(), si_init_uvd_internal_cg(), si_get_csb_size(), si_get_csb_buffer(), si_gpu_check_soft_reset() and si_update_cg() to header file drm/radeon/radeon_asic.h because they are used by more than one file. Also, include the

Re: [PATCH v2 3/7] mfd: pm8921: Migrate to irqdomains

2014-01-06 Thread Lee Jones
> Convert this driver to use irqdomains so that the PMIC's child > devices can be converted to devicetree. > > Signed-off-by: Stephen Boyd > --- > drivers/mfd/pm8921-core.c | 184 > ++ > include/linux/mfd/pm8xxx/irq.h| 36 >

[PATCH 44/85] drivers: gpu: Move prototype declaration to header file radeon_mode.h from radeon_atombios.c and radeon_encoders.c

2014-01-06 Thread Rashika Kheria
Move prototype declarations of function radeon_add_atom_encoder() and radeon_atom_backlight_init() to header file drm/radeon/radeon_mode.h because they are used by more than one file. This eliminates the following warning in drm/radeon/atombios_encoders.c:

[PATCH 43/85] drivers: gpu: Move prototype declarations to header file radeon_asic.h from evergreen.c and ni_dma.c

2014-01-06 Thread Rashika Kheria
Move prototype declarations of function cayman_cp_int_cntl_setup(), cayman_vm_decode_fault() and cayman_gpu_check_soft_reset() to header file drm/radeon/radeon_asic.h because they are used by more than one file. This eliminates the following warnings in drm/radeon/ni.c:

[PATCH 40/85] drivers: gpu: Mark function as static in r600_hdmi.c

2014-01-06 Thread Rashika Kheria
Mark function r600_audio_set_dto() as static in drm/radeon/r600_hdmi.c because it is not used outside this file. This eliminates the following warning in drm/radeon/r600_hdmi.c: drivers/gpu/drm/radeon/r600_hdmi.c:253:6: warning: no previous prototype for ‘r600_audio_set_dto’

[PATCH 41/85] drivers: gpu: Include appropriate header file in evergreen_cs.c

2014-01-06 Thread Rashika Kheria
Include header file drm/radeon/radeon_asic.h in drm/radeon/evergreen_cs.c because it uses function declared in the header file. This eliminates the following warning in drm/radeon/evergreen_cs.c: drivers/gpu/drm/radeon/evergreen_cs.c:2561:5: warning: no previous prototype for

[PATCH] Power: charger-manager: Fixed coding style

2014-01-06 Thread Jesper Falk
Removed apaces before semicolon and fixed brackets on if statements Signed-off-by: Jesper Falk --- drivers/power/charger-manager.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c index

[PATCH 39/85] drivers: gpu: Move prototype declaration to header file radeon_mode.h from atombios_i2c.c

2014-01-06 Thread Rashika Kheria
Move prototype declaration of function radeon_atom_copy_swap() to header file drm/radeon/radeon_mode.h because it is used by more than one file. This eliminates the following warnings in drm/radeon/atombios_dp.c: drivers/gpu/drm/radeon/atombios_dp.c:53:6: warning: no previous prototype for

[PATCH 37/85] drivers: gpu: Include appropriate header file in r600_cs.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file gpu/drm/radeon/radeon_asic.h in drm/radeon/r600_cs.c because it uses the function declared in the header file. This eliminates the following warning in drm/radeon/r600_cs.c: drivers/gpu/drm/radeon/r600_cs.c:2251:5: warning: no previous prototype for

[PATCH 38/85] drivers: gpu: Move prototype declaration to header file radeon.h from radeon_acpi.c

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions radeon_pm_acpi_event_handler() to header file drm/radeon/radeon.h because it is used by more than one file. This eliminates the following warning in drm/radeon/radeon_pm.c: drivers/gpu/drm/radeon/radeon_pm.c:68:6: warning: no previous prototype for

RE: [PATCH 32/85] drivers: gpu: Move prototype declarations to header file atombios.h

2014-01-06 Thread Deucher, Alexander
> -Original Message- > From: Rashika Kheria [mailto:rashika.khe...@gmail.com] > Sent: Monday, January 06, 2014 10:38 AM > To: linux-kernel@vger.kernel.org > Cc: David Airlie; Deucher, Alexander; Rashika Kheria; Daenzer, Michel; > Koenig, Christian; Dave Airlie; Rafał Miłecki; Damien

[PATCH 28/85] drivers: gpu: Mark function as static in radeon_gem.c

2014-01-06 Thread Rashika Kheria
Mark function radeon_gem_set_domain() as static in drm/radeon/radeon_gem.c because it is not used outside this file. This eliminates the following warning in drm/radeon/radeon_gem.c: drivers/gpu/drm/radeon/radeon_gem.c:89:5: warning: no previous prototype for ‘radeon_gem_set_domain’

[PATCH] ARM: zynq: Add OCM driver

2014-01-06 Thread Michal Simek
The driver provide memory allocator which can be used by others drivers to allocate memory inside OCM. All location for 64kB blocks are supported and driver is trying to allocate the largest continuous block of memory. Checking mpcore addressing filterring is not done here but could be added in

[PATCH 24/85] drivers: gpu: Move prototype declarations to header file from radeon_object.c

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions from drm/radeon/radeon_object.c to header file drm/radeon/radeon.h because they are used by more than one file. This eliminates the following warning in drm/radeon/radeon_ttm.c: drivers/gpu/drm/radeon/radeon_ttm.c:691:5: warning: no previous prototype for

Re: [PATCH] ASoC: simple-card: fix the DAPM routes map parsing

2014-01-06 Thread Mark Brown
On Mon, Jan 06, 2014 at 01:41:46PM +0800, Xiubo Li wrote: > The simple-card's DAPM route maping is optional. For example, the spdif has > no need of this. This doesn't seem to apply against current code, can you please check and resend? signature.asc Description: Digital signature

[PATCH 31/85] drivers: gpu: Add static keyword to the definition of KMS_INVALID_IOCTL in radeon_kms.c

2014-01-06 Thread Rashika Kheria
Add static keyword to the definition of KMS_INVALID_IOCTL(name) in radeon_kms.c because the functions passed to it as arguments are not used anywhere else. This eliminates the following warnings in drm/radeon/radeon_kms.c: drivers/gpu/drm/radeon/radeon_kms.c:719:1: warning: no previous prototype

[PATCH 25/85] drivers: gpu: Mark function as static in radeon_object.c

2014-01-06 Thread Rashika Kheria
Mark function radeon_bo_clear_va() as static in drm/radeon/radeon_object.c because it is not used outside this file. This eliminates the following warning in drm/radeon/radeon_object.c: drivers/gpu/drm/radeon/radeon_object.c:49:6: warning: no previous prototype for ‘radeon_bo_clear_va’

[PATCH 36/85] drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_atombios.c and radeon_combios.c

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions radeon_get_encoder_enum() and radeon_link_encoder_connector() to header file drm/radeon/radeon_mode.h because they are used by more than one file. This eliminates the following warnings in drm/radeon/radeon_encoders.c:

[PATCH 35/85] drivers: gpu: Move prototype declaration to header file radeon_mode.h

2014-01-06 Thread Rashika Kheria
Move prototype declaration of functions radeon_add_atom_connector() and radeon_add_legacy_connector() to header file drm/radeon/radeon_mode.h because they are used by more than one file. This eliminates the following warning in drm/radeon/radeon_connectors.c:

[PATCH 34/85] drivers: gpu: Move prototype declaration to appropriate header file radeon_mode.h

2014-01-06 Thread Rashika Kheria
Move prototype declaration of function radeon_combios_connected_scratch_regs() to header file drm/radeon/radeon_mode.h from drm/radeon/radeon_connectors.c because it is used by more than one file. This eliminates the following warning in drm/radeon/radeon_combios.c:

[for-next][PATCH] tracing/probes: Fix build break on !CONFIG_KPROBE_EVENT

2014-01-06 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: e0d18fe063464cb3f1a6d1939e4fcf47d92d8386 Namhyung Kim (1): tracing/probes: Fix build break on !CONFIG_KPROBE_EVENT kernel/trace/trace_probe.h | 8 kernel/trace/trace_uprobe.c | 8

Re: [PATCH] perf tools: enable close-on-exec flag on perf file descriptor

2014-01-06 Thread Yann Droneaud
Hi, Le lundi 06 janvier 2014 à 15:22 +0100, Jiri Olsa a écrit : > On Mon, Jan 06, 2014 at 11:51:25AM +0100, Yann Droneaud wrote: > > In a previous patch [1][2], flag PERF_FLAG_FD_CLOEXEC was > > added to perf_event_open(2) syscall to allows userspace > > to enable close-on-exec behavor atomically

[PATCH 33/85] drivers: gpu: Include appropriate header file in radeon_atombios.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/radeon/radeon_asic.h in drm/radeon/radeon_atombios.c because it uses the functions whose prototype declarations is present in the header file. This eliminates the following warnings in drm/radeon/radeon_atombios.c:

Re: [PATCH net 2/2] net: core: explicitly select a txq before doing l2 forwarding

2014-01-06 Thread Neil Horman
On Mon, Jan 06, 2014 at 07:06:25AM -0800, John Fastabend wrote: > On 01/06/2014 04:42 AM, Neil Horman wrote: > >On Mon, Jan 06, 2014 at 11:21:07AM +0800, Jason Wang wrote: > >>Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). > >>The > >>will cause several issues: > >> >

[PATCH 30/85] drivers: gpu: Move prototype declarations to appropriate header file radeon.h

2014-01-06 Thread Rashika Kheria
Move prototype declaration to the header file drm/radeon/radeon.h from files drm/radeon/cik.c, drm/radeon/r600_dma.c and drm/radeon/si.c because they are used by more than one file. This eliminates the following warnings in drm/radeon/r600.c: drivers/gpu/drm/radeon/r600.c:1442:5: warning: no

[RFC][PATCH 3/3] audit: Audit proc cmdline value

2014-01-06 Thread William Roberts
During an audit event, cache and print the value of the process's cmdline value (proc//cmdline). This is useful in situations where processes are started via fork'd virtual machines where the comm field is incorrect. Often times, setting the comm field still is insufficient as the comm width is

[PATCH 26/85] drivers: gpu: Include appropriate header file in radeon_legacy_encoders.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drivers/gpu/drm/radeon/radeon_asic.h in drm/radeon/radeon_legacy_encoders.c because functions radeon_legacy_get_backlight_level() and radeon_legacy_set_backlight_level() have their prototype declarations in the header file. This eliminates the following warnings in

Re: [PATCH] ASoC: simple-card: Fix the sysclk selection.

2014-01-06 Thread Mark Brown
On Mon, Jan 06, 2014 at 12:34:36PM +0800, Xiubo Li wrote: > For spdif there is no need to do the sysclk setting. Applied, thanks. signature.asc Description: Digital signature

[RFC][PATCH 2/3] proc: Update get proc_pid_cmdline() to use mm.h helpers

2014-01-06 Thread William Roberts
Re-factor proc_pid_cmdline() to use get_cmdline() helper from mm.h. Signed-off-by: William Roberts --- fs/proc/base.c | 36 ++-- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index 03c8d74..cfd178d 100644 ---

[PATCH 29/85] drivers: gpu: Include appropriate header file in radeon_ring.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drivers/gpu/drm/radeon/radeon_asic.h to file drm/radeon/radeon_ring.c because functions radeon_ring_generic_set_wptr(), radeon_ring_generic_get_rptr() and radeon_ring_generic_get_wptr() have their prototype declarations in the header file. This eliminates the

Re: [RFC PATCH v1 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-06 Thread Mark Rutland
On Mon, Jan 06, 2014 at 12:07:39PM +, Satish Patel wrote: > TDA8026 is a SmartCard PHY from NXP. > > The PHY interfaces with the main processor over the > I2C interface and acts as a slave device. > > The driver also exposes the phy interface > (defined@include/linux/sc_phy.h) for SmartCard

[PATCH 32/85] drivers: gpu: Move prototype declarations to header file atombios.h

2014-01-06 Thread Rashika Kheria
Move prototype declarations of functions radeon_atom_get_tv_timings() and radeon_atombios_connected_scratch_regs() to header file drm/radeon/atombios.h because they are used by more than one file. Include the header file in atombios_encoders.c, radeon_atombios.c and radeon_connectors.c because

[RFC][PATCH 1/3] mm: Create utility function for accessing a tasks commandline value

2014-01-06 Thread William Roberts
introduce get_cmdline() for retreiving the value of a processes proc/self/cmdline value. Signed-off-by: William Roberts --- include/linux/mm.h |1 + mm/util.c | 48 2 files changed, 49 insertions(+) diff --git a/include/linux/mm.h

[PATCH 27/85] drivers: gpu: Include appropriate header file in radeon_clocks.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drivers/gpu/drm/radeon/radeon_asic.h in file drm/radeon/radeon_clocks.c because functions radeon_legacy_get_engine_clock(), radeon_legacy_get_memory_clock() and radeon_legacy_set_engine_clock() have their prototype declarations in the header file. This eliminates

[PATCH 22/85] drivers: gpu: Mark functions as static in radeon_device.c

2014-01-06 Thread Rashika Kheria
Mark functions radeon_doorbell_init() and radeon_doorbell_fini() as static in drm/radeon/radeon_device.c because they are not used outside this file. This eliminates the following warning in drm/radeon/radeon_device.c: drivers/gpu/drm/radeon/radeon_device.c:252:5: warning: no previous prototype

[PATCH 23/85] drivers: gpu: Mark function as static in radeon_kms.c

2014-01-06 Thread Rashika Kheria
Mark function radeon_info_ioctl() as static in drm/radeon/radeon_kms.c because it is not used outside this file. This eliminates the following warning in drm/radeon/radeon_kms.c: drivers/gpu/drm/radeon/radeon_kms.c:194:5: warning: no previous prototype for ‘radeon_info_ioctl’

[PATCH] Power: abx500: Fixed coding style issues

2014-01-06 Thread Jesper Falk
Fixed else on new line and made tabs instead of spaces Signed-off-by: Jesper Falk --- drivers/power/abx500_chargalg.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c index 6d27236..a1ab145 100644

[PATCH 21/85] drivers: gpu: Include appropriate header file in r128_ioc32.c

2014-01-06 Thread Rashika Kheria
Include appropriate header file drm/r128/r128_drv.h in drm/r128/r128_ioc32.c because function r128_compat_ioctl() has its prototype declaration in the header file. This eliminates the following warning in drm/r128/r128_ioc32.c: drivers/gpu/drm/r128/r128_ioc32.c:196:6: warning: no previous

Re: [PATCH 13/21] mac8011: slight optimization of addr compare

2014-01-06 Thread Johannes Berg
On Mon, 2013-12-23 at 13:10 +0800, Ding Tianhong wrote: > Use the recently added and possibly more efficient > ether_addr_equal_unaligned to instead of memcmp. > - if (memcmp(local->hw.wiphy->addresses[i].addr, > -

Re: [PATCH 09/21] perf ui/hist: Add support to accumulated hist stat

2014-01-06 Thread Jiri Olsa
On Mon, Jan 06, 2014 at 05:32:16PM +0900, Namhyung Kim wrote: > On Sun, 5 Jan 2014 18:31:13 +0100, Jiri Olsa wrote: > > On Tue, Dec 24, 2013 at 05:22:15PM +0900, Namhyung Kim wrote: > >> +#define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) > >> \ > >> +static u64

[PATCH 20/85] drivers: gpu: Mark function as static in qxl_kms.c

2014-01-06 Thread Rashika Kheria
Mark function qxl_device_init() as static in drm/qxl/qxl_kms.c because it is not used outside this file. This eliminates the following warning in drm/qxl/qxl_kms.c: drivers/gpu/drm/qxl/qxl_kms.c:118:5: warning: no previous prototype for ‘qxl_device_init’ [-Wmissing-prototypes] Signed-off-by:

Re: [PATCH 4/11] use ether_addr_equal_64bits

2014-01-06 Thread Eric Dumazet
On Mon, 2014-01-06 at 10:24 +0100, Geert Uytterhoeven wrote: > Thanks to this discussion, my eye fell on: > > static inline unsigned compare_ether_addr(const u8 *addr1, const u8 *addr2) > { > const u16 *a = (const u16 *) addr1; > const u16 *b = (const u16 *) addr2; > >

[PATCH 18/85] drivers: gpu: Mark function as static in nv10_fence.c

2014-01-06 Thread Rashika Kheria
Mark function nv10_fence_context_new() as static in drm/nouveau/nv10_fence.c because it is not used outside this file. This eliminates the following warning in drm/nouveau/nv10_fence.c: drivers/gpu/drm/nouveau/nv10_fence.c:69:1: warning: no previous prototype for ‘nv10_fence_context_new’

[PATCH 14/85] drivers: gpu: Mark function as static in nv94.c

2014-01-06 Thread Rashika Kheria
Mark function nv94_aux() as static in drm/nouveau/core/subdev/i2c/nv94.c because it is not used outside this file. This eliminates the following warning in drm/nouveau/core/subdev/i2c/nv94.c: drivers/gpu/drm/nouveau/core/subdev/i2c/nv94.c:72:1: warning: no previous prototype for ‘nv94_aux’

Re: [PATCH v3.5 10/19] mac8011: slight optimization of addr compare

2014-01-06 Thread Johannes Berg
On Thu, 2013-12-26 at 19:40 +0800, Ding Tianhong wrote: > Use the possibly more efficient ether_addr_equal > to instead of memcmp. This is a slow-path, I don't think that's really worth it. It kinda makes sense, but relies on the struct mac_address allocation for alignment and the fact that there

[PATCH 15/85] drivers: gpu: Mark function as static in ctxnvd7.c

2014-01-06 Thread Rashika Kheria
Mark function nvd7_grctx_generate_main() as static in drm/nouveau/core/engine/graph/ctxnvd7.c because it is not used outside this file. This eliminates the following warning in drm/nouveau/core/engine/graph/ctxnvd7.c: drivers/gpu/drm/nouveau/core/engine/graph/ctxnvd7.c:215:1: warning: no previous

[PATCH 11/85] drivers: gpu: Mark functions as static in mgag200_mode.c

2014-01-06 Thread Rashika Kheria
Mark functions mga_set_start_address(), mga_encoder_destroy() and mga_connector_best_encoder() as static in drm/mgag200/mgag200_mode.c because they are not used outside this file. This eliminates the following warnings in drm/mgag200/mgag200_mode.c: drivers/gpu/drm/mgag200/mgag200_mode.c:694:6:

Re: [PATCH net 2/2] net: core: explicitly select a txq before doing l2 forwarding

2014-01-06 Thread John Fastabend
On 01/06/2014 04:42 AM, Neil Horman wrote: On Mon, Jan 06, 2014 at 11:21:07AM +0800, Jason Wang wrote: Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). The will cause several issues: - NETIF_F_LLTX was forced for macvlan device in this case which lead extra lock

Re: linux-next: build failure after merge of the akpm-current tree

2014-01-06 Thread Santosh Shilimkar
Stephen, On Monday 06 January 2014 04:07 AM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/mm/init.c:199:13: error: conflicting types for 'arm_dma_zone_size' >

[PATCH 10/85] drivers: gpu: Mark function as static in mgag200_main.c

2014-01-06 Thread Rashika Kheria
Mark function mgag200_bo_unref() as static in drm/mgag200/mgag200_main.c because it is not used outside this file. This eliminates the following warning in drm/mgag200/mgag200_main.c: drivers/gpu/drm/mgag200/mgag200_main.c:313:6: warning: no previous prototype for ‘mgag200_bo_unref’

[PATCH] [media] cx18: introduce a helper function to avoid array overrun

2014-01-06 Thread Ethan Zhao
cx18_i2c_register() is called in cx18_init_subdevs() with index greater than length of hw_bus array, that will cause array overrun, introduce a helper cx18_get_max_bus_num() to avoid it. V2: fix a typo and use ARRAY_SIZE macro Signed-off-by: Ethan Zhao --- drivers/media/pci/cx18/cx18-driver.c

[PATCH 12/85] drivers: gpu: Mark functions as static in mgag200_ttm.c

2014-01-06 Thread Rashika Kheria
Mark functions mgag200_ttm_global_release(), mgag200_ttm_bo_is_mgag200_bo() and mgag200_ttm_tt_create() as static in drm/mgag200/mgag200_ttm.c because they are not used outside this file. This eliminates the following warning in drm/mgag200/mgag200_ttm.c:

<    3   4   5   6   7   8   9   10   11   12   >