Re: How can I check creator of probe point?

2014-10-16 Thread Masami Hiramatsu
Hello Gioh, If you can use ftrace and perftool, you can also put probes on caller site. perf-probe will give you source-code level probes. Or, just trace kmalloc event with ftrace stacktrace option, which gives you caller information so that you can filter your driver by postprocessing. Thank

LED LENSER X21 Flashlight

2014-10-16 Thread RE:Hotsale LED LENSER Products
Dear friend Glad to hear that you're on the market for LED LENSER flashlight products. We do LED LENSER Wholesale all around the world. Our LED LENSER Products are all of high quality and the most competitive price, which are highly spoke of by our cooperant customers. Now we're looking for new

[PATCH] xen: avoid race in p2m handling

2014-10-16 Thread Juergen Gross
When a new p2m leaf is allocated this leaf is linked into the p2m tree via cmpxchg. Unfortunately the compare value for checking the success of the update is read after checking for the need of a new leaf. It is possible that a new leaf has been linked into the tree concurrently in between. This

[git pull] Please pull mpe.git for-linus branch (for powerpc)

2014-10-16 Thread Michael Ellerman
Hi Linus, There was a bit of a misunderstanding between us and the ARM guys in the device tree PCI code, which is breaking virtio on powerpc. This is the minimal fix until we can sort it out properly. cheers The following changes since commit 0429fbc0bdc297d64188483ba029a23773ae07b0: Merge

[GIT PULL REQUEST] md updates for 3.18

2014-10-16 Thread NeilBrown
Hi Linus, here are some md updates for 3.18. Thanks, NeilBrown The following changes since commit 8e0e99ba64c7ba46133a7c8a3e3f7de01f23bd93: md/raid5: disable 'DISCARD' by default due to safety concerns. (2014-10-02 13:45:00 +1000) are available in the git repository at:

Re: [PATCH 00/27] Fix common bug in most nand drivers not showing a device in sysfs

2014-10-16 Thread Alexander Holler
Hello, I wonder if anyone else will fix this in a maintainer-approved style which doesn't use these evil leftovers from C666 called functions. Or will the sysfs for most NAND drivers be knowingly broken forever? Regards, Alexander Holler Am 27.05.2014 00:12, schrieb Alexander Holler: A

lening bieden

2014-10-16 Thread Karin LOCK
Goedenavond Wij bieden nu de zakelijke en persoonlijke leningen: de kosten zijn laag Flexibele aflossingsperiode 1-25 jaar. Voor meer informatie en uitleg Mijn e-mail: i...@pretmv100.com This message was sent using IMP, the

Re: How can I check creator of probe point?

2014-10-16 Thread Gioh Kim
I'm going to try them. Thanks a lot. 2014-10-16 오후 3:00, Masami Hiramatsu 쓴 글: Hello Gioh, If you can use ftrace and perftool, you can also put probes on caller site. perf-probe will give you source-code level probes. Or, just trace kmalloc event with ftrace stacktrace option, which gives

[GIT PULL] MTD updates for 3.18

2014-10-16 Thread Brian Norris
Hi Linus, Sorry for delaying this a bit later than usual. There's one mild regression from 3.16 that was noticed during the 3.17 cycle, and I meant to send a fix for it along with this pull request. I'll probably try to queue it up for a later pull request once I've had a better look at it,

Re: [PATCH v6] mmc: dw_mmc: Add IDMAC 64-bit address mode support

2014-10-16 Thread Jaehoon Chung
Hi, Prabu. On 10/15/2014 09:05 PM, Vivek Gautam wrote: Hi Prabu, On Tue, Oct 14, 2014 at 5:41 PM, Alim Akhtar alim.akh...@gmail.com wrote: Hi Prahu, Thanks for a quick re-spin o the patch. One last comment, this is more of a information seek. On Thu, Oct 9, 2014 at 1:09 PM, Prabu

Re: [PATH v3 0/4] i2c: show and change bus frequency via sysfs

2014-10-16 Thread Wolfram Sang
On Wed, Oct 15, 2014 at 11:03:27PM +0300, Octavian Purdila wrote: This patch series adds support to show and change the bus frequency via sysfs, by exposing files to show the minimum, maximum and current frequency as well as allowing the frequency to be changed. This allows the user to view or

