[GIT pull] irq updates for 4.1-rc3

2015-05-09 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus Two patches from the irq departement: - A simple fix to make dummy_irq_chip usable for wakeup scenarios - Removal of the gic arch_extn

[PATCH v6 01/12] irqdomain: Add non-hierarchy helper irq_domain_set_info

2015-05-09 Thread Stefan Agner
This adds the helper irq_domain_set_info() in a non-domain hierarchy variant. This allows to use the helper for generic chip since not all chips using generic chip support domain hierarchy. Signed-off-by: Stefan Agner ste...@agner.ch --- include/linux/irqdomain.h | 8

Re: Hardware spec prevents optimal performance in device driver

2015-05-09 Thread Mason
One Thousand Gnomes wrote: Mason wrote: I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to the FIFO by writing {1,2,4} bytes to a

Re: [PATCH net-next] test: bpf: extend load 64-bit immediate testcase

2015-05-09 Thread Daniel Borkmann
On 05/09/2015 10:14 AM, Xi Wang wrote: Extend the testcase to catch a signedness bug in the arm64 JIT: test_bpf: #58 load 64-bit immediate jited:1 ret -1 != 1 FAIL (1 times) This is useful to ensure other JITs won't have a similar bug. Link: https://lkml.org/lkml/2015/5/8/458 Cc: Alexei

[PATCH v3 22/33] staging: rtl8192e: Fix LONG_LING in rtllib_parse_info_param()

2015-05-09 Thread Mateusz Kulikowski
Take out MIFE_TYPE_HT_CAP processing into separate function - rtllib_parse_mfie_ht_cap() Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 49 +--- 1 file changed, 29 insertions(+), 20 deletions(-) diff

[PATCH v3 25/33] staging: rtl8192e: Remove unused rtl_crypto.h

2015-05-09 Thread Mateusz Kulikowski
This header is not used - remove it to make driver code smaller. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_crypto.h | 382 - 1 file changed, 382 deletions(-) delete mode 100644

[PATCH v3 26/33] staging: rtl8192e: Replace ?: with max_t

2015-05-09 Thread Mateusz Kulikowski
Improve readability and make checkpatch happy. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c

[PATCH v3 32/33] staging: rtl8192e: Fix trivial LONG_LINE errors

2015-05-09 Thread Mateusz Kulikowski
Reindent lines to make checkpatch happy. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 83 +++--- drivers/staging/rtl8192e/rtllib_rx.c | 18 --- 2 files changed, 65 insertions(+), 36 deletions(-)

[PATCH v3 33/33] staging: rtl8192e: rtl8192E_suspend(): Fix WOL reporting

2015-05-09 Thread Mateusz Kulikowski
WOL capability was reported in an awkward way - print it nicely. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_pm.c

[PATCH v3 30/33] staging: rtl8192e: rtl8192_phy_checkBBAndRF(): Don't check MAC

2015-05-09 Thread Mateusz Kulikowski
This function never supported checking of MAC block. Instead of printing several warnings - print it once and exit. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-)

[PATCH v3 24/33] staging: rtl8192e: Fix OOM_MESSAGE warnings

2015-05-09 Thread Mateusz Kulikowski
Remove alloc failed messages where not needed to make checkpatch.pl happy. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [net-next PATCH v3 1/4] devicetree: Add compatible string for Zynq Ultrascale+ MPSoC

2015-05-09 Thread David Miller
From: Harini Katakam harini.kata...@xilinx.com Date: Wed, 6 May 2015 22:27:15 +0530 Add cdns,zynqmp-gem to be used for Zynq Ultrascale+ MPSoC. Signed-off-by: Harini Katakam hari...@xilinx.com Reviewed-by: Punnaiah Choudary Kalluri punn...@xilinx.com Applied. -- To unsubscribe from this

Re: [net-next PATCH v3 2/4] net: macb: Add compatible string for Zynq Ultrascale+ MPSoC

2015-05-09 Thread David Miller
From: Harini Katakam harini.kata...@xilinx.com Date: Wed, 6 May 2015 22:27:16 +0530 Add compatible string and config structure for Zynq Ultrascale+ MPSoC Signed-off-by: Harini Katakam hari...@xilinx.com Reviewed-by: Punnaiah Choudary Kalluri punn...@xilinx.com Applied. -- To unsubscribe

Re: [net-next PATCH v3 3/4] net: macb: Add support for jumbo frames

2015-05-09 Thread David Miller
From: Harini Katakam harini.kata...@xilinx.com Date: Wed, 6 May 2015 22:27:17 +0530 Enable jumbo frame support for Zynq Ultrascale+ MPSoC. Update the NWCFG register and descriptor length masks accordingly. Jumbo max length register should be set according to support in SoC; it is set to 10240

