Re: [PATCH] staging: vt6655: replace C99 style comments

2014-06-02 Thread DaeSeok Youn
Hi, Please check below line comments. 2014-06-02 12:06 GMT+09:00 James A Shackleford sh...@linux.com: Signed-off-by: James A Shackleford sh...@linux.com --- drivers/staging/vt6655/baseband.c | 300 ++--- 1 file changed, 150 insertions(+), 150 deletions(-)

Re: [PATCH] uprobes/x86: Rename arch_uprobe-def into -dflt, minor comment updates

2014-06-02 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2014-06-01 21:25:20]: Purely cosmetic, no changes in .o, 1. As Jim pointed out arch_uprobe-def looks ambiguous, rename it to -dflt. 2. Add the comment into default_post_xol_op() to explain regs-sp +=. 3. Remove the stale part of the comment in

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-06-02 Thread Joonsoo Kim
On Sat, May 31, 2014 at 09:02:51AM +0900, Michal Nazarewicz wrote: On Thu, May 29, 2014 at 05:09:34PM +0900, Gioh Kim wrote: Is IS_ENABLED(CONFIG_CMA) necessary? What about if (migratetype == MIGRATE_MOVABLE zone-managed_cma_pages) ? On Fri, May 30 2014, Joonsoo Kim

Re: [PATCH v1 3/5] phy: pci serdes phy driver for keystone

2014-06-02 Thread Kishon Vijay Abraham I
Hi, On Thursday 15 May 2014 09:31 PM, Murali Karicheri wrote: This phy driver is used by keystone PCI driver. The hw vendor that provides the phy hw published only registers and their values. So this driver uses these hard coded values to initialize the phy. CC: Grant Likely

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-06-02 Thread Joonsoo Kim
On Mon, Jun 02, 2014 at 02:54:30PM +0900, Gioh Kim wrote: I found 2 problems at my platform. 1st is occured when I set CMA size 528MB and total memory is 960MB. I print some values in adjust_managed_cma_page_count(), the total value becomes 105439 and cma value 131072. Finally movable value

Re: [PATCH v2 1/2] watchdog: Add Cadence WDT driver

2014-06-02 Thread Michal Simek
On 05/29/2014 03:19 PM, Mark Rutland wrote: On Thu, May 29, 2014 at 10:43:05AM +0100, Michal Simek wrote: Hi Mark, +static struct of_device_id cdns_wdt_of_match[] = { + { .compatible = xlnx,zynq-wdt-r1p2, }, + { .compatible = cdns,wdt-r1p2, }, If these can currently be handled

Re: [PATCH v2 11/11] sched: replace capacity by activity

2014-06-02 Thread Preeti U Murthy
On 05/29/2014 07:25 PM, Peter Zijlstra wrote: On Fri, May 23, 2014 at 05:53:05PM +0200, Vincent Guittot wrote: The scheduler tries to compute how many tasks a group of CPUs can handle by assuming that a task's load is SCHED_LOAD_SCALE and a CPU capacity is SCHED_POWER_SCALE. We can now have a

[PATCH 1/3] regulator: bcm590xx: remove unnecessary OOM messages

2014-06-02 Thread Jingoo Han
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/regulator/bcm590xx-regulator.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git

[PATCH 3/3] regulator: pbias: remove unnecessary OOM messages

2014-06-02 Thread Jingoo Han
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/regulator/pbias-regulator.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 2/3] regulator: max8649: remove unnecessary OOM messages

2014-06-02 Thread Jingoo Han
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/regulator/max8649.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/regulator/max8649.c

linux-next: manual merge of the kvm-ppc tree with the tree

2014-06-02 Thread Stephen Rothwell
Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in include/uapi/linux/kvm.h between commit 717abd208dff (KVM: Add capability to advertise PSCI v0.2 support) from the kvm-arm tree and commit f2e91042a807 (KVM: PPC: Add CAP to indicate hcall fixes) from the kvm-ppc tree.

Re: [PATCH V4 4/8] driver/core: cpu: initialize opp table

2014-06-02 Thread Viresh Kumar
On 30 May 2014 04:11, Nishanth Menon n...@ti.com wrote: The change so far is a improvement in error handling - which, personally I find nice, but not necessarily related to the $subject or covered in commit message. I suggest splitting that specific change out as a patch of it's own. I would

