Re: [v3.20] Regression: V3.20 doesn'nt wake up from suspend

2015-02-13 Thread Jörg Otte
2015-02-13 15:40 GMT+01:00 Rafael J. Wysocki : > On Friday, February 13, 2015 09:49:20 AM Jörg Otte wrote: >> In suspend state the power-led remains on (should be blinking). >> So may be the kernel does not reach suspend state correctly. >> Once suspended, pressing the suspend key to wake up does

Re: [PATCH 0/4] mm: cma: add some debug information for CMA

2015-02-13 Thread Gioh Kim
2015-02-13 오후 12:03에 Joonsoo Kim 이(가) 쓴 글: On Fri, Feb 13, 2015 at 01:15:40AM +0300, Stefan Strogin wrote: Hi all. Sorry for the long delay. Here is the second attempt to add some facility for debugging CMA (the first one was "mm: cma: add /proc/cmainfo" [1]). This patch set is based on

Re: [PATCH 2/4] mm: cma: add functions to get region pages counters

2015-02-13 Thread Gioh Kim
2015-02-13 오전 7:15에 Stefan Strogin 이(가) 쓴 글: > From: Dmitry Safonov > > Here are two functions that provide interface to compute/get used size > and size of biggest free chunk in cma region. I usually just try to allocate memory, not check free size before try, becuase free size can be

RE: [PATCH] drm/radeon: Fix regression with suspend/resume

2015-02-13 Thread Deucher, Alexander
> -Original Message- > From: Ross Zwisler [mailto:ross.zwis...@linux.intel.com] > Sent: Friday, February 13, 2015 10:55 PM > To: Michel Dänzer > Cc: linux-kernel@vger.kernel.org; dri-de...@lists.freedesktop.org; Deucher, > Alexander; Dave Airlie; Lauri Kasanen; Koenig, Christian > Subject:

[PATCH v4 3/3] mmc: dw_mmc: Don't start command while data busy

2015-02-13 Thread Addy Ke
We should wait until unbusy before the next request. But this does't need if the command is CMD13, which can access SD Status register regardless of data busy. Signed-off-by: Addy Ke --- Changes in v4: - CMD13 doesn't need wait until unbusy. drivers/mmc/host/dw_mmc.c | 4 1 file changed,

[PATCH v4 2/3] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-13 Thread Addy Ke
Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This should not happend when mmc controller send command to update card clocks. If this happends, mci_send_cmd will be failed and

[PATCH v4 0/3] about data busy

2015-02-13 Thread Addy Ke
patch 1: This patch can fix bug that controller is still data busy after reset all blocks. After this patch, I still get data busy in set_ios(). patch 2: This patch fix bug 'Timeout sending command'. After patch1 and patch2, there is no mmc errors after: cd

[PATCH v4 1/3] mmc: dw_mmc: update clock after host reach a stable voltage

2015-02-13 Thread Addy Ke
As show in mmc_power_up(), in MMC_POWER_UP state, the voltage isn't stable and we may get 'data busy' which can't be cleaned by resetting all blocks. So we should not send command to update clock in this state. Signed-off-by: Addy Ke --- drivers/mmc/host/dw_mmc.c | 3 ++- 1 file changed, 2

Hsing Ning Industrial Company Ltd Required Your Service

2015-02-13 Thread Hsing Ning Industrial Company Ltd
Hsing Ning Industrial Company Ltd (HNICL), is in urgent need of a reputable company/firm or individual to serve as our financial coordinator in America and Canada. Precisely, Hsing Ning Industrial Company Ltd (HNICL) require you or your firm to be our company financial coordinator in your

Re: [PATCH] ASoC: fsl-asoc-card: Add snd_soc_of_parse_audio_routing()

2015-02-13 Thread Nicolin Chen
On Sat, Feb 14, 2015 at 02:32:12PM +0900, Mark Brown wrote: > On Fri, Feb 13, 2015 at 09:02:46PM -0800, Nicolin Chen wrote: > > On Sat, Feb 14, 2015 at 01:31:53PM +0900, Mark Brown wrote: > > > > How about having it just record that it should parse the given property > > > when the table in the

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-02-13 Thread Mark Brown
On Wed, Feb 11, 2015 at 12:07:20PM +0100, Michal Simek wrote: > 2015-01-16 13:55 GMT+01:00 Michal Simek : > > Use standard num-cs binding property and setup > > "xlnx,num-ss-bits" as deprecated. > Any update on this one? Don't send content free quoted pings, they're just adding to the e-mail

[PATCH 4/5] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
In memory allocation (kzalloc, kmalloc) arguments sizeof(struct foo) rewritten as sizeof(*foo_obj). Signed-off-by: Tolga Ceylan --- drivers/staging/gdm724x/gdm_mux.c | 8 drivers/staging/gdm724x/gdm_tty.c | 2 +- drivers/staging/gdm724x/gdm_usb.c | 10 +- 3 files changed, 10