Re: [PATCH v8 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-10-16 Thread Wolfram Sang
On Wed, Oct 15, 2014 at 05:48:09PM +0300, Octavian Purdila wrote: From: Laurentiu Palcu laurentiu.pa...@intel.com This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol

Re: [PATCH] arch/x86/realmode: make trampoline code conditional for x86-32

2014-10-16 Thread Jarkko Sakkinen
On Wed, Oct 15, 2014 at 08:47:11AM -0700, H. Peter Anvin wrote: On 10/15/2014 08:38 AM, Jarkko Sakkinen wrote: Trampoline code is only needed for SMP and in x86-64 for wakeup code. Make it conditional in order to minimize the kernel size. Signed-off-by: Jarkko Sakkinen

Re: unaligned accesses in SLAB etc.

2014-10-16 Thread Meelis Roos
I'd like to know that your another problem is related to commit bf0dea23a9c0 (mm/slab: use percpu allocator for cpu cache). So, if the commit is reverted, your another problem is also gone completely? The other problem has been present forever. Umm? I am afraid I have been

Re: [PATCH 1/1 v2] driver:mtd:spi-nor:fix spi_nor_scan overwrite platform ID point

2014-10-16 Thread Rafał Miłecki
On 14 October 2014 03:26, Bean Huo 霍斌斌 (beanhuo) bean...@micron.com wrote: This patch used to modify the method of spi_nor_scan overwrite platform ID point. If type of platform data match with the name of spi_nor_ids set, and JEDEC ID also match with INFO ID of spi_nor_ids set,spi device ID

Re: Subject: [PATCH] kobject: fix the race between kobject_del and get_device_parent

2014-10-16 Thread Frans Klaver
On Thu, Oct 16, 2014 at 3:56 AM, Weng Meiling wengmeiling.w...@huawei.com wrote: Would you please give me some of your views on this issue? Any suggestion is appreciative. It'll come. Be patient. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v2] Security: smack: replace kzalloc with kmem_cache for inode_smack

2014-10-16 Thread Serge E. Hallyn
Quoting Rohit (rohit...@samsung.com): The patch use kmem_cache to allocate/free inode_smack since they are alloced in high volumes making it a perfect case for kmem_cache. As per analysis, 24 bytes of memory is wasted per allocation due to internal fragmentation. With kmem_cache, this can be

Re: [PATCH 2/4] i2c-i801: Add Device IDs for Intel Sunrise Point PCH

2014-10-16 Thread Wolfram Sang
On Mon, Oct 13, 2014 at 03:20:24PM -0700, James Ralston wrote: This patch adds the I2C/SMBus Device IDs for the Intel Sunrise Point PCH. Signed-off-by: James Ralston james.d.rals...@intel.com Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH 1/3] Numachip: fixes

2014-10-16 Thread Ingo Molnar
* Daniel J Blueman dan...@numascale.com wrote: Fix APIC declaration to be consistent with definition; this addresses a compilation failure with the development branch of GCC, see: https://bugzilla.kernel.org/show_bug.cgi?id=78251 Fix 16-bit APIC ID truncation and redundant APIC ICR idle

Re: [PATCH] kernel crypto API interface specification

2014-10-16 Thread Stephan Mueller
Am Mittwoch, 15. Oktober 2014, 13:58:00 schrieb Jason Cooper: Hi Jason, Stephan, Wow. This is very thorough. Herbert and others will be making the final call on this, but if I may make a suggestion: Thanks. On Tue, Oct 14, 2014 at 09:46:50PM +0200, Stephan Mueller wrote: The update

Re: [patch 3/3] kernel: res_counter: remove the unused API

2014-10-16 Thread Paul Bolle
mho...@suse.cz This patch landed in today's linux-next (ie, next 20141016). Documentation/cgroups/resource_counter.txt | 197 - include/linux/res_counter.h| 223 - init/Kconfig | 6 - kernel

Re: [PATCH] tty: serial: 8250_core: restore the LCR register in set_sleep

2014-10-16 Thread Kevin Hilman
Sudhir Sreedharan ssreedha...@mvista.com writes: In ST16650V2 based serial uarts, while initalizing the PM state, LCR registers are being initialized to 0 in serial8250_set_sleep(). If console port is already initialized and being used, this will throws garbage in the console.

Re: [PATCH v1 06/10] clocksource: Remove weak from clocksource_default_clock() declaration