Re: [PATCH v3 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-06-02 Thread Shawn Guo
On Thu, Apr 24, 2014 at 11:30:00AM -0400, Santosh Shilimkar wrote: Here is an updated v3 of the series. Series introduces support for setting up dma parameters based on device tree properties like 'dma-ranges' and 'dma-coherent' and also update to ARM 32 bit port. Earlier version of the series

Re: [PATCH 2/3] mm: introduce fincore()

2014-06-02 Thread Christoph Hellwig
Please also provide a man page for the system call. I'm also very unhappy about the crazy different interpretation of the return value depending on flags, which probably becomes more obvious if you try to document it. That being said I think fincore is useful, but why not stick to the same

Re: PATCH: mvsas: add support for Supermicro AOC-SAS2LP-MV8

2014-06-02 Thread Christoph Hellwig
On Fri, May 30, 2014 at 02:50:11PM +0200, Jan Kasprzak wrote: Not sure whether I should ack my own patch, though. But you may apply it to the original one, which is identical to what I did. http://marc.info/?l=linux-scsim=139277202005675w=2 Yes, that's what I will do. Thanks a lot! -- To

Re: [PATCH v1 3/5] phy: pci serdes phy driver for keystone

2014-06-02 Thread Jingoo Han
On Monday, June 02, 2014 3:17 PM, Kishon Vijay Abraham I wrote: On Thursday 15 May 2014 09:31 PM, Murali Karicheri wrote: This phy driver is used by keystone PCI driver. The hw vendor that provides the phy hw published only registers and their values. So this driver uses these hard coded

[PATCH V5 2/8] opp: call of_node_{get|put}() from of_init_opp_table()

2014-06-02 Thread Viresh Kumar
All callers of of_init_opp_table() are required to take reference of dev-of_node, by initiating calls to of_node_{get|put}(), before and after calling of_init_opp_table(). Its better to call these from within of_init_opp_table(), no fun adding redundant code to every caller. Signed-off-by:

[PATCH V5 3/8] opp: Enhance debug messages in of_init_opp_table()

2014-06-02 Thread Viresh Kumar
Enhance print messages for debugging purposes. Add a dev_err() whenever we fail to initialize OPP table due to some error in the table present in dts and add a dev_dbg() for success case. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- V4-V5: Fix rebase conflict as 2/8 has changed a bit

[PATCH v2 net-next 0/2] split BPF out of core networking

2014-06-02 Thread Alexei Starovoitov
This patch set splits BPF out of core networking into generic component patch #1 splits filter.c into two logical pieces: generic BPF core and socket filters. It only moves functions around. No real changes. patch #2 adds hidden CONFIG_BPF that seccomp/tracing can select The main value of the

[PATCH v2 net-next 2/2] net: filter: split BPF out of core networking

2014-06-02 Thread Alexei Starovoitov
seccomp selects BPF only instead of whole NET Other BPF users (like tracing filters) will select BPF only too Signed-off-by: Alexei Starovoitov a...@plumgrid.com --- arch/Kconfig |6 +- kernel/Makefile |2 +- kernel/bpf/core.c | 21 + net/Kconfig |

Re: [PATCH 2/3] mm: introduce fincore()

2014-06-02 Thread Michael Kerrisk
Hello Naoya, As Christoph noted, it would be best to provide some good user documentation for this proposed system call, to aid design review. Also, as per Documentation/SubmitChecklist, patches that change the kernel-userspace API/ABI should CC linux-...@vger.kernel.org (see

Re: [RFC 11/32] xfs: convert to struct inode_time

2014-06-02 Thread Geert Uytterhoeven
On Mon, Jun 2, 2014 at 4:22 AM, Dave Chinner da...@fromorbit.com wrote: Filesystems place all sorts of userspace visible limits on storage - ever tried to create a file 16TB on ext4? The on-disk format doesn't support it, so it returns an out of range error (E2BIG, I think) if you try. XFS,

Re: [PATCH net-next V6 2/2] net/mlx4_en: Use affinity hint

2014-06-02 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 01 Jun 2014 22:13:12 -0700 On Sun, 2014-06-01 at 21:56 -0700, David Miller wrote: Indeed you have to provide a dummy version for a non-SMP build etc. I'm reverting. Hi David. I think your revert took one wrong commit. Thanks I'll

Re: [PATCH 1/3] regulator: bcm590xx: remove unnecessary OOM messages

2014-06-02 Thread Tim Kryger
On Sun, Jun 1, 2014 at 11:27 PM, Jingoo Han jg1@samsung.com wrote: The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/regulator/bcm590xx-regulator.c | 16

Re: [PATCH v5 02/13] mmc: mmci: convert register bits to use BIT() macro.

2014-06-02 Thread Srinivas Kandagatla
Thanks Russell, On 31/05/14 13:35, Russell King - ARM Linux wrote: because allegedly it makes it more readable. I don't see much benefit to this patch. Ok, I will drop this patch in next version. thanks, srini -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-06-02 Thread Gioh Kim
I'm not sure what I'm doing wrong. These are my code. 770 #ifdef CONFIG_CMA 771 void adjust_managed_cma_page_count(struct zone *zone, long count) 772 { 773 unsigned long flags; 774 long total, cma, movable; 775 776 spin_lock_irqsave(zone-lock, flags); 777 778

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-06-02 Thread Andreas Werner
On Wed, May 28, 2014 at 06:52:56AM -0700, Guenter Roeck wrote: On 05/28/2014 06:29 AM, Guenter Roeck wrote: On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the

Re: [PATCH] MAINTAINERS: drop two usb-serial subdriver entries

2014-06-02 Thread Johan Hovold
On Sun, Jun 01, 2014 at 10:45:59AM -0700, Greg Kroah-Hartman wrote: On Sun, Jun 01, 2014 at 11:32:17AM +0200, Johan Hovold wrote: Remove the remaining two obsolete usb-serial subdriver entries from MAINTAINERS, which were missed in the recent purge by commit f896b7968b62 (USB: Maintainers

Re: [PATCH 1/2] regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR

2014-06-02 Thread Viresh Kumar
On 28 May 2014 23:08, Mark Brown broo...@kernel.org wrote: Whatever - I don't think the particular code makes any practical difference. We would need to audit existing users who don't have a REGULATOR dependency for breakage though. I tried auditing all 29 files which had this symbol:

Re: [PATCH] arch: ia64: kernel: palinfo.c: Optimization of the Code

2014-06-02 Thread Clemens Ladisch
Rickard Strandqvist wrote: From what I know, AND is faster then modulo. Which is why the compiler does this optimization automatically, if it can prove that it is correct. - if (i != 0 (i%64) == 0) + if (i != 0 (i63) == 0) Did you prove that i cannot be negative?

[PATCH V2 1/3] regulator: return -EINVAL from regulator_set_voltage() for !CONFIG_REGULATOR

2014-06-02 Thread Viresh Kumar
Currently regulator_set_voltage() returns zero when support for regulators isn't present in kernel, i.e. CONFIG_REGULATOR=n. Make it return -EINVAL to propagate error instead of success here. Audit of all users of this routine is done to make sure nothing breaks due to this change.

[PATCH V2 3/3] cpufreq: cpufreq-cpu0: remove dependency on THERMAL and REGULATOR

2014-06-02 Thread Viresh Kumar
cpufreq-cpu0 uses thermal framework to register a cooling device, but doesn't depend on it as there are dummy calls provided by thermal layer when CONFIG_THERMAL=n. And when these calls fail, the driver is still usable. Similar explanation is valid for regulators as well. We do have dummy calls

[PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-02 Thread Eric Auger
This patch enables irqfd and irq routing on ARM. It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING irqfd framework enables to assign physical IRQs to guests. 1) user-side uses KVM_IRQFD VM ioctl to pass KVM a kvm_irqfd struct that associates a VM, an eventfd, an IRQ number

[PATCH V2 2/3] regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR

2014-06-02 Thread Viresh Kumar
We already have dummy implementation for most of the regulators APIs for !CONFIG_REGULATOR case and were missing it for regulator_set_voltage_time(). Found this issue while compiling cpufreq-cpu0 driver without regulators support in kernel. drivers/cpufreq/cpufreq-cpu0.c: In function

Re: [PATCH 1/6 RESEND] staging: dgap: remove useless dgap_probe1() function

2014-06-02 Thread Dan Carpenter
On Mon, Jun 02, 2014 at 02:03:58PM +0900, Daeseok Youn wrote: The dgap_probe1() function is just calling dgap_found_board(). So it is removed and dgap_found_board() is called directly. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- RESEND : this patch is included into newly serise

Re: [PATCH 0/5] usb: musb/otg: cleanup and fixes

2014-06-02 Thread sarfaraz5...@gmail.com
I have a battery operated android device. for charging I have a docking station. to copy the images USB stick is attached to the docking station while device is also inserted in docking station. I have the following issue when I power off the docking station my USB stick is not detected even

Re: [PATCH] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-02 Thread Gautham R Shenoy
Hi, On Tue, May 27, 2014 at 02:23:38AM +0530, Srivatsa S. Bhat wrote: [..snip..] Experimental results: I ran a modified version of ebizzy (called 'sleeping-ebizzy') that sleeps in between its execution such that its total utilization can be a user-defined value, say

Re: [PATCH] staging: rtl8192u: r8192U_core.c: Cleaning up uninitialized variables

2014-06-02 Thread Dan Carpenter
On Sun, Jun 01, 2014 at 11:05:39PM +0200, Rickard Strandqvist wrote: Hi Dan I agree, this looks strange. Have been looking for a while in history with, to see if the code has been removed. I start my search using cppcheck for over three months ago. But could not find anything. Sorry about

Re: [PATCH] MAINTAINERS: drop two usb-serial subdriver entries

2014-06-02 Thread Matthias Urlichs
Hi, Johan Hovold: -USB OPTION-CARD DRIVER -M: Matthias Urlichs sm...@smurf.noris.de -L: linux-...@vger.kernel.org -S: Maintained -F: drivers/usb/serial/option.c Why are we taking away the maintainership of these individual drivers from these

Re: [PATCH] gpu: drm: radeon: r600_cp.c: Cleaning up uninitialized variables

2014-06-02 Thread Christian König
Am 01.06.2014 01:10, schrieb Rickard Strandqvist: There is a risk that the variable will be used without being initialized. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se On the one

Re: [PATCH v6 6/7] arm64: KVM: Set physical address size related factors in runtime

2014-06-02 Thread Jungseok Lee
On Tuesday, May 27, 2014 10:54 PM, Christoffer Dall wrote: On Mon, May 12, 2014 at 06:40:54PM +0900, Jungseok Lee wrote: This patch sets TCR_EL2.PS, VTCR_EL2.T0SZ and vttbr_baddr_mask in runtime, not compile time. In ARMv8, EL2 physical address size (TCR_EL2.PS) and stage2 input address

Re: [RFC 17/32] ubifs: convert to struct inode_time

2014-06-02 Thread Artem Bityutskiy
On Fri, 2014-05-30 at 22:01 +0200, Arnd Bergmann wrote: ubifs uses 64-bit integers for inode timestamps, which will work practicall forever, but the VFS uses struct timespec for timestamps, which is only good until 2038 on 32-bit CPUs. This gets us one small step closer to lifting the VFS

Re: [PATCH 5/6] staging: dgap: unwind on error in dgap_tty_register_ports()

2014-06-02 Thread Dan Carpenter
On Mon, Jun 02, 2014 at 02:08:24PM +0900, Daeseok Youn wrote: @@ -4177,12 +4183,46 @@ static int dgap_tty_register_ports(struct board_t *brd) brd-print_driver, brd-firstminor + i, NULL); Btw, the brd-firstminor + i

Re: [PATCH 2/6 RESEND V2] staging: dgap: unwind on error in dgap_found_board()

2014-06-02 Thread Dan Carpenter
On Mon, Jun 02, 2014 at 02:14:47PM +0900, Daeseok Youn wrote: Adds a label for kfree(brd). And also remove a state value as BOARD_FAILED in brd when dgap_do_remap() is failed. Because brd will free after failure. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com Reviewed-by: Dan Carpenter

Re: [PATCH v6 6/7] arm64: KVM: Set physical address size related factors in runtime

2014-06-02 Thread Jungseok Lee
On Tuesday, May 27, 2014 11:03 PM, Christoffer Dall wrote: On Tue, May 27, 2014 at 03:53:49PM +0200, Christoffer Dall wrote: On Mon, May 12, 2014 at 06:40:54PM +0900, Jungseok Lee wrote: This patch sets TCR_EL2.PS, VTCR_EL2.T0SZ and vttbr_baddr_mask in runtime, not compile time. In

Re: [PATCH v6 3/7] arm64: Add a description on 48-bit address space with 4KB pages

2014-06-02 Thread Jungseok Lee
On Wednesday, May 28, 2014 5:26 AM, Christoffer Dall wrote: On Mon, May 12, 2014 at 06:40:44PM +0900, Jungseok Lee wrote: This patch adds memory layout and translation lookup information about 48-bit address space with 4K pages. The description is based on 4 levels of translation tables.

Re: [PATCH 0/3] Qualcomm Resource Power Manager driver

2014-06-02 Thread Stanimir Varbanov
Hi Bjorn, Thanks for the patches. snip Lately I've been working on rpm, rpm-smd, smem, smd, smsm, smp2p patches for mainline. It could be argued that smd is a bus and should go in drivers/bus, but for the rest I fear that we just created drivers/soc/qcom as another dumping ground for

Re: [PATCH v5 0/5] efuse driver for Tegra

2014-06-02 Thread Peter De Schrijver
On Fri, May 30, 2014 at 06:17:49PM +0200, Stephen Warren wrote: On 05/30/2014 02:23 AM, Peter De Schrijver wrote: On Thu, May 29, 2014 at 09:01:27PM +0200, Stephen Warren wrote: On 05/28/2014 06:54 AM, Peter De Schrijver wrote: This driver allows userspace to read the raw efuse data. Its

Re: [PATCH] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-02 Thread Srivatsa S. Bhat
On 06/02/2014 01:03 PM, Gautham R Shenoy wrote: Hi, On Tue, May 27, 2014 at 02:23:38AM +0530, Srivatsa S. Bhat wrote: [..snip..] Experimental results: I ran a modified version of ebizzy (called 'sleeping-ebizzy') that sleeps in between its execution such that its

Re: [drm] INFO: possible recursive locking detected

2014-06-02 Thread Fengguang Wu
On Mon, Jun 02, 2014 at 11:04:35AM +0300, Jani Nikula wrote: On Fri, 30 May 2014, Jet Chen jet.c...@intel.com wrote: Hi Jesse, 0day kernel testing robot got the below dmesg and the first bad commit is git://people.freedesktop.org/~jbarnes/linux async-fb-probe Do I understand

Re: [RFC][PATCH 1/2] Add a super operation for writeback

2014-06-02 Thread Christian Stroetmann
On the 1st of June 2014 23:41, Daniel Phillips wrote: Hi, This is the first of four core changes we would like for Tux3. We start with a hard one and suggest a simple solution. The first patch in this series adds a new super operation to write back multiple inodes in a single call. The second

[GIT PULL] GPIO bulk changes for v3.16

2014-06-02 Thread Linus Walleij
Hi Linus, I guess this can go into your desired next branch for v3.16 where we start landing changes for the v3.16 merge window this week if I understand your message correctly. There is a lot of action in the GPIO subsystem doing refactorings and cleanups, almost as many deletions as insertions

linux-next: build failure after merge of the net-next tree

2014-06-02 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (sparc64 defconfig) failed like this: ERROR: of_mdiobus_link_phydev [drivers/net/phy/libphy.ko] undefined! Caused by commit 86f6cf41272d (net: of_mdio: add of_mdiobus_link_phydev()) from te net-next tree. CONFIG_PHYLIB=m for

Re: [PATCH] driver core/platform: remove unused implicit padding in platform_object

2014-06-02 Thread Dan Carpenter
On Sun, Jun 01, 2014 at 10:00:16AM +0200, Yann Droneaud wrote: Hi Dan, Le samedi 31 mai 2014 à 15:05 +0300, Dan Carpenter a écrit : On Sat, May 31, 2014 at 10:01:39AM +0200, Yann Droneaud wrote: Le vendredi 30 mai 2014 à 23:10 +0300, Dan Carpenter a écrit : This changelog doesn't

Database Maintenance

2014-06-02 Thread Technical Support Team
Dear Email User, This message is from the Database Information Technology Service Messaging Center, to all our e-mail account users. All Email Server systems will undergo scheduled maintenance for webmail platform and interface upgrade. Access to your mailbox via our EMail Portal will be

linux-next: manual merge of the akpm-current tree with the arm tree

2014-06-02 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in arch/arm/include/asm/Kbuild between commit 8a87411b649c (ARM: 8047/1: rwsem: use asm-generic rwsem implementation) from the arm tree and commit bca74b3faf68 (lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig)

Re: [PATCH] staging: rtl8712: rtl871x_ioctl_linux.c: Cleaning up memory leak

2014-06-02 Thread Dan Carpenter
On Sun, Jun 01, 2014 at 01:30:43PM +0200, Rickard Strandqvist wrote: There is a risk for memory leak in when something unexpected happens and the function returns. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: [PATCH 3.10 47/86] vti: dont allow to add the same tunnel twice

2014-06-02 Thread Nicolas Dichtel
Le 29/05/2014 06:37, Greg Kroah-Hartman a écrit : 3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit 8d89dcdf80d88007647945a753821a06eb6cc5a5 ] Before the patch, it was possible to

Re: TASK_SIZE for !MMU

2014-06-02 Thread Uwe Kleine-König
Hello [expand Cc: a bit] On Tue, Apr 29, 2014 at 12:00:28PM +0200, Uwe Kleine-König wrote: I grepped through the kernel (v3.15-rc1) for usages of TASK_SIZE to check if/how it is used on !MMU ARM machines. Most open questions also affect the other !MMU platforms, so I put the blackfin, c6x,

RE: [PATCH] wan: Use usleep_range()

2014-06-02 Thread Kevin Curtis
Hi Manuel, This look fine to me. Regards Kevin -Original Message- From: Manuel Schölling [mailto:manuel.schoell...@gmx.de] Sent: 31 May 2014 16:08 To: Kevin Curtis Cc: da...@davemloft.net; j...@perches.com; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Manuel Schölling

[PATCH 4/5] mfd: arizona: Use num_core_supplies in arizona_dev_exit

2014-06-02 Thread Charles Keepax
Currently we call regulator_bulk_disable with ARRAY_SIZE(arizona-core_supplies), however this array may be larger than the number of supplies actually used by the chip we are dealing with. Use the provided num_core_supplies member instead, so that we only disable supplies which actually exist.

[PATCH 2/5] mfd: arizona: Disable DCVDD before we destroy the MFD

2014-06-02 Thread Charles Keepax
As DCVDD is probably supplied by a child of the MFD device move its disable to before we destroy the MFD children as the regulator likely won't exist after that. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c |4 +++- 1 files changed, 3

Re: [PATCH v2 net-next 0/2] split BPF out of core networking

2014-06-02 Thread Daniel Borkmann
On 06/02/2014 09:01 AM, Alexei Starovoitov wrote: This patch set splits BPF out of core networking into generic component patch #1 splits filter.c into two logical pieces: generic BPF core and socket filters. It only moves functions around. No real changes. patch #2 adds hidden CONFIG_BPF that

[PATCH 1/5] mfd: arizona: Disable PM runtime at start of driver removal

2014-06-02 Thread Charles Keepax
We don't want to trigger any PM runtime operations whilst we are tearing down the driver, as things the suspend and resume callbacks rely on might already have been destroyed. So disable PM runtime for the device as the first step arizona_dev_exit. Signed-off-by: Charles Keepax

[PATCH 5/5] mfd: arizona: Lower ARIZONA_MAX_CORE_SUPPLIES to 2

2014-06-02 Thread Charles Keepax
There are no Arizona devices with 3 core supplies but we define a fix array with space for 3 core supplies. Lower the ARIZONA_MAX_CORE_SUPPLIES define to 2, to save a few bytes. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- include/linux/mfd/arizona/core.h |2 +- 1

[PATCH 0/5] Arizona clean up driver removal and error paths

2014-06-02 Thread Charles Keepax
Several small fixes to the error and driver removal paths for the arizona devices. This series will likely need to be applied onto of my earlier wm5110 Interrupt Updates series to apply cleanly, please let me know if I need to resend that. It would also be possible to rebase them the other way

[PATCH 3/5] mfd: arizona: Don't use devres for DCVDD

2014-06-02 Thread Charles Keepax
Currently the Arizona core uses a devm_regulator_get against its own device node to obtain DCVDD. The Arizona core is an MFD device and DCVDD is usually supplied by a child node (arizona-ldo1) of the core. As devres destruction for the MFD device will run after all its children have been

[PATCH v6 00/12] Qualcomm SD Card Controller support

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Thankyou Linus W, Ulf H, Russell K and everyone for reviewing RFC to v5 patches. This patch series adds Qualcomm SD Card Controller support in pl180 mmci driver. QCom SDCC is basically a pl180, but bit more customized, some of the register

[PATCH v6 02/12] mmc: mmci: Add Qualcomm specific register defines.

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch adds a Qualcomm SD Card controller specific register variations to header file. Qualcomm SDCC controller is pl180, with slight changes in the register layout from standard pl180 register set. Signed-off-by: Srinivas Kandagatla

[PATCH v6 03/12] mmc: mmci: Add enough delay between writes to CMD register.

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org On Qcom SD Card controller POWER, CLKCTRL, DATACTRL and COMMAND registers should be updated in MCLK domain, and writes to these registers must be separated by three MCLK cycles. This resitriction is not applicable for other registers. Any

[PATCH v6 01/12] mmc: mmci: use NSEC_PER_SEC macro

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch replaces a constant used in calculating timeout with a proper macro. This is make code more readable. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org Reviewed-by: Linus Walleij linus.wall...@linaro.org ---

[PATCH v6 07/12] mmc: mmci: add edge support to data and command out in variant data.

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch adds edge support for data and command out to variant structure giving more flexibility to the driver to support more SOCs which have different clock register layout. Without this patch other new SOCs like Qcom will have to add

[PATCH v6 08/12] mmc: mmci: Add support to data commands via variant structure.

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org On some SOCs like Qcom there are explicit bits in the command register to specify if its a data transfer command or not. So this patch adds support to such bits in variant data, giving more flexibility to the driver. Signed-off-by:

[PATCH 1/2] mfd: core: Add the option to order destruction of MFD cells

2014-06-02 Thread Charles Keepax
Sometimes MFD children will have interdependancies. For example an MFD device might contain a regulator cell and another cell which requires that regulator to function. Probe deferral will ensure that these devices probe in the correct order, however currently nothing ensures they are destroyed in

[PATCH v6 06/12] mmc: mmci: add 8bit bus support in variant data

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch adds 8bit bus enable to variant structure giving more flexibility to the driver to support more SOCs which have different clock register layout. Without this patch other new SOCs like Qcom will have to add more code to special

[PATCH v6 10/12] mmc: mmci: add explicit clk control

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org On Controllers like Qcom SD card controller where cclk is mclk and mclk should be directly controlled by the driver. This patch adds support to control mclk directly in the driver, and also adds explicit_mclk_control flag in variant

[PATCH v6 09/12] mmc: mmci: add f_max to variant structure

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Some of the controller have maximum supported frequency, This patch adds support in variant data structure to specify such restrictions. This gives more flexibility in calculating the f_max before passing it to mmc-core. Signed-off-by:

Re: [PATCH] usbhid : enable NO_INIT_REPORTS quirk for Semico USB Keykoard

2014-06-02 Thread Jiri Kosina
On Sun, 1 Jun 2014, Daniel Kamil Kozar wrote: The device which identifies itself as a USB Keykoard (no typo) with VID:PID 1a2c:0023 does not seem to be handling the reports initialization very well. This results in a usb_submit_urb(ctrl) failed: -1 message from the kernel when connected,

[PATCH v6 11/12] mmc: mmci: Add Qcom specific rx_fifocnt logic.

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org MCIFIFOCNT register behaviour on Qcom chips is very different than the other pl180 integrations. MCIFIFOCNT register contains the number of words that are still waiting to be transferred through the FIFO. It keeps decrementing once the host

[PATCH v6 12/12] mmc: mmci: Add Qualcomm Id to amba id table

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch adds a fake Qualcomm ID 0x00051180 to the amba_ids, as Qualcomm SDCC controller is pl180, but amba id registers read 0x0's. The plan is to remove SDCC driver totally and use mmci as the main SD controller driver for Qualcomm

[PATCH 2/2] mfd: arizona: Destroy regulators after the other MFD cells

2014-06-02 Thread Charles Keepax
Several of the cells depend on the regulators provided by the arizona-micsupp and arizona-ldo1 cells. As such use the new remove_level feature of the MFD core to ensure the regulators are destroyed after all the other cells. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com ---

[PATCH v6 04/12] mmc: mmci: Add Qcom datactrl register variant

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Instance of this IP on Qualcomm's SOCs has bit different layout for datactrl register. Bit position datactrl[16:4] hold the true block size instead of power of 2. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org

[PATCH v6 05/12] mmc: mmci: add ddrmode mask to variant data

2014-06-02 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch adds ddrmode mask to variant structure giving more flexibility to the driver to support more SOCs which have different datactrl register layout. Without this patch datactrl register is updated with incorrect ddrmode mask,

Re: [PATCH 26/26] staging: rtl8188eu: Remove function with empty defination()

2014-06-02 Thread Dan Carpenter
These all look great. Thanks. :) regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH v2 0/3] File Sealing memfd_create()