[PATCH 5/5] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
Unnecessary blank lines removed Signed-off-by: Tolga Ceylan --- drivers/staging/gdm724x/gdm_endian.c | 1 - drivers/staging/gdm724x/gdm_mux.c| 5 - drivers/staging/gdm724x/gdm_tty.c| 1 - drivers/staging/gdm724x/gdm_tty.h| 1 - drivers/staging/gdm724x/hci_packet.h | 1 - 5 files

[PATCH 2/5] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
Alignment should match open paranthesis cases corrected Signed-off-by: Tolga Ceylan --- drivers/staging/gdm724x/gdm_lte.c | 32 drivers/staging/gdm724x/gdm_lte.h | 14 +++--- drivers/staging/gdm724x/gdm_mux.c | 5 +++--

Re: [PATCH] ASoC: fsl-asoc-card: Add snd_soc_of_parse_audio_routing()

2015-02-13 Thread Mark Brown
On Fri, Feb 13, 2015 at 09:02:46PM -0800, Nicolin Chen wrote: > On Sat, Feb 14, 2015 at 01:31:53PM +0900, Mark Brown wrote: > > How about having it just record that it should parse the given property > > when the table in the card is being handleed rather than overwrite that? > You mean adding

[PATCH 1/5] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
Corrections based on checkpatch.pl with --strict. Added missing spaces between operators. Signed-off-by: Tolga Ceylan --- drivers/staging/gdm724x/gdm_lte.c | 6 +++--- drivers/staging/gdm724x/gdm_mux.c | 4 ++-- drivers/staging/gdm724x/gdm_mux.h | 4 ++--

[PATCH 3/5] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
Comparisons such as if (x == NULL) rewritten as if (!x) Signed-off-by: Tolga Ceylan --- drivers/staging/gdm724x/gdm_lte.c | 6 +++--- drivers/staging/gdm724x/gdm_mux.c | 4 ++-- drivers/staging/gdm724x/gdm_tty.c | 2 +- drivers/staging/gdm724x/gdm_usb.c | 14 +++--- 4 files changed,

Re: [PATCH v2] regmap-irq: set IRQF_ONESHOT flag to ensure IRQ request

2015-02-13 Thread Mark Brown
On Wed, Feb 11, 2015 at 04:37:57PM +0100, Valentin Rothberg wrote: > Since commit 1c6c69525b40eb76de8adf039409722015927dc3 ("genirq: Reject > bogus threaded irq requests") threaded IRQs without a primary handler > need to be requested with IRQF_ONESHOT, otherwise the request will fail. Applied,

Re: [PATCH] ASoC: fsl-asoc-card: Add snd_soc_of_parse_audio_routing()

2015-02-13 Thread Nicolin Chen
On Sat, Feb 14, 2015 at 01:31:53PM +0900, Mark Brown wrote: > On Thu, Feb 12, 2015 at 01:30:02PM -0800, Nicolin Chen wrote: > > > This patch adds snd_soc_of_parse_audio_routing() to get dapm routes > > via Device Tree. Because snd_soc_of_parse_audio_routing() overrides > > dpam_routes, we use

Re: [RFC 13/16] mm/cma: populate ZONE_CMA and use this zone when GFP_HIGHUSERMOVABLE

2015-02-13 Thread Gioh Kim
2015-02-12 오후 4:32에 Joonsoo Kim 이(가) 쓴 글: > Until now, reserved pages for CMA are managed altogether with normal > page in the same zone. This approach has numorous problems and fixing > them isn't easy. To fix this situation, ZONE_CMA is introduced in > previous patch, but, not yet populated.

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-13 Thread Mark Brown
On Thu, Feb 12, 2015 at 12:13:08PM +, Ian Abbott wrote: > Devices have separate, pre-allocated TX and RX bounce buffers of fixed > size. Currently, each transfer uses up space in both buffers even if > the user-supplied no TX data or no RX space. Change it to only use up > space in the TX

Re: linux-next: Tree for Feb 13 (runtime failures and 'non-zero nr_pmds' messages)

2015-02-13 Thread Guenter Roeck
Hi Stephen, On 02/13/2015 03:37 PM, Stephen Rothwell wrote: Hi Guenter, On Fri, 13 Feb 2015 10:54:28 -0800 Guenter Roeck wrote: I see a number of runtime failures with this version. It affects alpha, mips64, ppc64, and x86_64. Symptom is always the same. There are lots of BUG: non-zero

Re: [PATCH] ASoC: omap-hdmi-audio: Add missing error check for devm_kzalloc