2014-10-16 Thread Martin Schwidefsky
On Wed, 15 Oct 2014 17:30:33 -0600 Bjorn Helgaas bhelg...@google.com wrote: [+cc Daniel, Martin, linux-s390; sorry, I botched my stg mail so you weren't included the first time. s390 could see issues from this.] On Wed, Oct 15, 2014 at 11:06 AM, Bjorn Helgaas bhelg...@google.com wrote:

Re: unaligned accesses in SLAB etc.

2014-10-16 Thread Meelis Roos
Do you happen to have both gcc-4.9 and a previously working compiler on these systems? If you do, we can build a kernel with gcc-4.9 and then selectively compile certain failes with the older working compiler to narrow down what compiles into something non-working with gcc-4.9 Yes, I kept

Re: [PATCH v1 09/10] memory-hotplug: Remove weak from memory_block_size_bytes() declaration

2014-10-16 Thread Martin Schwidefsky
On Wed, 15 Oct 2014 17:38:02 -0600 Bjorn Helgaas bhelg...@google.com wrote: [+cc Rashika, Nathan, Anton, Blanchard, Heiko, Yinghai, Martin, linux-s390; sorry, I botched my stg mail so you weren't included the first time. s390 and x86 define their own memory_block_size_bytes() and are at risk

[PATCH 0/2] Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
This patchset adds support for the MEN Board Information EEPROM. The EEPROM is assembled on almost all of the MEN hardware boards and is the main location to get information about the board. The driver exports the EEPROM data like production date, board name and serial number as read-only files

[PATCH 2/2] Documentation/ABI/testing/men_eeprod: Added sysfs description for men_eeprod

2014-10-16 Thread Andreas Werner
This patch adds the description for the men_eeprod. men_eeprod is a driver for the MEN Board Information EEPROM which exports the data using sysfs entries. Signed-off-by: Andreas Werner andreas.wer...@men.de --- .../ABI/testing/sysfs-bus-i2c-devices-men_eeprod | 69 ++ 1

[PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
Added driver to support the MEN Board Information EEPROM. The driver exports the production information as read only sysfs entries, as well as a user section which is read/write accessible. Tested on PPC QorIQ and Intel Atom E680. Tested-by: Johannes Thumshirn johannes.thumsh...@men.de

Re: [PATCH v1 07/10] vmcore: Remove weak from function declarations

2014-10-16 Thread Martin Schwidefsky
On Wed, 15 Oct 2014 17:44:29 -0600 Bjorn Helgaas bhelg...@google.com wrote: [+cc Martin, Heiko, linux-s390, since s390 could see issues from this. Sorry for all the spam; I should have gotten this right the first time.] On Wed, Oct 15, 2014 at 5:31 PM, Bjorn Helgaas bhelg...@google.com

Re: Subject: [PATCH] kobject: fix the race between kobject_del and get_device_parent

2014-10-16 Thread Weng Meiling
On 2014/10/16 15:07, Frans Klaver wrote: On Thu, Oct 16, 2014 at 3:56 AM, Weng Meiling wengmeiling.w...@huawei.com wrote: Would you please give me some of your views on this issue? Any suggestion is appreciative. It'll come. Be patient. . yeah, maybe I'm too impatient :). But this is

[PATCH] ARM: integrator: move AP timer to clocksource

2014-10-16 Thread Linus Walleij
This moves the timer/clocksource implementation for the Integrator/AP down to drivers/clocksource and augments the driver a little to use CLOCKSOURCE_OF_DECLARE(). Remove the static mapping of the timer blocks while we're at it. Tested on the Integrator/AP. Cc: Daniel Lezcano

Re: [PATCH] xen/smp: Use die_complete completion when taking CPU down

2014-10-16 Thread Ingo Molnar
* Boris Ostrovsky boris.ostrov...@oracle.com wrote: diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 8650cdb..4da0008 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -498,6 +498,7 @@ static int xen_cpu_disable(void) if (cpu == 0) return -EBUSY;

Re: [PATCH] spi/atmel: add support for runtime PM

2014-10-16 Thread Mark Brown
On Thu, Oct 16, 2014 at 09:49:20AM +0800, Wenyou Yang wrote: +static int atmel_spi_runtime_resume(struct device *dev) +{ + struct spi_master *master = dev_get_drvdata(dev); + struct atmel_spi *as = spi_master_get_devdata(master); + + pinctrl_pm_select_default_state(dev); +

[PATCH v2 5/8] mfd: ab8500: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v2 4/8] power: ab8500: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v2 0/8] power_supply: Add API for safe access of get_property-like function attrs

2014-10-16 Thread Krzysztof Kozlowski
Hi, Changes since v1: = 1. Remove checks for non-NULL in added functions (suggested by Pavel Machek). 2. Fix typos in commit messages. 3. Add acks: Pavel Machek, Jonghwa Lee, Lee Jones (only 5/8). Description: After fixing issue with referencing old power supply

[PATCH v2 6/8] power: apm_power: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

Re: Consider moving the init of pl330 to earlier?

2014-10-16 Thread Vinod Koul
On Thu, Oct 09, 2014 at 02:35:11PM -0700, Ray Jui wrote: Hi, How do you guys like the idea of moving the driver initialization of the pl330 DMA driver to earlier? For example, to arch_initcall_sync or subsys_initcall? Currently the pl330 driver is registered through module_amba_driver call,

[PATCH v2 8/8] power: charger-manager: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v2 7/8] power: bq2415x_charger: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v2 3/8] power: 88pm860x_charger: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property - set_property - power_supply_set_property Signed-off-by: Krzysztof

[PATCH v2 1/8] power_supply: Add API for safe access of power supply function attrs