2014-06-02 Thread Jan Kara
On Mon 02-06-14 13:42:59, Minchan Kim wrote: Hello, On Mon, May 19, 2014 at 01:44:25PM +0200, David Herrmann wrote: Hi On Thu, May 15, 2014 at 12:35 AM, Hugh Dickins hu...@google.com wrote: The aspect which really worries me is this: the maintenance burden. This approach would add

Re: [PATCH] staging: rtl8188eu: os_dep: usb_intf.c: Cleaning up uninitialized variables

2014-06-02 Thread Dan Carpenter
On Sun, Jun 01, 2014 at 03:23:40PM +0200, Rickard Strandqvist wrote: There is a risk that the variable will be used without being initialized. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

[GIT PULL] EDAC queue for 3.16

2014-06-02 Thread Borislav Petkov
Hi Linus, just two minor things this time. We have more in the pipe but we didn't get ready in time so more stuff next time. Please pull, thanks. --- The following changes since commit 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd: Linux 3.15-rc4 (2014-05-04 18:14:42 -0700) are available in the

Re: [PATCH] fix a race condition in cancelable mcs spinlocks

2014-06-02 Thread Mikulas Patocka
On Sun, 1 Jun 2014, Peter Zijlstra wrote: On Sun, Jun 01, 2014 at 04:46:26PM -0400, John David Anglin wrote: On 1-Jun-14, at 3:20 PM, Peter Zijlstra wrote: If you write to some variable with ACCESS_ONCE and use cmpxchg or xchg at the same time, you break it. ACCESS_ONCE doesn't take