Re: [PATCH v3 20/33] staging: rtl8192e: Fix PREFER_PR_LEVEL warnings

2015-05-09 Thread Joe Perches
On Sat, 2015-05-09 at 23:19 +0200, Mateusz Kulikowski wrote: Fix most of remaining PREFER_PR_LEVEL warnings in rtllib. Replace printk() with netdev_* if possible, pr_* in other cases. All pr_* use __func__ to easily trace message back to rtllib It's more common to use %s: and not %s(): but

Re: Re: [PATCH perf/core v2 0/4] perf-probe code cleanup and support wildcard for probe points

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 4:38, Arnaldo Carvalho de Melo wrote: Em Fri, May 08, 2015 at 10:03:26AM +0900, Masami Hiramatsu escreveu: Hi, Here is a patches for wild card support. I've added two patches to reduce API parameters by introducing probe_conf. This simplifies --no-inlines option. (Thanks

Re: [PATCH 3/3] perf probe: Add --range option to show variable location range

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 16:41, He Kuang wrote: On 2015/5/8 22:08, Masami Hiramatsu wrote: On 2015/05/08 21:23, He Kuang wrote: It is not easy for users to get the accurate byte offset or the line number where a local variable can be probed. With '--range' option, local variables in scope of the probe

Re: [PATCH] net: macb: Handle the RXUBR interrupt on all devices

2015-05-09 Thread David Miller
From: Nathan Sullivan nathan.sulli...@ni.com Date: Tue, 5 May 2015 15:00:25 -0500 The same hardware issue the at91 must work around applies to at least the Zynq ethernet, and possibly more devices. The driver also needs to handle the RXUBR interrupt since it turns it on with MACB_RX_INT_FLAGS

Re: [PATCH v2 5/7] Xen / ACPI / processor: Remove unneeded NULL check in xen_acpi_processor_enable()

2015-05-09 Thread Konrad Rzeszutek Wilk
On Tue, May 05, 2015 at 11:29:05AM +0100, Stefano Stabellini wrote: CC'ing Konrad and David. On Tue, 5 May 2015, Hanjun Guo wrote: Before xen_acpi_processor_enable() is called, struct acpi_processor *pr is allocated in xen_acpi_processor_add() and checked if it's NULL, so no need to

[PATCH] ASoC: codecs-ac97: Remove rate constraints