2014-10-16 Thread Krzysztof Kozlowski
Add simple wrappers for accessing power supply's function attributes: - get_property - power_supply_get_property - set_property - power_supply_set_property - property_is_writeable - power_supply_property_is_writeable - external_power_changed - power_supply_external_power_changed - set_charged

[PATCH v2 2/8] power_supply: sysfs: Use power_supply_*() API for accessing function attrs

2014-10-16 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property - set_property - power_supply_set_property - property_is_writeable -

Re: [PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-16 Thread Jingoo Han
On Thursday, October 16, 2014 1:59 PM, Michael Opdenacker wrote: This replaces kzalloc() and ioremap() calls by devm_ functions in the probe() routine, which automatically release the corresponding resources when probe() fails or when the device is removed. This simplifies simplifies the

[PATCH v2 1/2] usb: dwc2: gadget: modify return statement

2014-10-16 Thread Sudip Mukherjee
modified the function to have a single return statement at the end instead of multiple return statement in the middle of the function to improve the readability of the code. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/usb/dwc2/gadget.c | 11 --- 1 file changed, 8

[PATCH v2 2/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-16 Thread Sudip Mukherjee
sparse was giving the following warning: warning: context imbalance in 's3c_hsotg_ep_enable' - different lock contexts for basic block we were returning ENOMEM while still holding the spinlock. The sparse warning was fixed by releasing the spinlock before return. This

[PATCH v2 7/7] mfd: ab8500: Decrement the power supply's device reference counter

2014-10-16 Thread Krzysztof Kozlowski
Use power_supply_put() to decrement the power supply's device reference counter. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz --- drivers/mfd/ab8500-sysctrl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/ab8500-sysctrl.c

[PATCH v2 5/7] power: 88pm860x_charger: Decrement the power supply's device reference counter

2014-10-16 Thread Krzysztof Kozlowski
Use power_supply_put() to decrement the power supply's device reference counter. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz --- drivers/power/88pm860x_charger.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

Has your website : mail-archive.com been penalized by Google ?

2014-10-16 Thread savannah65324
Good Morning Bussiness Owner Has your website lost traffic or rankings in last few weeks ? If yes, then your website is a VICTIM to these NEW google algorithm updates. To correct this you need to hire a professioanl Search Engine Optimization company who understands these changes better than

[PATCH v2 0/7] power_supply: Decrement the device reference counter

2014-10-16 Thread Krzysztof Kozlowski
Hi, Changes since v1: = 1. Remove check for non-NULL in power_supply_put (suggested by Pavel Machek). 2. Add Pavel Machek's ack. Description: The reference counter of device allocated for power supply was incremented with each call to power_supply_get_by_name()

[PATCH v2 4/7] x86/olpc/xo15/sci: Use newly added power_supply_put API

2014-10-16 Thread Krzysztof Kozlowski
Replace direct usage of put_device() with new API: power_supply_put(). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz --- arch/x86/platform/olpc/olpc-xo15-sci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 2/7] power: charger-manager: Decrement the power supply's device reference counter

2014-10-16 Thread Krzysztof Kozlowski
Use power_supply_put() to decrement the power supply's device reference counter. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz --- drivers/power/charger-manager.c | 70 +++-- 1 file changed, 47 insertions(+), 23

[PATCH v2 1/7] power_supply: Add power_supply_put for decrementing device reference counter

2014-10-16 Thread Krzysztof Kozlowski
The power_supply_get_by_phandle() and power_supply_get_by_name() use function class_find_device() for obtaining the reference to power supply. Each use of class_find_device() increases the power supply's device reference counter. However the reference counter was not decreased by users of this

[PATCH v2 6/7] power: bq2415x_charger: Decrement the power supply's device reference counter

2014-10-16 Thread Krzysztof Kozlowski
Use power_supply_put() to decrement the power supply's device reference counter (increased by power_supply_get_by_name() or power_supply_get_by_phandle()). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz --- drivers/power/bq2415x_charger.c | 6

[PATCH v2 3/7] x86/olpc/xo1/sci: Use newly added power_supply_put API

2014-10-16 Thread Krzysztof Kozlowski
Replace direct usage of put_device() with new API: power_supply_put(). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz --- arch/x86/platform/olpc/olpc-xo1-sci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v11 00/21] Add support for NV-DIMMs to ext4

2014-10-16 Thread Mathieu Desnoyers
On 25-Sep-2014 04:33:17 PM, Matthew Wilcox wrote: From: Matthew Wilcox wi...@linux.intel.com We currently have two unrelated things inside the Linux kernel called XIP. One allows the kernel to run out of flash without being copied into DRAM, the other allows executables to be run without

Re: [PATCH] bcm/CmHost.c: Fix noisy compile warnings

2014-10-16 Thread Dan Carpenter
On Wed, Oct 15, 2014 at 01:03:49PM -0700, Joe Perches wrote: On Wed, 2014-10-15 at 22:53 +0300, Dan Carpenter wrote: On Wed, Oct 15, 2014 at 09:11:36AM -0700, Joe Perches wrote: On Wed, 2014-10-15 at 06:03 -0700, Jeff Kirsher wrote: [] I thought I remember Greg saying something about