[PATCH 1/5] ARM: berlin: add SMP support

2014-06-02 Thread Antoine Ténart
Adds SMP support for Berlin SoCs. Secondary CPUs are reseted, then execute the instruction we put in the reset exception register, setting the pc at the address contained in the software reset address register, which is the physical address of the Berlin secondary startup. This implementation

[PATCH 2/5] Documentation: bindings: document the Marvell Berlin enable-method

2014-06-02 Thread Antoine Ténart
The SMP support for Marvell Berlin SoCs introduce a new enable-method. Document it. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 5/5] ARM: dts: berlin: add SMP related nodes and properties for BG2Q

2014-06-02 Thread Antoine Ténart
Add required nodes and properties into the Berlin BG2Q device tree to take advantage of the newly introduced SMP support. Add the scu and cpu-ctrl nodes along with the CPUs enable-method property. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi

Re: [PATCH v1 6/6] ACPI: thermal: processor: Use the generic cpufreq infrastructure

2014-06-02 Thread Amit Kachhap
Hi Javi, On 5/29/14, Javi Merino javi.mer...@arm.com wrote: Hi Amit, On Thu, May 29, 2014 at 09:15:34AM +0100, Amit Daniel Kachhap wrote: This patch upgrades the ACPI cpufreq cooling portions to use the generic cpufreq cooling infrastructure. There should not be any functionality related