2015-05-09 Thread Maciej S. Szmigiero
Remove rate constraints from generic ASoC AC'97 CODEC. Supported rates should be detected and constrained anyway by AC'97 generic code - was tested with VT1613 CODEC and iMX6 SSI controller. This way this driver can be used for platforms which don't need specialized AC'97 CODEC drivers while

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-09 Thread Dan Williams
On Mon, May 4, 2015 at 1:26 PM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : + +static int nd_acpi_register_region(struct acpi_nfit_desc *acpi_desc, + struct nfit_spa *nfit_spa) +{ + static struct nd_mapping

Re: [PATCH v2 0/2] net/rds: RDS-TCP robustness fixes

2015-05-09 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Tue, 5 May 2015 15:20:50 -0400 This patch-set contains bug fixes for state-recovery at the RDS layer when the underlying transport is TCP and the TCP state at one of the endpoints is reset V2 changes: DaveM comments to reduce

[PATCH] sh: Wire up missing syscalls

2015-05-09 Thread Chen Gang
The related warnings: CALLscripts/checksyscalls.sh stdin:1229:2: warning: #warning syscall sched_setattr not implemented [-Wcpp] stdin:1232:2: warning: #warning syscall sched_getattr not implemented [-Wcpp] stdin:1235:2: warning: #warning syscall renameat2 not implemented [-Wcpp]

Re: [PATCH] net: fec: add support of ethtool get_regs

2015-05-09 Thread Russell King - ARM Linux
On Sat, May 09, 2015 at 10:52:08PM +0200, Philippe Reynes wrote: +static void fec_enet_get_regs(struct net_device *ndev, + struct ethtool_regs *regs, void *regbuf) +{ + struct fec_enet_private *fep = netdev_priv(ndev); + + memcpy_fromio(regbuf, fep-hwp,

[PATCH v3 16/33] staging: rtl8192e: Remove RTLLIB_DEBUG()

2015-05-09 Thread Mateusz Kulikowski
- Use netdev_dbg or netdev_vdbg instead of RTLLIB_DEBUG() - Reformat some messages for better readability - Remove RTLLIB_DEBUG messages that make no sense Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 35 +

[PATCH v3 04/33] staging: rtl8192e: Fix DEEP_INDENTATION warning in rtllib_parse_info_param()

2015-05-09 Thread Mateusz Kulikowski
Move MFIE_TYPE_GENERIC handler to rtllib_parse_mife_generic() function. Code was not altered significantly, therefore in some places it generates LONG_LINE checkpatch.pl warnings. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 364

[PATCH v3 18/33] staging: rtl8192e: Remove remains of RTLLIB_*_DEBUG() (including proc entry)

2015-05-09 Thread Mateusz Kulikowski
Remove rest of rtllib debug system - it is no longer used - proper netdev_* functions are used in most cases. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 45 -- drivers/staging/rtl8192e/rtllib_module.c | 55

[PATCH v3 17/33] staging: rtl8192e: Remove RTLLIB_DEBUG_DATA()

2015-05-09 Thread Mateusz Kulikowski
Use print_hex_dump_bytes() if VERBOSE_DEBUG is enabled. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 20 drivers/staging/rtl8192e/rtl819x_HTProc.c | 7 +-- drivers/staging/rtl8192e/rtllib.h | 11

[PATCH v3 14/33] staging: rtl8192e: Remove RTLLIB_DEBUG_MGMT()

2015-05-09 Thread Mateusz Kulikowski
- Use netdev_dbg() instead of RTLLIB_DEBUG_MGMT() - Remove RTLLIB_DEBUG_MGMT() - Pass net_device to auth_parse(), auth_rq_parse() and assoc_rq_parse() - Remove duplicated messages Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 2 -

[PATCH v3 01/33] staging: rtl8192e: Declare ethernet addresses as __aligned(2)

2015-05-09 Thread Mateusz Kulikowski
Add __aligned(2) into ethernet addresses allocated on stack or in non-packed structures. Use ETH_ALEN as array length in places where it was hardcoded to 6. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 3 ++-

[PATCH v3 12/33] staging: rtl8192e: Remove RTLLIB_DEBUG_(FRAG|EAP|DROP|STATE|TX|RX)()

2015-05-09 Thread Mateusz Kulikowski
Use netdev_dbg() instead. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 6 drivers/staging/rtl8192e/rtllib_rx.c | 58 drivers/staging/rtl8192e/rtllib_tx.c | 5 ++-- 3 files changed, 35

[PATCH v3 19/33] staging: rtl8192e: Remove assert() macro

2015-05-09 Thread Mateusz Kulikowski
Assert macro printed warning message (and was used once). Remove it, and add netdev_warn() in place where it was called. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 5 +++-- drivers/staging/rtl8192e/rtllib_debug.h | 8

[PATCH v3 11/33] staging: rtl8192e: Remove RTLLIB_DEBUG_SCAN()

2015-05-09 Thread Mateusz Kulikowski
Use netdev_dbg() instead, remove duplicated logs. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_rx.c | 101 --- drivers/staging/rtl8192e/rtllib_wx.c | 12 +++-- 3

[PATCH 3/3] cpuidle: Select a different state on tick_broadcast_enter() failures

2015-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com If tick_broadcast_enter() fails in cpuidle_enter_state(), try to find another idle state to enter instead of invoking default_idle_call() immediately and returning -EBUSY which should increase the chances of saving some energy in those cases.

[PATCH 0/3] cpuidle: updates related to tick_broadcast_enter() failures

2015-05-09 Thread Rafael J. Wysocki
On Saturday, May 09, 2015 10:33:05 PM Rafael J. Wysocki wrote: On Saturday, May 09, 2015 10:11:41 PM Rafael J. Wysocki wrote: On Saturday, May 09, 2015 11:19:16 AM Preeti U Murthy wrote: Hi Rafael, On 05/08/2015 07:48 PM, Rafael J. Wysocki wrote: [cut] + /* Take

Re: [PATCH] net: fec: add support of ethtool get_regs

2015-05-09 Thread David Miller
From: Philippe Reynes trem...@gmail.com Date: Sun, 10 May 2015 00:16:21 +0200 Hi Fabio, On 09/05/15 23:59, Fabio Estevam wrote: Philippe, On Sat, May 9, 2015 at 6:17 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Using memcpy_fromio() to copy device registers is not a good

[PATCH] staging: rtl8192e: Change cpu_to_le16 to le16_to_cpu

2015-05-09 Thread Arno Tiemersma
Since the function auth_parse returns a u16, and struct rtllib_authentication.status is defined as an __le16, it seems that return cpu_to_le16(a-status); should be return le16_to_cpu(a-status); This change silences the following sparse warnings:

Re: [PATCH 1/1] suspend: delete sys_sync()

2015-05-09 Thread Henrique de Moraes Holschuh
On Sat, 09 May 2015, Alan Stern wrote: On Fri, 8 May 2015, Rafael J. Wysocki wrote: My current view on that is that whether or not to do a sync() before suspending ultimately is a policy decision and should belong to user space as such (modulo the autosleep situation when user space

[PATCH v6 03/12] irqchip: nvic: support hierarchy irq domain

2015-05-09 Thread Stefan Agner
Add support for hierarchy irq domains. This is required to stack the MSCM interrupt router and the NVIC controller found in Vybrid SoC. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/irqchip/Kconfig| 1 + drivers/irqchip/irq-nvic.c | 28 +++- 2 files

[PATCH v6 08/12] ARM: introduce ARM_SINGLE_ARMV7M for ARMv7-M platforms

2015-05-09 Thread Stefan Agner
This introduces a new top level config symbol ARM_SINGLE_ARMV7M for non-MMU, ARMv7-M platforms. It also support multiple ARMv7-M platforms in one kernel image since the cores share the same basic memory layout and interrupt controller. However, this works only if the combined platforms also have a

[PATCH v6 07/12] ARM: unify MMU/!MMU addruart calls

2015-05-09 Thread Stefan Agner
Remove the needless differences between MMU/!MMU addruart calls. This allows to use the same addruart macro on SoC level. Useful for SoC consisting of multiple CPUs with and without MMU such as Freescale Vybrid. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/debug/efm32.S | 2

[PATCH v6 06/12] clocksource: add dependencies for Vybrid pit clocksource

2015-05-09 Thread Stefan Agner
Add the minimal dependencies required to use the Vybrid PIT clocksource driver. Those are not part of the SoC dependencies. Acked-by: Daniel Lezcano daniel.lezc...@linaro.org Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/clocksource/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v6 02/12] genirq: generic chip: support hierarchy domain

2015-05-09 Thread Stefan Agner
Use the new helper function irq_domain_set_info to make sure the function irq_domain_set_hwirq_and_chip is being called, which is crucial to save irqdomain specific data to irq_data. Signed-off-by: Stefan Agner ste...@agner.ch --- kernel/irq/generic-chip.c | 5 ++--- 1 file changed, 2

[PATCH v6 00/12] ARM: vf610m4: Add Vybrid Cortex-M4 support

2015-05-09 Thread Stefan Agner
It took me a bit longer than expected to come up with the 6th revision of the patchset. Support for irq domain hierarchy for generic chip turned out to be not as easy as thought, the changes lead to build errors when building without domain hierarchy, sorry about that Jason. However, in this

[GIT PULL] arm-soc fixes for 4.1-rc2

2015-05-09 Thread Arnd Bergmann
The following changes since commit 5ebe6afaf0057ac3eaeb98defd5456894b446d22: Linux 4.1-rc2 (2015-05-03 19:22:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to

[PATCH v6 04/12] irqchip: vf610-mscm: support NVIC parent

2015-05-09 Thread Stefan Agner
Support the NVIC interrupt controller as node parent of the MSCM interrupt router. On the dual-core variants of Vybird (VF6xx), the NVIC interrupt controller is used by the Cortex-M4. To support running Linux on this core too, MSCM needs NVIC parent support too. Signed-off-by: Stefan Agner

[PATCH v3 13/33] staging: rtl8192e: Remove RTLLIB_DEBUG_QOS()

2015-05-09 Thread Mateusz Kulikowski
- Pass extra argument (rtllib_device) to rtllib_parse_qos_info_param_IE() and update_network() - Replace RTLLIB_DEBUG_QOS() with netdev_dbg() - Remove RTLLIB_DEBUG_QOS() Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 -

[PATCH v3 31/33] staging: rtl8192e: Replace RT_TRACE(COMP_ERR, ...) with netdev_*

2015-05-09 Thread Mateusz Kulikowski
- Use netdev_* with log level depending on how serious error is - Rework some messages to be more readable - Pass net_device where needed for pretty prints Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 24 +++--

[PATCH v3 29/33] staging: rtl8192e: Remove unneeded RT_TRACE(COMP_ERR,...)

2015-05-09 Thread Mateusz Kulikowski
This messages are not needed, as failure is reported earlier in code. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 1 - drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 1 - 2 files changed, 2 deletions(-) diff

[PATCH v3 20/33] staging: rtl8192e: Fix PREFER_PR_LEVEL warnings

2015-05-09 Thread Mateusz Kulikowski
Fix most of remaining PREFER_PR_LEVEL warnings in rtllib. Replace printk() with netdev_* if possible, pr_* in other cases. All pr_* use __func__ to easily trace message back to rtllib Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c

[PATCH v3 28/33] staging: rtl8192e: Replace ?: with max

2015-05-09 Thread Mateusz Kulikowski
Warninig is printed if precision is lost - it can't happen at moment as all get_key implementations return either -1 or small buffers. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_wx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

[PATCH v3 27/33] staging: rtl8192e: Replace ?: with min_t

2015-05-09 Thread Mateusz Kulikowski
Replace :? with min_t for readability. Remove check that is always false. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 8 +--- drivers/staging/rtl8192e/rtllib_wx.c | 3 +-- 2 files changed, 2 insertions(+), 9

[PATCH v3 21/33] staging: rtl8192e: Fix LONG_LINE warnings

2015-05-09 Thread Mateusz Kulikowski
Fix most of simple LONG_LINE warnings. None of the changes should affect behaviour of code, so several modifications are included in this patch: - Code is reindented where needed - Local variable names are compacted (priv - p) - Unnecessary casts are removed - Nested ifs are replaced with logical

Re: [net-next PATCH v3 4/4] net: macb: Add change_mtu callback with jumbo support

2015-05-09 Thread David Miller
From: Harini Katakam harini.kata...@xilinx.com Date: Wed, 6 May 2015 22:27:18 +0530 Add macb_change_mtu callback; if jumbo frame support is present allow mtu size changes upto (jumbo max length allowed - headers). Signed-off-by: Harini Katakam hari...@xilinx.com Reviewed-by: Punnaiah

Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-09 Thread Dave Chinner
On Fri, May 08, 2015 at 11:02:28PM -0400, Rik van Riel wrote: On 05/08/2015 09:14 PM, Linus Torvalds wrote: On Fri, May 8, 2015 at 9:59 AM, Rik van Riel r...@redhat.com wrote: However, for persistent memory, all of the files will be in memory. Yes. However, I doubt you will find a very

[PATCH v2] net: fec: add support of ethtool get_regs

2015-05-09 Thread Philippe Reynes
This enables the ethtool's -d and --register-dump options for fec devices. Signed-off-by: Philippe Reynes trem...@gmail.com --- drivers/net/ethernet/freescale/fec_main.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) Changelog: v2: (thanks Russell King

Re: [PATCH] net: fec: add support of ethtool get_regs

2015-05-09 Thread Philippe Reynes
Hi Fabio, On 09/05/15 23:59, Fabio Estevam wrote: Philippe, On Sat, May 9, 2015 at 6:17 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Using memcpy_fromio() to copy device registers is not a good idea - it can use a variable access size which can cause bus faults. An example

[Resend][PATCH] PM / tick: Add tracepoints for suspend-to-idle diagnostics

2015-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add suspend/resume tracepoints to tick_freeze() and tick_unfreeze() to catch when timekeeping is suspended and resumed during suspend-to-idle so as to be able to check whether or not we enter the frozen state and to measure the time spent in it.

Re: [PATCH] x86: rename eisa_set_level_irq to elcr_set_level_irq

2015-05-09 Thread Maciej W. Rozycki
On Sat, 9 May 2015, Paul Gortmaker wrote: This routine has been around for over a decade, but with EISA being dead and abandoned for about twice that long, the name can be kind of confusing. The function is going at the PIC Edge/Level Configuration Registers (ELCR), so rename it as such and

Re: [PATCH] netxen_nic: use spin_[un]lock_bh around tx_clean_lock (2)

2015-05-09 Thread David Miller
From: Tony Camuso tcam...@redhat.com Date: Wed, 6 May 2015 09:09:18 -0400 This patch should have been part of the previous patch having the same summary. See http://marc.info/?l=linux-kernelm=143039470103795w=2 Unfortunately, I didn't check to see where else this lock was used before

[PATCH] net: fec: add support of ethtool get_regs

2015-05-09 Thread Philippe Reynes
This enables the ethtool's -d and --register-dump options for fec devices. Signed-off-by: Philippe Reynes trem...@gmail.com --- drivers/net/ethernet/freescale/fec_main.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git

Re: [RFC] init.h: mark init functions hot instead of cold

2015-05-09 Thread Josh Triplett
On Sat, May 09, 2015 at 02:17:39AM -0700, Andi Kleen wrote: On Sat, May 09, 2015 at 12:45:01AM +0200, Rasmus Villemoes wrote: attribute((cold)) causes gcc to optimize the function for size rather than speed. But since __init functions will be discarded anyway, I don't see why memory should

[PATCH v3 02/33] staging: rtl8192e: Fix PREFER_ETHER_ADDR_COPY warnings

2015-05-09 Thread Mateusz Kulikowski
Replace memcpy() with ether_addr_copy() where possible to make checkpatch.pl happy. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 13 +++---

Re: [PATCH] net: fec: add support of ethtool get_regs

2015-05-09 Thread David Miller
From: Russell King - ARM Linux li...@arm.linux.org.uk Date: Sat, 9 May 2015 22:17:46 +0100 On Sat, May 09, 2015 at 10:52:08PM +0200, Philippe Reynes wrote: +static void fec_enet_get_regs(struct net_device *ndev, + struct ethtool_regs *regs, void *regbuf) +{ +

Re: [PATCH v2] staging: rtl8192e: Change cpu_to_le16 to le16_to_cpu

2015-05-09 Thread Dan Carpenter
On Sat, May 09, 2015 at 10:27:16PM +0200, Arno Tiemersma wrote: Since the function auth_parse returns a u16, and struct rtllib_authentication.status is defined as an __le16, it seems that return cpu_to_le16(a-status); should be return le16_to_cpu(a-status); This change

[PATCH] PM / tick: Add tracepoints for suspend-to-idle diagnostics

2015-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add suspend/resume tracepoints to tick_freeze() and tick_unfreeze() to catch when timekeeping is suspended and resumed during suspend-to-idle so as to be able to check whether or not we enter the frozen state and to measure the time spent in it.

RE:hello

2015-05-09 Thread beaktfjls
hello buone notizie per voi Portatile, macchina fotografica, cellulare, moto , la spedizione è gratuita samsung s6, 320euro w e b: swewaoo . com N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�j:+v���zZ+��+zf���h���~i���z��w���?��)ߢf��^jǫy�m��@A�a��� 0��h���i

Re: [PATCH v2] ARM: net: add JIT support for loads from struct seccomp_data.

2015-05-09 Thread David Miller
From: Nicolas Schichan nschic...@freebox.fr Date: Thu, 7 May 2015 15:00:13 +0200 Signed-off-by: Nicolas Schichan nschic...@freebox.fr --- This patch was first sent as part of a serie modifying the core seccomp code to allow the use of the classic BPF JIT. As the core changes have been

Re: [PATCH] net: deinline netif_tx_stop_queue() and netif_tx_stop_all_queues()

2015-05-09 Thread David Miller
From: Denys Vlasenko dvlas...@redhat.com Date: Thu, 7 May 2015 13:41:10 +0200 These functions compile to ~60 bytes of machine code each. As others have suggested, just kill the WARN_ON(). -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2 1/3] perf probe: Remove length limitation for showing available variables

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 18:55, He Kuang wrote: Use struct strbuf instead of bare char[] to remove the length limitation of variables in variable_list, so they will not disappear due to overlength, and make preparation for adding more description for variables. Looks good to me! Acked-by: Masami

[PATCH] irqchip: tegra: fix wrong data being passed as the irqdomain chip data

2015-05-09 Thread Lucas Stach
The irq chip functions use the irq chipdata directly as the base register address of the controller, so this should be passed in instead of a pointer to the array address holding the base address. This fixes Tegra20 CPUidle as now the un-/masking of IRQs at the LIC level works again, but more

[PATCH v2] staging: rtl8192e: Change cpu_to_le16 to le16_to_cpu

2015-05-09 Thread Arno Tiemersma
Since the function auth_parse returns a u16, and struct rtllib_authentication.status is defined as an __le16, it seems that return cpu_to_le16(a-status); should be return le16_to_cpu(a-status); This change silences the following sparse warnings:

[PATCH] imx27: dt: only map 1 Kbyte for fec registers

2015-05-09 Thread Philippe Reynes
According to the imx27 documentation, fec has a 1 Kbyte memory space map, spitted in two regions of 512 bytes. The first one for control/status registers, and the second one for event/statistic registers. So, we don't need to map 16 Kbyte for registers, 1 Kbyte is enough. Signed-off-by: Philippe

[PATCH v3 10/33] staging: rtl8192e: Simplify rtllib_proces_probe_response()

2015-05-09 Thread Mateusz Kulikowski
- Extract frame_ctl once and use it as variable. - Drop endian conversion in is_beacon() function (used in simplified function only) - Simplify debug messages - Invert STYPE checks in debug messages - it is valid as only BEACON and PROBE_RESP are allowed Signed-off-by: Mateusz Kulikowski

[PATCH v3 09/33] staging: rtl8192e: Remove RTLLIB_DEBUG_WX()

2015-05-09 Thread Mateusz Kulikowski
Use netdev_dbg() instead of RTLLIB_DEBUG_WX(). Rewrite some messages to be more readable. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_wx.c | 33 - 2 files changed,

[PATCH v3 08/33] staging: rtl8192e: Remove RTLLIB_ERROR() and RTLLIB_WARNING()

2015-05-09 Thread Mateusz Kulikowski
Use pr_* where needed (rtllib init code). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 2 -- drivers/staging/rtl8192e/rtllib_module.c | 8 +++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH v3 06/33] staging: rtl8192e: Remove rtllib_crypt.[ch]

2015-05-09 Thread Mateusz Kulikowski
It is neither compiled nor used in rtl8192e. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_crypt.c | 254 drivers/staging/rtl8192e/rtllib_crypt.h | 34 - 2 files changed, 288 deletions(-) delete mode

[PATCH v3 03/33] staging: rtl8192e: Mark unaligned memcpy()

2015-05-09 Thread Mateusz Kulikowski
Comment unaligned memcpy() that trigger PREFER_ETHER_ADDR_COPY checkpatch.pl warning. It will prevent accidential Fix to ether_addr_copy(). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 20 1 file changed, 12

[PATCH v3 05/33] staging: rtl8192e: Replace memcmp() with ether_addr_equal_unaligned()

2015-05-09 Thread Mateusz Kulikowski
Use dedicated macro to compare ethernet addresses in probe_rq_parse(). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_softmac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c

Re: [PATCH v2] ARM: net fix emit_udiv() for BPF_ALU | BPF_DIV | BPF_K intruction.

2015-05-09 Thread David Miller
From: Nicolas Schichan nschic...@freebox.fr Date: Wed, 6 May 2015 18:31:56 +0200 In that case, emit_udiv() will be called with rn == ARM_R0 (r_scratch) and loading rm first into ARM_R0 will result in jit_udiv() function being called the same dividend and divisor. Fix that by loading rn first

Re: [PATCH] net: fec: add support of ethtool get_regs

2015-05-09 Thread Fabio Estevam
Philippe, On Sat, May 9, 2015 at 6:17 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Using memcpy_fromio() to copy device registers is not a good idea - it can use a variable access size which can cause bus faults. An example on how memcpy_fromio() can be avoided in get_regs:

Re: [alsa-devel] [PATCH] ASoC: codecs-ac97: Remove rate constraints

2015-05-09 Thread Maciej S. Szmigiero
Hi Fabio, W dniu 09.05.2015 01:47, Fabio Estevam pisze: Hi Maciej, (..) Please keep me on Cc when you submit further ac97 patches / udoo dts, so that I can help testing them. Thanks, Fabio Estevam Thank you for your kind words, naturally I will keep you CCed. Best regards, Maciej

Re: [PATCH v3 01/33] staging: rtl8192e: Declare ethernet addresses as __aligned(2)

2015-05-09 Thread Joe Perches
On Sat, 2015-05-09 at 23:18 +0200, Mateusz Kulikowski wrote: Add __aligned(2) into ethernet addresses allocated on stack or in non-packed structures. Use ETH_ALEN as array length in places where it was hardcoded to 6. [] diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c

[PATCH 1/3] sched / idle: Call idle_set_state() from cpuidle_enter_state()

2015-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce a wrapper function around idle_set_state() called sched_idle_set_state() that will pass this_rq() to it as the first argument and make cpuidle_enter_state() call the new function before and after entering the target state. At the same

[PATCH 2/3] sched / idle: Call default_idle_call() from cpuidle_enter_state()

2015-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The check of the cpuidle_enter() return value against -EBUSY made in call_cpuidle() will not be necessary any more if cpuidle_enter_state() calls default_idle_call() directly when it is about to return -EBUSY, so make that happen and eliminate

Re: [PATCH v2 2/3] perf probe: Add --range option to show variable location range

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 18:55, He Kuang wrote: It is not easy for users to get the accurate byte offset or the line number where a local variable can be probed. With '--range' option, local variables in scope of the probe point are showed with byte offset range, and can be added according to this range

Re: [PATCH v2 3/3] perf probe: Show better error message when failed to find variable

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 18:55, He Kuang wrote: Indicate to check variable location range in error message when we got failed to find the variable. Before this patch: $ perf probe --add 'generic_perform_write+118 bytes' Failed to find the location of bytes at this address. Perhaps, it has

Re: [PATCH V3] cpuidle: Handle tick_broadcast_enter() failure gracefully

2015-05-09 Thread Rafael J. Wysocki
On Saturday, May 09, 2015 10:11:41 PM Rafael J. Wysocki wrote: On Saturday, May 09, 2015 11:19:16 AM Preeti U Murthy wrote: Hi Rafael, On 05/08/2015 07:48 PM, Rafael J. Wysocki wrote: [cut] +/* Take note of the planned idle state. */ +

[PATCH v6 05/12] ARM: ARMv7M: define size of vector table for Vybrid

2015-05-09 Thread Stefan Agner
Vybrids has 112 peripherial interrupts which can be routed to the Cortex-M4's NVIC interrupt controller. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 3937af0..527ea03 100644

[PATCH v6 10/12] ARM: vf610: enable Cortex-M4 configuration on Vybrid SoC

2015-05-09 Thread Stefan Agner
This patch allows to build the Kernel for Vybrid (VF6xx) SoC when ARMv7-M CPU is selected. The resulting image runs on the secondary Cortex-M4 core. This core has equally access to all peripherals as the main Cortex-A5 core. However, there is no resource control mechanism, hence when both cores

[PATCH v6 09/12] ARM: efm32: use ARM_SINGLE_ARMV7M

2015-05-09 Thread Stefan Agner
Use the new config symbol ARM_SINGLE_ARMV7M which groups config symbols used by modern ARMv7-M platforms. It also support multiple ARMv7-M platforms in one kernel image. However, this only works if the combined platforms share the same (main) memory layout. Signed-off-by: Stefan Agner

[PATCH v6 11/12] ARM: dts: add support for Vybrid running on Cortex-M4

2015-05-09 Thread Stefan Agner
This adds an initial device tree to run Linux on the Cortex-M4 on the Vybrid based Colibri VF61 module. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/vf610m4-colibri.dts | 99 +++

[PATCH v6 12/12] ARM: vf610m4: add defconfig for Linux on Vybrids Cortex-M4

2015-05-09 Thread Stefan Agner
Add defconfig for Linux on Vybrid (vf610) on the secondary Cortex- M4 CPU. The use of a XIP image has been tested which needs to be loaded (e.g. using the custom m4boot loader) to the end of the available RAM at address 0x8f00. The Cortex-M4 has a code-alias which makes sure that the

[PATCH v3 15/33] staging: rtl8192e: Remove RTLLIB_DEBUG_INFO()

2015-05-09 Thread Mateusz Kulikowski
Use pr_debug() instead. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_module.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH v3 23/33] staging: rtl8192e: Remove unimplemented iwpriv handlers

2015-05-09 Thread Mateusz Kulikowski
Remove the following private variables: - force_mic_error - changes force_mic_error that is not used - radio - changes sw_radio_on that is not used - adhoc_peer_list - unimplemented - firm_ver - unimplemented Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com ---

[PATCH v3 07/33] staging: rtl8192e: Replace RTLLIB_DEBUG(DL_ERR) with netdev_*()

2015-05-09 Thread Mateusz Kulikowski
Replace all RTLLIB_DEBUG(RTLLIB_DL_ERR, *) calls with netdev_err() for errors that really should be reported to user. Use netdev_warn() for the rest. Rephrase some of the messages to make them more readable/compact. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com ---

[PATCH v3 00/33] staging: rtl8192e: Fix more checkpatch.pl warnings

2015-05-09 Thread Mateusz Kulikowski
This series applies some of review comments by Dan (thanks!) as well as does further cleanups. Further series will probably focus more on changing driver architecture into something that may get accepted into -wireless. This series should apply cleanly to staging-testing(7192a5dd5) branches. One

[PATCH] ASoC: codecs-ac97: make selectable in config

2015-05-09 Thread Maciej S. Szmigiero
Make generic ASoC AC'97 CODEC selectable in config. This way this driver can be used for platforms which don't need specialized AC'97 CODEC drivers but which are not directly selectable in config themselves (for example DT based ones). Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name

Re: [PATCH] x86: Fix mkcapflags.sh bash-ism again

2015-05-09 Thread sylvain . bertrand
On Mon, Apr 27, 2015 at 03:21:02PM +, sylvain.bertr...@gmail.com wrote: While compiling linux, dash shell reports a bash-ism: /src/linux-4.0/arch/x86/kernel/cpu/mkcapflags.sh: 9: /src/linux-4.0/arch/x86/kernel/cpu/mkcapflags.sh: Syntax error: ( unexpected See:

[PATCH] x86: rename eisa_set_level_irq to elcr_set_level_irq

2015-05-09 Thread Paul Gortmaker
This routine has been around for over a decade, but with EISA being dead and abandoned for about twice that long, the name can be kind of confusing. The function is going at the PIC Edge/Level Configuration Registers (ELCR), so rename it as such and mentally decouple it from the long since dead

  1   2   3   4   5   >