[GIT PULL] Btrfs corruption fix

2014-10-16 Thread Chris Mason
Hi Linus, I'm testing a pull with more fixes, but wanted to get this one out so Greg can pick it up. The corruption isn't easy to hit, you have to do a readonly snapshot and have orphans in the snapshot. But my review and testing missed the bug. Filipe has added a better xfstest to cover it.

Re: [PATCH v2] bcm/CmHost.c: Fix noisy compile warnings

2014-10-16 Thread Dan Carpenter
On Wed, Oct 15, 2014 at 01:26:07PM -0700, Jeff Kirsher wrote: On Wed, 2014-10-15 at 22:55 +0300, Dan Carpenter wrote: On Wed, Oct 15, 2014 at 12:01:41PM -0700, Jeff Kirsher wrote: From: Fabio Estevam fabio.este...@freescale.com The Beceem WIMAX was generating compile warnings on 64bit

Re: [PATCH v11 01/21] axonram: Fix bug in direct_access

2014-10-16 Thread Mathieu Desnoyers
On 25-Sep-2014 04:33:18 PM, Matthew Wilcox wrote: The 'pfn' returned by axonram was completely bogus, and has been since 2008. Signed-off-by: Matthew Wilcox matthew.r.wil...@intel.com Reviewed-by: Jan Kara j...@suse.cz This should also be submitted for stable kernels. (CC

Re: [PATCH] bcm/CmHost.c: Fix noisy compile warnings

2014-10-16 Thread Jeff Kirsher
On Thu, 2014-10-16 at 10:48 +0300, Dan Carpenter wrote: On Wed, Oct 15, 2014 at 01:03:49PM -0700, Joe Perches wrote: On Wed, 2014-10-15 at 22:53 +0300, Dan Carpenter wrote: On Wed, Oct 15, 2014 at 09:11:36AM -0700, Joe Perches wrote: On Wed, 2014-10-15 at 06:03 -0700, Jeff Kirsher wrote:

Re: [PATCH RFC] sched: Revert delayed_put_task_struct() and fix use after free

2014-10-16 Thread Peter Zijlstra
On Wed, Oct 15, 2014 at 09:40:44PM +0200, Oleg Nesterov wrote: What do you think? Oleg. --- x/kernel/sched/fair.c +++ x/kernel/sched/fair.c @@ -1165,7 +1165,7 @@ static void task_numa_compare(struct tas rcu_read_lock(); cur = ACCESS_ONCE(dst_rq-curr); - if (cur-pid

Re: [PATCH 1/1 linux-next] fs/jffs2/nodelist.h: remove unnecessary __constant_ prefix

2014-10-16 Thread Fabian Frederick
On 14 October 2014 at 18:52 Joe Perches j...@perches.com wrote: On Tue, 2014-10-14 at 18:44 +0200, Fabian Frederick wrote: See commit fbdb8138cf0c (checkpatch: warn on uses of __constant_ functions) Perhaps it'd be better to use the same __builtin_constant_p test as swab.h and use

Re: [PATCH RFC] sched: Revert delayed_put_task_struct() and fix use after free

2014-10-16 Thread Peter Zijlstra
On Thu, Oct 16, 2014 at 01:46:07AM +0400, Kirill Tkhai wrote: --- x/kernel/sched/fair.c +++ x/kernel/sched/fair.c @@ -1165,7 +1165,7 @@ static void task_numa_compare(struct tas rcu_read_lock(); cur = ACCESS_ONCE(dst_rq-curr); - if (cur-pid == 0) /* idle */ + if

Re: [PATCH v2] bcm/CmHost.c: Fix noisy compile warnings

2014-10-16 Thread Jeff Kirsher
On Thu, 2014-10-16 at 10:52 +0300, Dan Carpenter wrote: On Wed, Oct 15, 2014 at 01:26:07PM -0700, Jeff Kirsher wrote: On Wed, 2014-10-15 at 22:55 +0300, Dan Carpenter wrote: On Wed, Oct 15, 2014 at 12:01:41PM -0700, Jeff Kirsher wrote: From: Fabio Estevam fabio.este...@freescale.com

Re: [PATCH RFC] sched: Revert delayed_put_task_struct() and fix use after free

2014-10-16 Thread Peter Zijlstra
On Wed, Oct 15, 2014 at 05:06:41PM +0200, Oleg Nesterov wrote: At least the code like rcu_read_lock(); get_task_struct(foreign_rq-curr); rcu_read_unlock(); is certainly wrong. And _probably_ the problem should be fixed here. Perhaps we can add try_to_get_task_struct()

RE: [PATCH 1/1 v2] driver:mtd:spi-nor:fix spi_nor_scan overwrite platform ID point

2014-10-16 Thread beanhuo
There are a lot of changes happening/requested around this code. I also proposed some patch touching this code, see https://patchwork.ozlabs.org/patch/377917/ Right now there is a slow ongoing work on fixing some m25p80 regression, which also may touch the code you change. So I'll suggest

Re: [RFC/PATCH] gpio/pinctrl: baytrail: move gpio driver from pinctrl to gpio directory

2014-10-16 Thread Mika Westerberg
On Wed, Oct 15, 2014 at 09:55:42AM -0700, David Cohen wrote: Hi Mika, Thanks for your feedback. See below my reply. On Wed, Oct 15, 2014 at 10:08:12AM +0300, Mika Westerberg wrote: On Tue, Oct 14, 2014 at 10:45:35AM -0700, David Cohen wrote: Hi Mathias, On Tue, Oct 14, 2014 at

Re: [PATCH] Fix the x86 specializations of atomic_[set|clear]_mask

2014-10-16 Thread Peter Zijlstra
On Wed, Oct 15, 2014 at 04:38:01PM -0400, Patrick Palka wrote: This patch fixes a number of issues with these specializations: 1. The memory operand inside the asm specification is erroneously declared read-only instead of read-write. 2. There is no reason to require the 1st operand

[GIT PULL] qcom DT changes for v3.18-3

2014-10-16 Thread Kumar Gala
The following changes since commit aabff7bfe55afd01d71a5f11d4a84bd873c20f5e: ARM: DT: msm8960: Add sdcc nodes (2014-09-22 13:49:43 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-dt-for-3.18-3 for you to fetch

Re: [PATCH 1/1 linux-next] zd1201: replace kmalloc/memset by kzalloc

2014-10-16 Thread Fabian Frederick
On 14 October 2014 at 20:08 Bjørn Mork bj...@mork.no wrote: Joe Perches j...@perches.com writes: And does this really need to be alloc'd? Yes, it does. It is used as a transfer_buffer in usb_fill_bulk_urb() and must be suitable for DMA.  From include/linux/usb.h: /**   * struct urb -

Re: [PATCH v2] bcm/CmHost.c: Fix noisy compile warnings

2014-10-16 Thread Dan Carpenter
COMPILE_TEST is just so that you can view build warnings. We would say: depends on USB NET (!64BIT || COMPILE_TEST) of depends on USB NET (X86_32 || (X86 COMPILE_TEST)) If you don't have USB or NET, you're get build errors but they don't indicate bugs. If you build on X86_64 the

Re: [PATCH 3.13 163/163] lzo: check for length overrun in variable length encoding.

2014-10-16 Thread Jiri Slaby
On 10/14/2014, 10:58 AM, Luis Henriques wrote: Could you please provide us with examples of commits in one of our extended stable trees that is not on any other public release at kernel.org? Hi, from 3.12.y, for example: commit 48e8cad86bb1241c08bdaa80db022c25068ff8e0 Author: Jiri Slaby

Re: [PATCH] ACPI: do not fail suspend if unable to configure wakeup

2014-10-16 Thread Rafael J. Wysocki
Hi, On Thu, Oct 16, 2014 at 12:56 AM, Dmitry Torokhov d...@chromium.org wrote: Newer kernels put i2c devices with ACPI companion in ACPI power domain and then ACPI will try to configure them for wakeup (if requested). Unfortunately on some Chromebooks firmware separates wakeup GPIO into a

Re: [PATCH 1/1 v2] driver:mtd:spi-nor:fix spi_nor_scan overwrite platform ID point

2014-10-16 Thread Rafał Miłecki
On 16 October 2014 10:00, Bean Huo 霍斌斌 (beanhuo) bean...@micron.com wrote: There are a lot of changes happening/requested around this code. I also proposed some patch touching this code, see https://patchwork.ozlabs.org/patch/377917/ Right now there is a slow ongoing work on fixing some m25p80

RE: [PATCH] spi/atmel: add support for runtime PM

2014-10-16 Thread Yang, Wenyou
Hi Mark, -Original Message- From: Mark Brown [mailto:broo...@kernel.org] Sent: Thursday, October 16, 2014 3:30 PM To: Yang, Wenyou Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; linux- arm-ker...@lists.infradead.org Subject: Re: [PATCH] spi/atmel:

Re: [PATCH v2] bcm/CmHost.c: Fix noisy compile warnings

2014-10-16 Thread Greg KH
On Wed, Oct 15, 2014 at 03:59:21PM -0700, Jeff Kirsher wrote: On Wed, 2014-10-15 at 12:01 -0700, Jeff Kirsher wrote: From: Fabio Estevam fabio.este...@freescale.com The Beceem WIMAX was generating compile warnings on 64bit machines, which were: drivers/staging/bcm/CmHost.c: In

Re: [PATCH] cpufreq: allow powersave governor as the default without expert mode

2014-10-16 Thread Viresh Kumar
On 15 October 2014 03:08, James Geboski jgebo...@gmail.com wrote: The intel_pstate driver only supports the performance and the powersave governors. With the performance governor ensuring the highest possible performance settings, userspace tools fail to make any lasting changes. In order to

Re: [RFC 1/5] x86: Clean up cr4 manipulation

2014-10-16 Thread Peter Zijlstra
On Tue, Oct 14, 2014 at 03:57:35PM -0700, Andy Lutomirski wrote: +/* Set in this cpu's CR4. */ +static inline void cr4_set(unsigned long mask) +{ + unsigned long cr4; + + cr4 = read_cr4(); + cr4 |= mask; + write_cr4(cr4); +} + +/* Clear in this cpu's CR4. */ +static

Re: [PATCH RFC] sched: Revert delayed_put_task_struct() and fix use after free

2014-10-16 Thread Kirill Tkhai
В Чт, 16/10/2014 в 09:59 +0200, Peter Zijlstra пишет: On Thu, Oct 16, 2014 at 01:46:07AM +0400, Kirill Tkhai wrote: --- x/kernel/sched/fair.c +++ x/kernel/sched/fair.c @@ -1165,7 +1165,7 @@ static void task_numa_compare(struct tas rcu_read_lock(); cur =

Re: [PATCH] cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy

2014-10-16 Thread Viresh Kumar
Cc'ing Dirk. On 16 October 2014 04:46, Pali Rohár pali.ro...@gmail.com wrote: Code which changes policy to powersave changes also max_policy_pct based on max_freq. Code which change max_perf_pct has upper limit base on value max_policy_pct. When policy is changing from powersave back to

Re: [PATCH] [kernel]: process: replace printk with pr_err

2014-10-16 Thread Rafael J. Wysocki
On Thursday, October 16, 2014 10:36:35 AM Vishnu Pratap Singh wrote: This patch replaces printk(KERN_ERR...) with pr_err found. What is the reason? Does the existing code cause any problems to happen? Signed-off-by: Vishnu Pratap Singh vishnu...@samsung.com --- kernel/power/process.c | 2

Re: [PATCH] mmc: dw_mmc: Remove old card detect infrastructure

2014-10-16 Thread Jaehoon Chung
Hi, Doug. Looks good to me. Tested-by: Jaehoon Chung jh80.ch...@samsung.com with exynos3/4 series. Need to check exynos5 with using other card detect mechanism. Best Regards, Jaehoon Chung On 10/15/2014 01:33 AM, Doug Anderson wrote: The dw_mmc driver had a bunch of code that ran whenever a

Re: [PATCH 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B (UPDATED)

2014-10-16 Thread Viresh Kumar
This is not how we send updated versions, GIT and other tools will commit the (UPDATED) part while applying. What you were required to do was something like: git format-patch A..B --subject-prefix=PATCH V2 On 15 October 2014 12:53, Kelvin Cheung keguang.zh...@gmail.com wrote: +static int

[PATCH] regulator: s2mps11: Don't zero allocated memory for external control

2014-10-16 Thread Krzysztof Kozlowski
The driver was allocating memory for storing GPIOs for external control with unnecessary GFP_ZERO flag. Then right after allocation it initialized memory to -EINVAL in loop. Skip the GFP_ZERO flag. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/regulator/s2mps11.c | 2 +-

Re: [PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-16 Thread Rafael J. Wysocki
[CC list trimmed] On Thursday, October 16, 2014 11:35:49 AM Hui Zhu wrote: Function shrink_all_memory try to free `nr_to_reclaim' of memory. CMA_AGGRESSIVE_SHRINK function will call this functon to free `nr_to_reclaim' of memory. It need different scan_control with current caller function

Re: [RFC 2/5] x86: Store a per-cpu shadow copy of CR4

2014-10-16 Thread Peter Zijlstra
On Tue, Oct 14, 2014 at 03:57:36PM -0700, Andy Lutomirski wrote: Context switches and TLB flushes can change individual bits of CR4. CR4 reads take several cycles, so store a shadow copy of CR4 in a per-cpu variable. To avoid wasting a cache line, I added the CR4 shadow to cpu_tlbstate,

Re: [PATCH] bcm_wimax: remove driver support

2014-10-16 Thread Greg KH
On Wed, Oct 15, 2014 at 03:53:27PM -0700, Jeff Kirsher wrote: The Beceem WiMAX driver was barely function in its current state and was non-functional on 64 bit systems. Based on repeated statements from Greg KH that he wanted the driver removed, I am removing the driver. CC: Matthias Beyer

Re: [PATCH] cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy

2014-10-16 Thread Rafael J. Wysocki
On Thursday, October 16, 2014 01:16:51 AM Pali Rohár wrote: Code which changes policy to powersave changes also max_policy_pct based on max_freq. Code which change max_perf_pct has upper limit base on value max_policy_pct. When policy is changing from powersave back to performance then

Re: [PATCH 2/9] regulator: max77802: Add .{get,set}_mode callbacks

2014-10-16 Thread Mark Brown
On Wed, Oct 15, 2014 at 06:20:32PM +0200, Javier Martinez Canillas wrote: +#define MAX77802_MODE(pval) ((pval == MAX77802_OPMODE_NORMAL) ? \ + REGULATOR_MODE_NORMAL : REGULATOR_MODE_STANDBY) + Make this a static inline function if there's any need for it, this is

Re: [PATCH 1/9] regulator: max77802: Add .set_suspend_{enable,disable} callbacks

2014-10-16 Thread Mark Brown
On Wed, Oct 15, 2014 at 06:20:31PM +0200, Javier Martinez Canillas wrote: The max77802 PMIC has an enable pin (PWRREQ) that can be used to switch regulators ON and OFF automatically by the Application Processor when the system is leaving and entering sleep mode. Applied, thanks.

Re: [PATCH 3/9] regulator: max77802: Split regulator operations for BUCKs

2014-10-16 Thread Mark Brown
On Wed, Oct 15, 2014 at 06:20:33PM +0200, Javier Martinez Canillas wrote: Not all the max77802 BUCKs regulators have the same functionality, for example BUCKs 2-4 support the output to be configured as normal or Low Power Mode by the PWRREQ enable pin while the other BUCKs only support their

Re: [RFC 5/5] x86,perf: Only allow rdpmc if a perf_event is mapped

2014-10-16 Thread Peter Zijlstra
On Tue, Oct 14, 2014 at 03:57:39PM -0700, Andy Lutomirski wrote: We currently allow any process to use rdpmc. This significantly weakens the protection offered by PR_TSC_DISABLED, and it could be helpful to users attempting to exploit timing attacks. Since we can't enable access to

RE: [PATCH 1/1 v2] driver:mtd:spi-nor:fix spi_nor_scan overwrite platform ID point

2014-10-16 Thread bpqw
I really wasn't looking into details yet and I'm aware my patch does something else. I just say we should first fix the regression and then base next patches on top of that regression fix. I'm not NACKing your changes :) I will take into account for your patch,and will cover all these isse in

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Greg KH
On Thu, Oct 16, 2014 at 10:15:08AM +0200, Andreas Werner wrote: +struct eeprom_data { + uint8_t eeprod_id; Please use the real kernel types, u8 here, and u32 in other places you use uint32_t (those are userspace types, not kernel types, sorry.) +static DEVICE_ATTR(eeprod_id, S_IRUGO,

[PATCH] serial: 8250: sparse warning of incorrect type

2014-10-16 Thread Sudip Mukherjee
fixed a sparse warning in 8250_core.c : incorrect type in assignment (different address spaces) the warning was because an unsigned char pointer was being assigned to a pointer of unsigned char __iomem type . Signed-off-by: Sudip Mukherjee su...@vectorindia.org ---

Re: [PATCH v11 02/21] block: Change direct_access calling convention

2014-10-16 Thread Mathieu Desnoyers
On 25-Sep-2014 04:33:19 PM, Matthew Wilcox wrote: In order to support accesses to larger chunks of memory, pass in a 'size' parameter (counted in bytes), and return the amount available at that address. Add a new helper function, bdev_direct_access(), to handle common functionality

Re: [PATCH 1/1 linux-next] zd1201: replace kmalloc/memset by kzalloc

2014-10-16 Thread Joe Perches
On Thu, 2014-10-16 at 10:08 +0200, Fabian Frederick wrote: Adding a structure would be a nice design update indeed but this would require some testing...Separate patch maybe ? Of course that'd be fine. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] regulator: s2mps11: Don't zero allocated memory for external control

2014-10-16 Thread Mark Brown
On Thu, Oct 16, 2014 at 10:23:28AM +0200, Krzysztof Kozlowski wrote: The driver was allocating memory for storing GPIOs for external control with unnecessary GFP_ZERO flag. Then right after allocation it initialized memory to -EINVAL in loop. Skip the GFP_ZERO flag. Applied, though it's a bit

Re: [PATCH 0/2 v3] SPI: spi-pxa2xx: Add support for Intel Quark X1000 SPI controller

2014-10-16 Thread Mark Brown
On Thu, Oct 16, 2014 at 12:31:41AM +, Chen, Alvin wrote: Hi Mark, Any update for these patches? Just want to follow-up. Don't top post and allow a reasonable time for review, you are chasing this after less than a week. This just sends more e-mail which wastes my time. signature.asc

  1   2   3   4   5   6   7   8   9   10   >