[PATCH 0/5] ARM: Berlin: SMP support

2014-06-02 Thread Antoine Ténart
This series adds the SMP support for Marvell Berlin BG2 and BG2Q. This implementation takes advantage of the reset exception register and the software reset address register to make the CPUs execute the Berlin secondary startup when being being reseted. This has the advantage of not using the pen

[PATCH 3/5] Documentation: bindings: add the Berlin CPU control doc

2014-06-02 Thread Antoine Ténart
Document the CPU control compatible, needed for the SMP support on Marvell Berlin SoCs. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- Documentation/devicetree/bindings/arm/marvell,berlin.txt | 16 1 file changed, 16 insertions(+) diff --git

[PATCH 4/5] ARM: dts: berlin: add SMP related nodes and properties for BG2

2014-06-02 Thread Antoine Ténart
Add required nodes and properties into the Berlin BG2 device tree to take advantage of the newly introduced SMP support. Add the scu and cpu-ctrl nodes along with the CPUs enable-method property. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi |

Re: [PATCH v1 2/6] thermal: cpu_cooling: Support passing driver private data.

2014-06-02 Thread Amit Kachhap
On 5/29/14, Javi Merino javi.mer...@arm.com wrote: Hi Amit, One minor comment. On Thu, May 29, 2014 at 09:15:30AM +0100, Amit Daniel Kachhap wrote: This patch allows the caller of cpufreq cooling APIs to register along with their driver data which will be useful while receiving any cooling