2015-02-13 Thread Mark Brown
On Thu, Feb 12, 2015 at 02:38:02PM +0530, Kiran Padwal wrote: > This patch add a missing check on the return value of devm_kzalloc, > which would cause a NULL pointer dereference in a OOM situation. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] ASoC: fsl-asoc-card: Add snd_soc_of_parse_audio_routing()

2015-02-13 Thread Mark Brown
On Thu, Feb 12, 2015 at 01:30:02PM -0800, Nicolin Chen wrote: > This patch adds snd_soc_of_parse_audio_routing() to get dapm routes > via Device Tree. Because snd_soc_of_parse_audio_routing() overrides > dpam_routes, we use snd_soc_dapm_add_routes() to append the original > build-in DPCM routes

Re: [PATCH 0/4] ASoC: samsung: clean up references to outdated Kconfig symbols

2015-02-13 Thread Mark Brown
On Wed, Feb 11, 2015 at 10:21:38AM +0100, Paul Bolle wrote: > TL;DR: what exactly should I resend and when? This is disappointing; you're someone who's been contributing for quite some time now, I'd really expect you to be faimilar with the process of submitting patches and able to identify

Re: [PATCH] drm/radeon: Fix regression with suspend/resume

2015-02-13 Thread Ross Zwisler
On Fri, 2015-02-13 at 11:41 +0900, Michel Dänzer wrote: > On 13.02.2015 05:30, Ross Zwisler wrote: > > This patch reverts the changes made in this commit: > > > > deadcb36f49b ("drm/radeon: Use two-ended allocation by size, v2") > > > > That patch caused a regression on my system where the

[PATCH] x86: Prevent oops with >16 memory controllers

2015-02-13 Thread Daniel J Blueman
When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the kernel fatally dereferences unallocated structures [1]; this occurs on at least NumaConnect systems. Minimally fix by checking if a memory controller info structure is allocated; candidate for stable. Signed-off-by:

[PATCH] staging: nvec: Make nvec_write_sync return result by parameter

2015-02-13 Thread Evan Hauck
As outlined in the TODO file, nvec_write_sync was modified to return an error code instead of NULL on failure, and return the nvec_msg as a parameter. Signed-off-by: Evan Hauck --- drivers/staging/nvec/TODO | 2 -- drivers/staging/nvec/nvec.c | 37 +

[PATCH] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-02-13 Thread Vinson Lee
From: Vinson Lee This patch fixes this build error with glibc < 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24: error: implicit declaration of function ‘sched_getcpu’ util/cloexec.c:24: error: nested extern

chelsio: Use a more common const struct pci_device_id foo[] style

2015-02-13 Thread Joe Perches
Chelsio code shares a pci_device_table from an #include file. Make the include guard simpler and make the arrays const. Reduces data by moving tables to text. Removed unnecessary macros: o CH_PCI_DEVICE_ID_TABLE_DEFINE_BEGIN o CH_PCI_DEVICE_ID_TABLE_DEFINE_END o CH_PCI_ID_TABLE_ENTRY (moved to

[PATCH] ion: improve ion_phys error message

2015-02-13 Thread Mitchel Humpherys
Clients often get confused when ion_phys errors out due to some heap being used that they didn't expect. Add the heap name and heap type to the error message to make it more obvious. Signed-off-by: Mitchel Humpherys --- drivers/staging/android/ion/ion.c | 4 ++-- 1 file changed, 2

[no subject]

2015-02-13 Thread Leanne Armstrong
You were selected for QATAR Foundation 2015 beneficiaries contact RodFalusi(rodrigofalus...@yahoo.co.za) -- 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

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Liviu Dudau
On Sat, Feb 14, 2015 at 06:55:05AM +0800, Nicolas Pitre wrote: > On Fri, 13 Feb 2015, Liviu Dudau wrote: > > > On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: > > > The vexpress tc2 power management code calls mcpm_loopback, which > > > is only available if ARM_CPU_SUSPEND is

[PATCH] thermal: Introduce dummy functions when thermal is not defined

2015-02-13 Thread Nishanth Menon
over to IS_ENABLED for thermal macros to allow for thermal framework to be built as framework and relevant APIs be usable by relevant drivers as a result. Reported-by: Guenter Roeck Signed-off-by: Nishanth Menon --- based on next-20150213 tag. Note: there are a few "CHECK: Alignment s

[akpm merge] BUG: non-zero nr_pmds on freeing mm: 2

2015-02-13 Thread Fengguang Wu
+++++---+ || 2ef44b3a9e | d07b956c65 | 8fe7fba505 | next-20150213 | +++++---+ | boot_successes | 60 | 60 | 0 | 0 | | boot_failures

