If a button is configured to wake the system, report a pm wakeup event.
Signed-off-by: Benson Leung ble...@chromium.org
---
drivers/input/keyboard/gpio_keys.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/input/keyboard/gpio_keys.c
On Tue, 2012-07-24 at 11:00 +0300, Andy Shevchenko wrote:
Use devm_kzalloc, devm_clk_get, devm_request_irq, and devm_request_and_ioremap
to reduce the code and to simplify the error path.
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com
Cc: Viresh Kumar viresh.li...@gmail.com
Some remotes use NECx IR protocol to send remote control key
events. Present nec decoder in rc framework is assuming to have 2
stop bits (pulse width of 560us space width 5600us) in NECx, but in
reality NECx sends only pulse of 560us and space untill next frame.So
here we can ignore the space
TPS65910 PMIC is a MFD with RTC as one of the device.
Adding RTC driver for supporting RTC device present
inside TPS65910 PMIC.
Only support for RTC alarm is implemented as part of this patch.
Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com
---
drivers/rtc/Kconfig | 10 ++
On Wed, 2012-07-25 at 12:59 +0900, Paul Mundt wrote:
On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote:
The shdma base library has originally been extracted from the shdma driver,
which now can be converted to actually use it.
Signed-off-by: Guennadi Liakhovetski
New output option html5 writes validating HTML5 and adds
CSS classes ready to be selected by third-party stylesheets.
Signed-off-by: Dan Luedtke m...@danrl.de
---
scripts/kernel-doc | 255 ++--
1 file changed, 249 insertions(+), 6 deletions(-)
Fixed non-timeless comment.
Signed-off-by: Dan Luedtke m...@danrl.de
---
scripts/kernel-doc |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index f85b278..1d3c779 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -189,7
An id has been added to block-level elements article. This allows
jumping to a particular article via url. E.g. doc.html#func:foo
would sroll down to the documentation of function foo.
Signed-off-by: Dan Luedtke m...@danrl.de
---
scripts/kernel-doc | 30 +++---
1 file
On Wed, 2012-07-25 at 11:14 -0700, Randy Dunlap wrote:
Just say html5 or html version 5.
A few years from now it won't be modern.
Haven't thought of that. Will be changed, thanks!
Have you tested typedef, enum, DOC:, etc.?
Yes, here are a few examples:
DOC:
* Sam Ravnborg s...@ravnborg.org wrote:
No, the reason for the odd looking diff is that lots of lines in
arch/x86/Makefile have 8-space tabs for histerical reasons but
new code (such as this one) has proper tabs.
Use of tabs for indent in a Makefile is just asking for
trouble.
On Thu, Jul 26, 2012 at 12:19:21PM +0530, Vinod Koul wrote:
On Wed, 2012-07-25 at 12:59 +0900, Paul Mundt wrote:
On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote:
The shdma base library has originally been extracted from the shdma
driver,
which now can be
On 25.07.12 at 18:57, H. Peter Anvin h...@zytor.com wrote:
On 07/25/2012 12:59 AM, Jan Beulich wrote:
should drop all phys_addr assignment in this function.
x86_phys_bits should have all correct value?
Is it certain that all special cases (setting phys_addr to 32) are
covered by those
Hi all,
On Wed, 25 Jul 2012 09:35:03 +0200 Johannes Weiner han...@cmpxchg.org wrote:
On Wed, Jul 25, 2012 at 09:10:44AM +0200, Ingo Molnar wrote:
* Stephen Rothwell s...@canb.auug.org.au wrote:
Today's linux-next merge of the akpm tree got a conflict in
mm/migrate.c between the
Hi Linus,
The new PWM subsystem aims at collecting all implementations of the
legacy PWM API and to eventually replace it completely. The subsystem
has been in development for over half a year now and many drivers have
already been converted. It has been in linux-next for a couple of weeks
and
On Wed, Jul 25, 2012 at 04:58:18PM +0530, Philip, Avinash wrote:
ECAP hardware on AM33XX SOC supports auxiliary PWM (APWM) feature. This
commit adds PWM driver support for ECAP hardware on AM33XX SOC.
In the ECAP hardware, each PWM pin can also be configured to be in
capture mode. Current
On Wed, Jul 25, 2012 at 04:58:19PM +0530, Philip, Avinash wrote:
Enhanced high resolution PWM module (EHRPWM) hardware can be used to
generate PWM output over 2 channels. This commit adds PWM driver support
for EHRPWM device present on AM33XX SOC. Current implementation supports
simple PWM
Il 25/07/2012 23:04, Boaz Harrosh ha scritto:
That not all architectures have ARCH_HAS_SG_CHAIN (though all those I
care about do). So I need to go through all architectures and make sure
they use for_each_sg, or at least to change ARCH_HAS_SG_CHAIN to a
Kconfig define so that dependencies
On Wed, Jul 25, 2012 at 11:20 PM, Colin Cross ccr...@android.com wrote:
The cpu hotplug notifier gets called in both atomic and non-atomic
contexts, it is not always safe to lock a mutex. Filter out all events
except the six necessary ones, which are all sleepable, before taking
the mutex.
Il 05/07/2012 11:40, Paolo Bonzini ha scritto:
This is a revised version of the MODE SELECT implementation from yesterday,
augmented with support for changeable parameter requests in MODE SENSE.
Paolo Bonzini (2):
ata: support MODE SENSE request for changeable parameters
ata: implement
* Linus Torvalds torva...@linux-foundation.org wrote:
I couldn't find an example of that in a quick look, it's
fairly uncommon to have non-conflicting merges that had
semantic - but not contextual - conflicts. [...]
This:
git log --grep='Semantic merge\|Semantic conflict'
gives over a
* Andrew Morton a...@linux-foundation.org wrote:
On Wed, 25 Jul 2012 21:03:51 +0200
Ingo Molnar mi...@kernel.org wrote:
This means that if the above code reappears in linux-next or
mainline, the current copy of
mm-memcg-fix-compaction-migration-failing-due-to-memcg-limits.patch
On Tue, 2012-07-24 at 16:23 -0400, Konrad Rzeszutek Wilk wrote:
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 64effdc..b5bb26c 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -498,7 +498,14 @@ static bool alloc_p2m(unsigned long pfn)
return true;
}
-
On 07/26/2012 10:23 AM, Paolo Bonzini wrote:
In the meanwhile, we still have a bug to fix, and we need to choose
between Sen Wang's v1 (sg_set_page) or v2 (value assignment). I'm still
leaning more towards v2, if only because I already tested that one myself.
It's your call, you know
Il 26/07/2012 09:56, Boaz Harrosh ha scritto:
In the meanwhile, we still have a bug to fix, and we need to choose
between Sen Wang's v1 (sg_set_page) or v2 (value assignment). I'm still
leaning more towards v2, if only because I already tested that one myself.
It's your call, you know
On Wed, 2012-07-25 at 15:40 -0700, Tejun Heo wrote:
(cc'ing Oleg and Peter)
Right, if you're playing games with preemption, always add the rt and
sched folks.. added mingo and tglx.
On Wed, Jul 25, 2012 at 03:35:32PM -0700, Peter Boonstoppel wrote:
After a kthread is created it signals the
Hi Sergei,
On Wed, Jul 25, 2012 at 22:29:24, Sergei Shtylyov wrote:
+ rtc@44e3e000 {
Address postfix in the node name without reg property?
As per [1], The unit-address is included if the node describes
a device with an address.
Which in this case it doesn't.
On Thu, 2012-07-26 at 08:50 +0300, Gleb Natapov wrote:
On Wed, Jul 25, 2012 at 10:35:46PM +0200, Peter Zijlstra wrote:
On Tue, 2012-07-24 at 18:15 +0200, Robert Richter wrote:
David,
On 24.07.12 08:20:19, David Ahern wrote:
On 7/23/12 12:13 PM, Arnaldo Carvalho de Melo wrote:
On Wed, 2012-07-25 at 23:16 -0600, David Ahern wrote:
Peter's patch (see https://lkml.org/lkml/2012/7/9/298) changes kernel
side to require the use of exclude_guest if the precise modifier is
used, returning -EOPNOTSUPP if exclude_guest is not set. This patch goes
after the user
On Thu, Jul 26, 2012 at 10:07:37AM +0200, Peter Zijlstra wrote:
On Thu, 2012-07-26 at 08:50 +0300, Gleb Natapov wrote:
On Wed, Jul 25, 2012 at 10:35:46PM +0200, Peter Zijlstra wrote:
On Tue, 2012-07-24 at 18:15 +0200, Robert Richter wrote:
David,
On 24.07.12 08:20:19, David
On Thu, Jul 26, 2012 at 09:10:08AM +0900, Chanwoo Choi wrote:
If user press BTN_0 and BTN_1 at the same time and then user only
released BTN_0 but BTN_1 is still pressed, is it right that report
released event to all of buttons? I think that different event between
BTN_0 and BTN_1.
That
On Wed, 2012-07-25 at 15:09 -0700, Hugh Dickins wrote:
We find out after it hits us, and someone studies the disassembly -
if we're lucky enough to crash near the origin of the problem.
This is a rather painful way.. see
https://lkml.org/lkml/2009/1/5/555
we were lucky there in that the
On Thu, 2012-07-26 at 13:27 +0800, Alex Shi wrote:
If find_idlest_cpu() return '-1', and sd-child is NULL. The function
select_task_rq_fair will return -1. That is not the function's purpose.
But find_idlest_cpu() will only return -1 if the group mask is fully
excluded by the cpus_allowed mask,
Il 05/07/2012 13:40, Sasha Levin ha scritto:
@@ -275,7 +274,7 @@ static void vm_del_vq(struct virtqueue *vq)
vring_del_virtqueue(vq);
/* Select and deactivate the queue */
- writel(info-queue_index, vm_dev-base + VIRTIO_MMIO_QUEUE_SEL);
+
On Thu, Jul 26, 2012 at 09:34:19AM +0800, wwang wrote:
Hi Aaron:
Thank you. I will modify our host per your suggestion.
Hi Wei,
please put me on CC for your next submission of the driver so that I can
give it a run.
Thanks.
--
Regards/Gruss,
Boris.
--
To unsubscribe from this list:
This patch adds Platform glue driver for ufshcd.
Reviewed-by: Namjae Jeon linkinj...@gmail.com
Signed-off-by: Vinayak Holikatti vinholika...@gmail.com
Signed-off-by: Santosh Yaraganavi santos...@gmail.com
---
drivers/scsi/ufs/Kconfig | 11 ++
drivers/scsi/ufs/Makefile|1 +
This patch set adds following features
- Seggregate PCI specific code in ufshcd.c
- Adds PCI glue driver ufshcd-pci.c and ufshcd.c become core module
- Adds Platform glue driver ufshcd-pltfrm.c
- Update correct transfer size in Command UPIU
Vinayak Holikatti (4):
[SCSI] drivers/scsi/ufs:
This patch seggregates the PCI specific code in ufshcd.c to make it
ready for splitting into core ufs driver and PCI glue driver.
Reviewed-by: Namjae Jeon linkinj...@gmail.com
Signed-off-by: Vinayak Holikatti vinholika...@gmail.com
Signed-off-by: Santosh Yaraganavi santos...@gmail.com
---
This patch separates PCI code from ufshcd.c and makes it as a
core driver module and adds a new file ufshcd-pci.c as PCI glue
driver.
Reviewed-by: Namjae Jeon linkinj...@gmail.com
Signed-off-by: Vinayak Holikatti vinholika...@gmail.com
Signed-off-by: Santosh Yaraganavi santos...@gmail.com
---
This patch corrects the expected data transfer size of the
command UPIU. The current implementation of cmd-transfersize
is wrong as it probably equal to sector size. With this
implementation the transfer size is updated correctly
Reported-by: KOBAYASHI Yoshitake yoshitake.kobaya...@toshiba.co.jp
From: fangxiaozhi huana...@huawei.com
1. This patch is based on the kernel of 3.5
2. In this patch, we add new micro for matching the series USB devices with
vendor ID and interface information.
3. In this patch, we add new declarations into option.c to support the new
interfaces of Huawei Data
On Mon, 2012-07-16 at 18:05 +0200, Paolo Bonzini wrote:
Hotplug/hot-unplug of a LUN whose number is greater than 255
uses the flat format for LUNs, which has bit 14 set. Clear
the bit when parsing the event structs.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
On 07/26/2012 06:58 AM, Xiao Guangrong wrote:
Currently, kvm allocates some pages and use them as error indicators,
it wastes memory and is not good for scalability
Base on Avi's suggestion, we use the error codes instead of these pages
to indicate the error conditions
+static pfn_t
Il 26/07/2012 10:52, James Bottomley ha scritto:
+static unsigned int virtscsi_get_lun(u8 *lun_bytes)
+{
+ unsigned int lun = (lun_bytes[2] 8) | lun_bytes[3];
+ return lun 16383;
+}
+
Why are you rolling your own incomplete version of scsilun_to_int here?
Because scsilun_to_int
On 26.07.12 10:07:37, Peter Zijlstra wrote:
On Thu, 2012-07-26 at 08:50 +0300, Gleb Natapov wrote:
The commit is 144d31e6, but it introduces hook that is used on VMX only.
SVM does not need it to implement guest/host only counters since it
has HW support for that in the PMU.
Right, seems
Hi Andy, Joe,
On Wed, 13 Jun 2012, Joe Perches wrote:
Parenthesis alignment doesn't correctly check an existing line
after an inserted or modified line with an open parenthesis.
Fix it.
Signed-off-by: Joe Perches j...@perches.com
Reviewed-by: Paul Walmsley p...@pwsan.com
Tested-by: Paul
Hi,
On Wed, 2012-07-25 at 11:16 -0400, Bob Peterson wrote:
- Original Message -
| From: Artem Bityutskiy artem.bityuts...@linux.intel.com
|
| The pdflush thread is long gone, so this patch removes references to
| pdflush
| from gfs comments.
|
(snip)
| -*
On 07/26/2012 04:17 PM, Peter Zijlstra wrote:
On Thu, 2012-07-26 at 13:27 +0800, Alex Shi wrote:
If find_idlest_cpu() return '-1', and sd-child is NULL. The function
select_task_rq_fair will return -1. That is not the function's purpose.
But find_idlest_cpu() will only return -1 if the
On Thu, 2012-07-26 at 10:10 +0100, Steven Whitehouse wrote:
That ok, I spotted it anyway and it is fairly minor as patches go.
Artem, do you want to keep this patch in your series or should I queue
it up for the GFS2 tree? I don't mind which and it has my ack anyway,
Hi Steven, thanks, I think
2012/7/25 Ben Hutchings b...@decadent.org.uk:
On Wed, 2012-07-25 at 20:13 +0800, Wang Sen wrote:
When using the commands below to write some data to a virtio-scsi LUN of the
QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will
crash.
# sudo mkfs.ext4 /dev/sdb
On Thu, 26 Jul 2012 11:56:15 +0300
Avi Kivity a...@redhat.com wrote:
Since my comments are better done as a separate patch, I applied all
three patches. Thanks!
Is this patch really safe for all architectures?
IS_ERR_VALUE() casts -MAX_ERRNO to unsigned long and then does comparison.
Isn't
On Thu, 2012-07-26 at 11:04 +0200, Paolo Bonzini wrote:
Il 26/07/2012 10:52, James Bottomley ha scritto:
+static unsigned int virtscsi_get_lun(u8 *lun_bytes)
+{
+unsigned int lun = (lun_bytes[2] 8) | lun_bytes[3];
+return lun 16383;
+}
+
Why are you rolling
This fixes a regression introduced in:
commit b9562545ef0b13c0440ccd8d6dd4111fb77cb17a
Author: Hauke Mehrtens ha...@hauke-m.de
Date: Sat Jun 30 01:44:41 2012 +0200
bcma: complete workaround for BCMA43224 and BCM4313
The regression broke reading of the sprom from the chip and seamed to
On 07/26/2012 04:56 PM, Avi Kivity wrote:
On 07/26/2012 06:58 AM, Xiao Guangrong wrote:
Currently, kvm allocates some pages and use them as error indicators,
it wastes memory and is not good for scalability
Base on Avi's suggestion, we use the error codes instead of these pages
to indicate
Il 26/07/2012 11:21, James Bottomley ha scritto:
Because scsilun_to_int does not do the AND, so it would have exactly the
same bug I'm fixing.
It's not a bug ... it's the encoding. All the other devices use this
too. Ideally we should have switched to 64 bit lun numbers for the
encoding
On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote:
On δΊ”, 2012-07-13 at 15:30 +0800, Wei Ni wrote:
Our tegra thermal framework also will use the generic thermal layer. It
will register the cooling device, and run the throttling in this generic
framework.
But we have a special
On 07/26/2012 05:20 PM, Takuya Yoshikawa wrote:
On Thu, 26 Jul 2012 11:56:15 +0300
Avi Kivity a...@redhat.com wrote:
Since my comments are better done as a separate patch, I applied all
three patches. Thanks!
Is this patch really safe for all architectures?
IS_ERR_VALUE() casts
On Thu, 2012-07-26 at 13:27 +0800, Alex Shi wrote:
if (affine_sd) {
- if (cpu == prev_cpu || wake_affine(affine_sd, p, sync))
+ if (wake_affine(affine_sd, p, sync))
prev_cpu = cpu;
new_cpu = select_idle_sibling(p,
Hi, thanks for your comment.
On 2012/07/26 8:28, Siddha, Suresh B wrote:
Tomoki wrote:
In current Linux, percpu variable `vector_irq' is not always cleared when
a CPU is offlined. If the cpu that has the disabled irqs in vector_irq is
hotplugged again, __setup_vector_irq() hits invalid irq
On Thu, 2012-07-26 at 11:27 +0200, Paolo Bonzini wrote:
Il 26/07/2012 11:21, James Bottomley ha scritto:
Because scsilun_to_int does not do the AND, so it would have exactly the
same bug I'm fixing.
It's not a bug ... it's the encoding. All the other devices use this
too. Ideally we
On 07/26/2012 05:37 PM, Mike Galbraith wrote:
On Thu, 2012-07-26 at 13:27 +0800, Alex Shi wrote:
if (affine_sd) {
-if (cpu == prev_cpu || wake_affine(affine_sd, p, sync))
+if (wake_affine(affine_sd, p, sync))
prev_cpu = cpu;
In current Linux, percpu variable `vector_irq' is not always cleared when
a CPU is offlined. If the CPU that has the disabled irqs in vector_irq is
hotplugged again, __setup_vector_irq() hits invalid irq vector and may
crash.
This bug can be reproduced as following;
# echo 0
On 07/25/2012 10:10 PM, Kirill A. Shutemov wrote:
On Wed, Jul 25, 2012 at 06:38:13PM +0400, Glauber Costa wrote:
...
@@ -337,6 +341,12 @@ extern void *__kmalloc_track_caller(size_t, gfp_t,
unsigned long);
__kmalloc(size, flags)
#endif /* DEBUG_SLAB */
+#ifdef CONFIG_MEMCG_KMEM
On Thu, 26 Jul 2012 17:35:13 +0800
Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote:
Is this patch really safe for all architectures?
IS_ERR_VALUE() casts -MAX_ERRNO to unsigned long and then does comparison.
Isn't it possible to conflict with valid pfns?
See IS_ERR_VALUE():
Il 26/07/2012 11:41, James Bottomley ha scritto:
On Thu, 2012-07-26 at 11:27 +0200, Paolo Bonzini wrote:
Il 26/07/2012 11:21, James Bottomley ha scritto:
Because scsilun_to_int does not do the AND, so it would have exactly the
same bug I'm fixing.
It's not a bug ... it's the encoding. All
On Thu, Jul 26, 2012 at 01:42:05PM +0400, Glauber Costa wrote:
On 07/25/2012 10:10 PM, Kirill A. Shutemov wrote:
On Wed, Jul 25, 2012 at 06:38:13PM +0400, Glauber Costa wrote:
...
@@ -337,6 +341,12 @@ extern void *__kmalloc_track_caller(size_t, gfp_t,
unsigned long);
When runtime resume a scsi device, if the device's driver has
implemented runtime resume callback, use that.
sr driver needs this to do different things for system resume and
runtime resume.
Signed-off-by: Aaron Lu aaron...@amd.com
---
drivers/scsi/scsi_pm.c | 15 ++-
1 file
When the ODD is runtime suspended, there is no need to poll it for
events, so block events poll for it and unblock when resumed.
Signed-off-by: Aaron Lu aaron...@amd.com
---
block/genhd.c | 2 ++
drivers/scsi/sr.c | 7 ---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git
When the ODD is resumed, disk_unblock_events should be called when:
1 The ODD is runtime resumed;
2 System is resuming from S3 and the ODD is runtime suspended before S3;
But not when the system is resuming from S3 and the ODD is runtime
active before S3.
So seperate the resume calls, one for
Set the ODD's in kernel poll interval to 2s for the user in case the
user is using an old distro on which udev will not set the system wide
block parameter events_dfl_poll_msecs.
Signed-off-by: Aaron Lu aaron...@amd.com
---
block/genhd.c | 23 +--
drivers/scsi/sr.c
From: Hauke Mehrtens ha...@hauke-m.de
Date: Thu, 26 Jul 2012 11:15:51 +0200
This fixes a regression introduced in:
commit b9562545ef0b13c0440ccd8d6dd4111fb77cb17a
Author: Hauke Mehrtens ha...@hauke-m.de
Date: Sat Jun 30 01:44:41 2012 +0200
bcma: complete workaround for BCMA43224 and
The ODD will be placed into suspend state when:
1 For tray type ODD, no media inside and door closed;
2 For slot type ODD, no media inside;
And together with ACPI, when we suspend the ODD, we will omit the power
altogether to reduce power consumption(done in libata-acpi.c).
The ODD can be resumed
v3:
Rebase on top of scsi-misc tree;
Add the sr related patches previously in Jeff's libata tree;
Re-organize the sr patches.
A problem for now: for patch
scsi: sr: support zero power ODD(ZPODD)
I can't set a flag in libata-acpi.c since a related function is
missing in scsi-misc tree. Will fix
On Thu, Jul 26, 2012 at 10:51:55AM +0800, Ming Lei wrote:
On Wed, Jul 25, 2012 at 9:59 PM, Borislav Petkov b...@amd64.org wrote:
This is subtle: the caller of fw_free_buf might forget to assign NULL to
the buf ptr.
Who is the caller? Since it is always called inside firmware loader, we
If the device is using autosuspend, when scsi_autopm_put_device is
called for it, use autosuspend runtime pm calls instead of the sync
call.
Signed-off-by: Aaron Lu aaron...@amd.com
---
drivers/scsi/scsi_pm.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
Signed-off-by: Aaron Lu aaron...@amd.com
---
drivers/scsi/sr.c | 23 +++
drivers/scsi/sr.h | 1 +
include/linux/cdrom.h | 43 +++
3 files changed, 67 insertions(+)
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index
On 19.7.2012 23:49, Daniel Wisehart wrote:
diff --git a/scripts/patch-kernel b/scripts/patch-kernel
index d000ea3..a7672eb 100755
--- a/scripts/patch-kernel
+++ b/scripts/patch-kernel
@@ -226,7 +226,7 @@ fi
# This all assumes a 2.6.x[.y] kernel tree.
# Don't allow backwards/reverse
On 07/26, Srikar Dronamraju wrote:
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:25]:
Like do_wp_page(), __replace_page() should do munlock_vma_page()
for the case when the old page still has other !VM_LOCKED mappings.
Unfortunately this needs mm/internal.h.
Also, move put_page()
* Tomoki Sekiyama tomoki.sekiyama...@hitachi.com wrote:
In current Linux, percpu variable `vector_irq' is not always cleared when
a CPU is offlined. If the CPU that has the disabled irqs in vector_irq is
hotplugged again, __setup_vector_irq() hits invalid irq vector and may
crash.
This
On 07/26/12 09:21, James Bottomley wrote:
On Thu, 2012-07-26 at 11:04 +0200, Paolo Bonzini wrote:
Il 26/07/2012 10:52, James Bottomley ha scritto:
+static unsigned int virtscsi_get_lun(u8 *lun_bytes)
+{
+ unsigned int lun = (lun_bytes[2] 8) | lun_bytes[3];
+ return lun 16383;
+}
+
Why
This patch contains a couple of general MSP clean-ups and a bug-fix.
The general clean-ups pertain to layout changes and changing functions
to be void instead of int and not to regardlessly return '0'. The bug
that's fixed is thought to be caused by a merge error. The code
erroneously attempts to
List all four MSP devices which exist on all DB8500 based platforms,
to ensure correct device probing and configuration passing when booting
with DT.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/boot/dts/db8500.dtsi | 30 ++
1 file changed, 30
This is the node which links together the platform (PCM), codec (AB8500)
and the CPU side Digital Audio Interface (MCP) with the machine driver.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/boot/dts/db8500.dtsi |8
1 file changed, 8 insertions(+)
diff --git
Previous attempts to add platform probing of the Audio related devices
only call from non-DT initialisation functions. This patch extends that
functionality to the Device Tree related ones too.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500.c |4
1
It isn't currently possible to pass all platform specific configuration
though Device Tree. Thinks like device names used in the clock
infrastructure, call-backs and DMA information have to be passed in via
AUXDATA structures and the MSP is no exception. Here we're passing DMA
settings.
Here we pass platform registration from platform code over to Device
Tree, when DT is enabled.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/board-mop500-msp.c |3 ---
sound/soc/ux500/ux500_pcm.c|6 ++
2 files changed, 6 insertions(+), 3
In the initial submission of the MSP driver msp1 and msp3's associated
pinctrl mechanism was passed back to platform code using a plat_init()
call-back routine, but it has no place in platform code. The MSP driver
should set this up for the appropriate ports. Instead we use a use_pinctrl
We continue to allow the AB8500 CODEC to be registered via the AB8500
Multi Functional Device API, only this time we extract its configuration
from the Device Tree binary.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/mfd/ab8500-core.c |1 +
The 'msp' board file does more than just register MSP devices. It
also registers some other components necessary to get audio working
on ux500 based platforms; such as the PCM and Machine Drivers. For
that reason we're changing the filename to be more encompassing -
'audio'.
Signed-off-by: Lee
On 07/26/2012 02:01 PM, Kirill A. Shutemov wrote:
On Thu, Jul 26, 2012 at 01:42:05PM +0400, Glauber Costa wrote:
On 07/25/2012 10:10 PM, Kirill A. Shutemov wrote:
On Wed, Jul 25, 2012 at 06:38:13PM +0400, Glauber Costa wrote:
...
@@ -337,6 +341,12 @@ extern void
Added error checks for exported APIs in regulator framework so that
incorrect use of these APIs does not result in a crash.
Signed-off-by: Kishon Vijay Abraham I kis...@ti.com
---
compile tested omap2plus_defconfig
drivers/regulator/core.c | 119 --
On Tue, Jul 24, 2012 at 04:12:03PM -0400, Benjamin Poirier wrote:
They function just like they do in less(1).
Also correct some discrepancy between the help text and the code wrt
function keys.
Signed-off-by: Benjamin Poirier bpoir...@suse.de
Applied to kbuild.git#kconfig, thanks.
Michal
Pass registration of both parts of the MSP driver from platform code
to Device Tree so that they are probed when Device Tree is enabled.
Also, as there is platform data involved, we ensure that there is
allocated memory to place the configuration into and that the correct
information is extracted
On 07/26, Srikar Dronamraju wrote:
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:22]:
1. vma_address() returns loff_t, this looks confusing and this is
unnecessary after the previous change. Make it return ulong,
all callers truncate the result anyway.
2. Its name conflicts
In this patch we stop registering the MOP500 driver from platform
code and rely solely on Device Tree to do the probing for us. We
also parse the sound node to link together the codec, dma and the
CPU-side Digital Audio Interface.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
We've done this before and it worked well last time. Here we're
duplicating a complex registration function to ease the process
of enabling it for Device Tree. As there are quite a few steps
taken during the registration process, it makes sense to break
them up into more manageable chunks. This
The current kernel commandline for ux500 based devices includes
hard-coded allocations for things like mali and hwmem, which
actually run over lowmem. Here we enable highmem in order to
avoid memory corruption errors.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/mach-ux500/Kconfig
Nothing special here. We're only providing a compatible string
to ensure the driver is probed using a Device Tree boot.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
arch/arm/boot/dts/db8500.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/db8500.dtsi
This patch-set sees some code reinforcement surrounding the recently
accepted MOP500 MSP, PCM, AB8500 CODEC and ux500 Audio Machine Driver.
It contains some extra error checking pertaining to the ux500 specific
drivers themselves, along with bugfixes for issues in core SoC Audio
code happened
When booting via platform code the AB8500 platform data is now passed
in though the DB8500. However, if pdata_size is not set it will not be
subsequently passed onto subordinate devices. This patch correctly
populates pdata_size.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
If a list of widgets is provided and one of them fails to be added as
a control, the present semantics fail all subsequent widgets. A better
solution would be to only fail that widget, but pursue in attempting
to add the rest of the list.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
1 - 100 of 1352 matches
Mail list logo