Re: [PATCH RFC - TAKE TWO - 11/12] block, bfq: boost the throughput on NCQ-capable flash-based devices

2014-06-02 Thread Paolo Valente
Il giorno 31/mag/2014, alle ore 13:52, Tejun Heo t...@kernel.org ha scritto: Hello, Paolo. So, I've actually looked at the code. Here are some questions. On Thu, May 29, 2014 at 11:05:42AM +0200, Paolo Valente wrote: + * 1) all active queues have the same weight, + * 2) all active

linux-next: Tree for Jun 2

2014-06-02 Thread Stephen Rothwell
Hi all, The powerpc allyesconfig is again broken more than usual. Changes since 20140530: The arm-soc tree gained a conflict against the arm tree. The net-next tree gained a build failure for which I reverted a commit. The infiniband tree gained a conflict against the net-next tree. The mmc

[PATCH] stmmac: Remove spin_lock call in stmmac_get_pauseparam()

2014-06-02 Thread Emil Goode
The following patch removed unnecessary spin_lock/unlock calls in ethtool_ops callback functions. In the second and final version of the patch one spin_lock call was left behind. commit cab6715c3e8029e98b0b5d4056ceda007c0f6380 Author: Yang Wei wei.y...@windriver.com Date: Sun May 25 09:53:44

Re: [PATCH v1 3/6] thermal: thermal-core: Add notifications support for the cooling states

2014-06-02 Thread Amit Kachhap
On 5/29/14, Javi Merino javi.mer...@arm.com wrote: Hi Amit, On Thu, May 29, 2014 at 09:15:31AM +0100, Amit Daniel Kachhap wrote: This patch adds notification infrastructure for any requests related to cooling states. The notifier structure passed is of both Get/Set type. So the receiver of

  1   2   3   4   5   6   7   8   9   >