[PATCH v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Stephen Boyd
Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we try to offline a CPU and it comes right back online unexpectedly. Let's figure this stuff out before we make the sysfs

[PATCH] ARM: shmobile: Remove redundant cpu_disable implementation

2015-02-13 Thread Stephen Boyd
By default only the non-boot CPUs can be hotplugged if the smp_operations structure doesn't have the cpu_disable function pointer set. r8a7779_cpu_disable() implements the same logic, only non-boot CPUs can be hotplugged, so it's redundant to override the default behavior. Signed-off-by: Stephen

Re: linux-next: Tree for Feb 13 (iio/magnetometer/ak8975.c)

2015-02-13 Thread Randy Dunlap
On 02/13/15 16:32, Randy Dunlap wrote: > On 02/12/15 21:56, Stephen Rothwell wrote: >> Hi all, >> >> Please do not add any material destined for v3.21 to your linux-next >> included trees until after v3.20-rc1 has been released. >> >> Changes since 20150212: > > on i386: when CONFIG_I2C is not

Re: linux-next: Tree for Feb 13 (iio/magnetometer/ak8975.c)

2015-02-13 Thread Randy Dunlap
On 02/12/15 21:56, Stephen Rothwell wrote: > Hi all, > > Please do not add any material destined for v3.21 to your linux-next > included trees until after v3.20-rc1 has been released. > > Changes since 20150212: on i386: when CONFIG_I2C is not enabled: ../drivers/iio/magnetometer/ak8975.c: In

Re: [PATCH] x86: x86-opcode-map.txt: explain CALLW discrepancy between Intel and AMD

2015-02-13 Thread Borislav Petkov
On Fri, Feb 13, 2015 at 02:25:20PM +0100, Denys Vlasenko wrote: > > Well, according to the SDM, Intel truncates too, see the LOOP/LOOPcc > > Operation section: > > > > ... > > IF BranchCond = 1 > > THEN > > IF OperandSize = 32 > > THEN EIP ← EIP +

Re: [PATCH 1/3] Documentation: minor spelling and grammar fixes

2015-02-13 Thread Randy Dunlap
On 02/13/15 14:19, Chris J Arges wrote: > Signed-off-by: Chris J Arges > --- > Documentation/vm/slub.txt | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > Acked-by: Randy Dunlap Thanks. -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 3/3] mm: slub: Add SLAB_DEBUG_CRASH option

2015-02-13 Thread Christoph Lameter
On Fri, 13 Feb 2015, Chris J Arges wrote: > The diff doesn't show this clearly, but the BUG_ON was added to both > free_debug_processing and alloc_debug_processing. This is not good. There should be no BUG_ON. The problem report by the allocator already includes a backtrace. You need to abort

ZAPYTANIE O ZGODĘ NA WYSŁANIE OFERTY / INFORMACJI HANDLOWEJ

2015-02-13 Thread naukajezykow
Szkoła Nauki Języków Obcych prosi o wyrażenie zgody na przesłanie materiałów reklamowo-informacyjno-handlowych w zakresie: 1. Realizacji szkoleń branżowych i specjalistycznych dla osób posługujących się językiem obcym. 2. Nauki języka ogólnego na wszystkich poziomach zaawansowania - general

Re: [PATCH RFC v3 4/7] epoll: Add implementation for epoll_ctl_batch

2015-02-13 Thread Dan Rosenberg
> + if (ncmds <= 0 || !cmds) > + return -EINVAL; > + cmd_size = sizeof(struct epoll_ctl_cmd) * ncmds; > + kcmds = kmalloc(cmd_size, GFP_KERNEL); You should probably fix the integer overflow in the calculation of the cmd_size variable, unless you like root vulnerabilities.

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Stephen Boyd
On 02/13/15 15:01, Russell King - ARM Linux wrote: > On Fri, Feb 13, 2015 at 09:44:50PM +, Magnus Damm wrote: >> Also, based on the comment in mcpm_cpu_can_disable() it looks like the >> PSCI hook may be executed once only with your change in place? >> Hopefully PSCI is OK not being invoked

Re: [PATCH 3/3] mm: slub: Add SLAB_DEBUG_CRASH option

2015-02-13 Thread Christoph Lameter
On Fri, 13 Feb 2015, David Rientjes wrote: > Why isn't this done in other debugging functions such as > free_debug_processing()? I think this belongs into the functions that report the bug. They should report the issue and at the end of the report crash. -- To unsubscribe from this list: send

Re: [PATCH 3/3] mm: slub: Add SLAB_DEBUG_CRASH option

2015-02-13 Thread Chris J Arges
On 02/13/2015 05:38 PM, David Rientjes wrote: > On Fri, 13 Feb 2015, Chris J Arges wrote: > >> This option crashes the kernel whenever corruption is initially detected. >> This >> is useful when trying to use crash dump analysis to determine where memory >> was >> corrupted. >> >> To enable

Re: [PATCH 3/3] mm: slub: Add SLAB_DEBUG_CRASH option

2015-02-13 Thread David Rientjes
On Fri, 13 Feb 2015, Chris J Arges wrote: > This option crashes the kernel whenever corruption is initially detected. This > is useful when trying to use crash dump analysis to determine where memory was > corrupted. > > To enable this option use slub_debug=C. > Why isn't this done in other

Re: linux-next: Tree for Feb 13 (runtime failures and 'non-zero nr_pmds' messages)

2015-02-13 Thread Stephen Rothwell
Hi Guenter, On Fri, 13 Feb 2015 10:54:28 -0800 Guenter Roeck wrote: > > I see a number of runtime failures with this version. > It affects alpha, mips64, ppc64, and x86_64. > Symptom is always the same. There are lots of > > BUG: non-zero nr_pmds on freeing mm: X (where X is 1..4) > > messages

Investment Opportunity

2015-02-13 Thread BellAir LLC
I bring you an investment opportunity to partner with us in this 2015 lucrative investment trading platform. Reply for more info; Dr. Tony O'Reilly -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 2/3] mm: slub: parse slub_debug O option in switch statement

2015-02-13 Thread David Rientjes
On Fri, 13 Feb 2015, Chris J Arges wrote: > By moving the O option detection into the switch statement, we allow this > parameter to be combined with other options correctly. Previously options like > slub_debug=OFZ would only detect the 'o' and use DEBUG_DEFAULT_FLAGS to fill > in the rest of

Re: [PATCH v2] x86, kaslr: propagate base load address calculation

2015-02-13 Thread Kees Cook
On Fri, Feb 13, 2015 at 2:20 PM, Jiri Kosina wrote: > On Fri, 13 Feb 2015, Kees Cook wrote: > >> > Commit e2b32e678 ("x86, kaslr: randomize module base load address") makes >> > the base address for module to be unconditionally randomized in case when >> > CONFIG_RANDOMIZE_BASE is defined and

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Simon Horman
On Fri, Feb 13, 2015 at 10:57:04PM +, Russell King - ARM Linux wrote: > On Fri, Feb 13, 2015 at 03:20:04PM -0500, Simon Horman wrote: > > > -static int r8a7779_cpu_disable(unsigned int cpu) > > > -{ > > > - /* only CPU1->3 have power domains, do not allow hotplug of CPU0 */ > > > - return cpu

Re: [PATCH 03/16] tty: serial: 8250_core: read only RX if there is something in the FIFO

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 07:51:16PM +0100, Sebastian Andrzej Siewior wrote: > Something like this maybe? My personal feeling is that as 0aa525d11859 was wrong, it should be reverted and this should be another attempt to fix the problem. In other words, there should be two patches, one a revert of

Re: [PATCH 1/3] Documentation: minor spelling and grammar fixes

2015-02-13 Thread David Rientjes
On Fri, 13 Feb 2015, Chris J Arges wrote: > Signed-off-by: Chris J Arges Acked-by: David Rientjes -- 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

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Nicolas Pitre
On Fri, 13 Feb 2015, Liviu Dudau wrote: > On Fri, Feb 13, 2015 at 11:16:12AM +, Russell King - ARM Linux wrote: > > On Fri, Feb 13, 2015 at 11:01:52AM +, Liviu Dudau wrote: > > > On Fri, Feb 13, 2015 at 10:57:53AM +, Russell King - ARM Linux wrote: > > > > On Fri, Feb 13, 2015 at

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 09:44:50PM +, Magnus Damm wrote: > Also, based on the comment in mcpm_cpu_can_disable() it looks like the > PSCI hook may be executed once only with your change in place? > Hopefully PSCI is OK not being invoked for every CPU shutdown. This is why I've said (in the

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 08:54:22PM +, Magnus Damm wrote: > Thanks for your efforts. Can you please tell me where that limitation > is located? I'm quite sure I've brought CPU cores up and down > including CPU0, but maybe something is missing? If you don't provide a cpu_disable function, by

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 03:20:04PM -0500, Simon Horman wrote: > > -static int r8a7779_cpu_disable(unsigned int cpu) > > -{ > > - /* only CPU1->3 have power domains, do not allow hotplug of CPU0 */ > > - return cpu == 0 ? -EPERM : 0; > > -} ... > Its not clear to me why r8a7779_cpu_disable()

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Nicolas Pitre
On Fri, 13 Feb 2015, Liviu Dudau wrote: > On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: > > The vexpress tc2 power management code calls mcpm_loopback, which > > is only available if ARM_CPU_SUSPEND is enabled, otherwise we > > get a link error: > > > >

[PATCH] sh_vou: fix memory leak on error paths in sh_vou_open()

2015-02-13 Thread Alexey Khoroshilov
Memory allocated for sh_vou_file is not deallocated on error paths in sh_vou_open(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/platform/sh_vou.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 3/3] x86, crash: Allocate enough low-mem when crashkernel=high

2015-02-13 Thread Joerg Roedel
Hi Baoquan, On Fri, Feb 13, 2015 at 11:34:38PM +0800, Baoquan He wrote: > Conclusively, I like 256M since the testing data showed it's sufficient > now and should be save for a long time. Thanks, I am fine with 256MB too, so can I have your Acked-by on this series? I will rebase and resend it

Re: [PATCH v2] dgnc: Use ccflags -y instead of EXTRA_CFLAGS

2015-02-13 Thread Dan Carpenter
On Fri, Feb 13, 2015 at 08:01:36PM +, Cass May wrote: > Correction to syntax error in previous patch version. Apologies. > Put that stuff under the --- cut off line and not in the permanent kernel git log. Changelog is missing. checkpatch.pl by itself is not sufficient justification. Why

Re: [PATCH v2] x86, kaslr: propagate base load address calculation

2015-02-13 Thread Jiri Kosina
On Fri, 13 Feb 2015, Kees Cook wrote: > > Commit e2b32e678 ("x86, kaslr: randomize module base load address") makes > > the base address for module to be unconditionally randomized in case when > > CONFIG_RANDOMIZE_BASE is defined and "nokaslr" option isn't present on the > > commandline. > > > >

[PATCH 3/3] mm: slub: Add SLAB_DEBUG_CRASH option

2015-02-13 Thread Chris J Arges
This option crashes the kernel whenever corruption is initially detected. This is useful when trying to use crash dump analysis to determine where memory was corrupted. To enable this option use slub_debug=C. Signed-off-by: Chris J Arges --- Documentation/vm/slub.txt | 2 ++

[PATCH 2/3] mm: slub: parse slub_debug O option in switch statement

2015-02-13 Thread Chris J Arges
By moving the O option detection into the switch statement, we allow this parameter to be combined with other options correctly. Previously options like slub_debug=OFZ would only detect the 'o' and use DEBUG_DEFAULT_FLAGS to fill in the rest of the flags. Signed-off-by: Chris J Arges ---

[PATCH 1/3] Documentation: minor spelling and grammar fixes

2015-02-13 Thread Chris J Arges
Signed-off-by: Chris J Arges --- Documentation/vm/slub.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/vm/slub.txt b/Documentation/vm/slub.txt index b0c6d1b..e159c04 100644 --- a/Documentation/vm/slub.txt +++ b/Documentation/vm/slub.txt @@ -64,7

Re: [PATCH] mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes

2015-02-13 Thread Andy Gross
On Thu, Jan 29, 2015 at 05:51:06PM -0800, Bjorn Andersson wrote: > Add the regulator subnodes to the Qualcomm RPM MFD device tree bindings. > > Signed-off-by: Bjorn Andersson > --- > #include > @@ -66,5 +237,18 @@ frequencies. > > #address-cells = <1>; >

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-02-13 Thread David Cohen
On Fri, Feb 13, 2015 at 04:03:57PM -0600, Felipe Balbi wrote: > On Fri, Feb 13, 2015 at 02:02:11PM -0800, David Cohen wrote: > > Hi Felipe, > > > > [snip] > > > > > diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c > > > index 8d95056..53902ea 100644 > > > ---

Re: [PATCH] [SCSI] bsg: fix unkillable I/O wait deadlock with scsi-mq

2015-02-13 Thread Tony Battersby
On 02/11/2015 11:31 AM, Tony Battersby wrote: > Note: I did a number of tests with this patch, but I do not have any > programs to test commands with bidirectional data transfer. I would > appreciate if someone could test that. Replying to myself, I was able to test bidirectional data transfer

Re: [PATCH 1/1] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
On Fri, Feb 13, 2015 at 1:05 AM, Dan Carpenter wrote: > > You're doing too many things at one. This should probably be split into > 7 patches. I will split this up and resubmit. > > >> u16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x) >> @@ -39,7 +38,7 @@ u16 gdm_cpu_to_dev16(struct

Re: [PATCH 6/8] usb: dwc3: add ULPI interface support

2015-02-13 Thread Felipe Balbi
On Fri, Feb 13, 2015 at 02:03:45PM -0800, David Cohen wrote: > Hi Heikki, > > On Fri, Feb 13, 2015 at 03:16:40PM +0200, Heikki Krogerus wrote: > > On Thu, Feb 12, 2015 at 05:41:30PM -0800, David Cohen wrote: > > > On Thu, Feb 12, 2015 at 02:12:14PM +0200, Heikki Krogerus wrote: > > > > > > diff

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-02-13 Thread Felipe Balbi
On Fri, Feb 13, 2015 at 02:02:11PM -0800, David Cohen wrote: > Hi Felipe, > > [snip] > > > diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c > > index 8d95056..53902ea 100644 > > --- a/drivers/usb/dwc3/dwc3-pci.c > > +++ b/drivers/usb/dwc3/dwc3-pci.c > > @@ -21,6 +21,7 @@ >

Re: [PATCH 1/1] Staging: iio: meter: ade7854-i2c: code style improvements

2015-02-13 Thread Tolga Ceylan
On Fri, Feb 13, 2015 at 12:27 AM, Sudip Mukherjee wrote: > > you are doing three different types of changes here. one patch should have > only one type of change. > > regards > sudip Thank you, I'll split this up and resubmit. Regards, Tolga -- To unsubscribe from this list: send the line

Re: [PATCH 6/8] usb: dwc3: add ULPI interface support

2015-02-13 Thread David Cohen
Hi Heikki, On Fri, Feb 13, 2015 at 03:16:40PM +0200, Heikki Krogerus wrote: > On Thu, Feb 12, 2015 at 05:41:30PM -0800, David Cohen wrote: > > On Thu, Feb 12, 2015 at 02:12:14PM +0200, Heikki Krogerus wrote: > > > > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > > > > > index

Re: [PATCH] sched/completion: completion_done() should serialize with complete()

2015-02-13 Thread Davidlohr Bueso
On Fri, 2015-02-13 at 13:56 -0800, Davidlohr Bueso wrote: > On Thu, 2015-02-12 at 20:59 +0100, Oleg Nesterov wrote: > > Commit de30ec47302c "Remove unnecessary ->wait.lock serialization when > > reading completion state" was not correct, without lock/unlock the code > > like

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-02-13 Thread David Cohen
Hi Felipe, [snip] > diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c > index 8d95056..53902ea 100644 > --- a/drivers/usb/dwc3/dwc3-pci.c > +++ b/drivers/usb/dwc3/dwc3-pci.c > @@ -21,6 +21,7 @@ > #include > #include > #include > +#include > > #include

Re: [PATCH] compat: Fix endian issue in union sigval

2015-02-13 Thread Chris Metcalf
On 2/13/2015 5:44 AM, Catalin Marinas wrote: On Fri, Feb 13, 2015 at 04:00:43PM +0800, Bamvor Jian Zhang wrote: On 2015/2/11 23:40, Catalin Marinas wrote: On Wed, Feb 11, 2015 at 07:22:08PM +0800, Bamvor Jian Zhang wrote: On 2015/2/10 20:27, Catalin Marinas wrote: On Tue, Feb 10, 2015 at

Re: [PATCH] sched/completion: completion_done() should serialize with complete()

2015-02-13 Thread Davidlohr Bueso
On Thu, 2015-02-12 at 20:59 +0100, Oleg Nesterov wrote: > Commit de30ec47302c "Remove unnecessary ->wait.lock serialization when > reading completion state" was not correct, without lock/unlock the code > like stop_machine_from_inactive_cpu() > > while (!completion_done()) >

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Magnus Damm
Hi Stephen, On Fri, Feb 13, 2015 at 8:59 PM, Stephen Boyd wrote: > On 02/13/15 12:54, Magnus Damm wrote: >> Hi Stephen, >> >> On Fri, Feb 13, 2015 at 8:23 PM, Stephen Boyd wrote: >>> On 02/13/15 12:20, Simon Horman wrote: Hi Stephen, On Fri, Feb 13, 2015 at 10:06:39AM -0800,

Re: [PATCH RT v2] kernel/res_counter.c: Change lock of struct res_counter to raw_spinlock_t

2015-02-13 Thread Paul Gortmaker
[Re: [PATCH RT v2] kernel/res_counter.c: Change lock of struct res_counter to raw_spinlock_t] On 13/02/2015 (Fri 14:21) Thavatchai Makphaibulchoke wrote: > > > On 02/13/2015 12:19 PM, Paul Gortmaker wrote: > > > > I think there is more to this issue than just a lock conversion. > > Firstly,

[GIT PULL] More ACPI and power management updates for 3.20-rc1

2015-02-13 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.20-rc1-2 to receive more ACPI and power management material for v3.20-rc1 with top-most commit c7fb90dfbef49b03e6f3fd6a32338e59cbcf34ee Merge branches 'pm-cpufreq', 'pm-cpuidle',

Re: [PATCH RT v2] kernel/res_counter.c: Change lock of struct res_counter to raw_spinlock_t

2015-02-13 Thread Thavatchai Makphaibulchoke
On 02/13/2015 12:19 PM, Paul Gortmaker wrote: > > I think there is more to this issue than just a lock conversion. > Firstly, if we look at the existing -rt patches, we've got the old > patch from ~2009 that is: > Thanks Paul for testing and reporting the problem. Yes, looks like the issue

Re: [PATCH 1/3] Slab infrastructure for array operations

2015-02-13 Thread David Rientjes
On Fri, 13 Feb 2015, Christoph Lameter wrote: > > I also think that this implementation is slub-specific. For example, > > in slab case, it is always better to access local cpu cache first than > > page allocator since slab doesn't use list to manage free objects and > > there is no cache line

Re: [PATCH v4 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper

2015-02-13 Thread David Rientjes
On Fri, 13 Feb 2015, Luis R. Rodriguez wrote: > David, > > since I'm making some Kconfig changes to Xen I think I should > fold this into that series with the modifications required > last so as to avoid other commits and have this go in clean > after all the changes, and have this go through

Re: [PATCH v3 1/3] lib: find_*_bit reimplementation

2015-02-13 Thread George Spelvin
> Ohh... I used to think I know something about optimization. I tried build > Rasmus' 'find_last_bit' against mine on MIPS, and found that sizes are as > 268 vs 320 bytes. I think the best version is suggested by George, both > readable, and effective. What about using it? If no objections, I'll >

Re: [PATCH] sched/completion: completion_done() should serialize with complete()

2015-02-13 Thread Paul E. McKenney
On Thu, Feb 12, 2015 at 08:59:13PM +0100, Oleg Nesterov wrote: > Commit de30ec47302c "Remove unnecessary ->wait.lock serialization when > reading completion state" was not correct, without lock/unlock the code > like stop_machine_from_inactive_cpu() > > while (!completion_done()) >

[PATCH 03/43] tools build: Add subdir support

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add support to make directory any time we build objects out of the tree (O=/tmp/krava) and the output directory does not exist. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc:

Re: [RFC PATCH 8/9] livepatch: allow patch modules to be removed

2015-02-13 Thread Josh Poimboeuf
On Fri, Feb 13, 2015 at 05:17:10PM +0100, Miroslav Benes wrote: > On Fri, 13 Feb 2015, Josh Poimboeuf wrote: > > Hm, even with Jiri Slaby's suggested fix to add the completion to the > > unregister path, I still get a lockdep warning. This looks more insidious, > > related to the locking order of

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 Thread Stephen Boyd
On 02/13/15 12:54, Magnus Damm wrote: > Hi Stephen, > > On Fri, Feb 13, 2015 at 8:23 PM, Stephen Boyd wrote: >> On 02/13/15 12:20, Simon Horman wrote: >>> Hi Stephen, >>> >>> On Fri, Feb 13, 2015 at 10:06:39AM -0800, Stephen Boyd wrote: diff --git a/arch/arm/mach-shmobile/smp-r8a7779.c

[PATCH 15/43] perf build: Add gtk objects building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the gtk objects building under build framework. Add new gtk build object so it's separated from the rest of the code and could be librarized. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc:

[PATCH 13/43] perf build: Add ui objects building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the ui objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker

[PATCH 10/43] perf build: Add probe objects building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the probe objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic

Re: [PATCHv2] perf/stat: Report unsupported events properly

2015-02-13 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 13, 2015 at 12:39:24PM -0700, David Ahern escreveu: > > > On 02/13/2015 11:40 AM, Suzuki K. Poulose wrote: > >From: "Suzuki K. Poulose" > > > >Commit 1971f59 (perf stat: Use read_counter in read_counter_aggr ) > >broke the perf stat output for unsupported counters. > > > > $ perf

[PATCH 19/43] perf build: Add perf.o object building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the perf object building under build framework to be included in the perf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker

[PATCH 18/43] perf build: Add zlib objects building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the zlib objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic

[PATCH 23/43] perf build: Add arch powerpc objects building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the powerpc arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic

[PATCH 24/43] perf build: Add arch s390 objects building

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the s390 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic

[PATCH 27/43] perf build: Add single target build framework support

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add support to build single targets, like: $ make util/map.o# objects $ make util/map.i# preprocessor $ make util/map.s# assembly Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc:

[PATCH 30/43] perf build: Remove PERF-CFLAGS file

2015-02-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Removing PERF-CFLAGS file, because the build framework stores full build command line for each object and triggers rebuilt if necessary. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Borislav Petkov Cc: Corey Ashford

  1   2   3   4   5   6   7   8   9   >