Commit-ID: a9ad773e0dd833651f0831020a0ea0265c29f2ea
Gitweb: http://git.kernel.org/tip/a9ad773e0dd833651f0831020a0ea0265c29f2ea
Author: Borislav Petkov
AuthorDate: Mon, 6 Aug 2012 19:00:36 +0200
Committer: H. Peter Anvin
CommitDate: Mon, 6 Aug 2012 19:18:09 -0700
x86, cpu: Fixup
On Mon, 6 Aug 2012 22:32:08 -0400
Jérôme Carretero wrote:
> For troubleshooting purposes I edited over your patch.
> So far:
> [...]
> Maybe I can get more...
With the following:
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
index 2dc29f5..46729f3 100644
---
2012/8/6 Lukasz Majewski :
> Hi,
>
>> Hi,
>>
>> On Mon, Aug 06, 2012 at 06:12:05PM +0800, Peiyong Feng wrote:
>> > I got a kernel panic when try hsotg of ok6410 which is based on
>> > s3c6410:
> As you said, you are using the ok6410. And it is "based" on the s3c6410
> CPU. S3C6410 is a single core
On Mon, 2012-08-06 at 22:41 +0200, Peter Zijlstra wrote:
> On Mon, 2012-08-06 at 22:09 +0200, Mike Galbraith wrote:
> > On Mon, 2012-08-06 at 21:04 +0200, Peter Zijlstra wrote:
> > > On Mon, 2012-08-06 at 17:32 +0200, Mike Galbraith wrote:
> > > > Thinko happened during sched migration to
On ARMv7, sizeof(struct dev_pm_info) becomes 344Bytes from 352Bytes
after applying the patch which only changes fields' order, so we can
save 8bytes per device. Nothing in behaviour changed.
GCC: gcc version 4.5.1
Signed-off-by: Ming Lei
---
include/linux/pm.h | 22 +++---
1
On Wed, Aug 1, 2012 at 2:28 AM, Colin Cross wrote:
> On Thu, Jul 26, 2012 at 9:04 PM, Bryan Wu wrote:
>> On Fri, Jul 27, 2012 at 12:51 AM, Greg KH wrote:
>>> On Thu, Jul 26, 2012 at 01:03:11PM +0800, Bryan Wu wrote:
Just one quick patch for my idea: emitting a uevent in
Hi,
Thank you for your advice.
Fortunately I got ODROID-X hardware earlier and am able to boot with mainline
kernel.
I will try to do alternative way first with source code kernel 3.0.15, and hope
you review the patch if ready.
Regards,
Dongjin.
보낸 사람:
On Tue, Aug 07, 2012 at 02:45:10AM +0200, Sasha Levin wrote:
> +/**
> + * hash_add - add an object to a hashtable
> + * @hashtable: hashtable to add to
> + * @bits: bit count used for hashing
> + * @node: the hlist_node of the object to be added
> + * @key: the key of the object to be added
> +
Hi, all,
I just created a git tree for catching all thermal changes.
http://git.kernel.org/?p=linux/kernel/git/rzhang/linux.git;a=summary
and I also created the next branch, which I'd like to be set for
linux-next inclusion, but don't know how.
And, I just saw that there are a couple of thermal
> -Original Message-
> From: Arnd Bergmann [mailto:a...@arndb.de]
> Sent: Monday, August 06, 2012 7:57 PM
> To: Liu Qiang-B32616
> Cc: linux-cry...@vger.kernel.org; linuxppc-...@lists.ozlabs.org;
> dan.j.willi...@intel.com; linux-kernel@vger.kernel.org;
> dan.j.willi...@gmail.com;
On Wed, Aug 1, 2012 at 8:05 PM, G.Shark Jeong wrote:
> From: "G.Shark Jeong"
>
> LM3554 and LM3556 have similar functions but very different register map.
> This driver is a general version for LM355x,lm3554 and lm3556,led chips of TI.
> lm3556 driver can be replaced by this driver.
>
> LM3554 :
On Mon, 6 Aug 2012 09:16:27 -0400
Jérôme Carretero wrote:
> - I can bisect the patch further down (might be a bit silly because
> I don't quite understand it),
For troubleshooting purposes I edited over your patch.
So far:
- (in arch/x86/platform/efi/efi.c) when making efi_get_time()
Hi,
On Mon, Aug 6, 2012 at 7:05 PM, Dongjin Kim
wrote:
> Hello,
>
> I am trying to understand what I have to do for device tree.
>
> In order to create dts file for ODROID-X hardware, it seems I may need dts
> file of EXYNOS4412 SoC.
> But maybe exynos4412.dtsi is not merged yet or not exist,
The cpu_info member of cpupower_topology was being declared as an unnamed
structure. This member was then being malloced using the size of the
parent cpupower_topology * the number of cpus. This works
because cpu_info is smaller than cpupower_topology. However, there is
no guarantee that will
The pkgs member of cpupower_topology is being used as the number of
cpu packages. As the comment in get_cpu_topology notes, the package ids
are not guaranteed to be contiguous. So, simply setting pkgs to the value
of the highest physical_package_id doesn't actually provide a count of
the number of
Fix a variety of issues with sysfs_topology_read_file:
* The return value of sysfs_topology_read_file function was not properly
being checked for failure.
* The function was reading int valued sysfs variables and then returning
their value. So, even if a function was trying to check the return
Fix minor warnings reported with GCC 4.6:
* The sysfs_write_file function is unused - remove it.
* The pr_mon_len in the print_header function is unsed - remove it.
---
tools/power/cpupower/utils/helpers/sysfs.c | 19 ---
The files generated by the Makefiles in the debug directories aren't listed
in the .gitignore file in the root of the cpupower tool which causes these
files to show up in the output of 'git status'.
---
tools/power/cpupower/.gitignore |7 +++
1 file changed, 7 insertions(+)
diff --git
Patches 1 and 2 of the series fix a simple issues with the Makefiles
and .gitignore file. Patch 3 fixes a couple trivial warnings. Patch
4 fixes some error checking issues. Path 5 fixes a malloc issue. Patch
6 fixes a sign comparison error by updating how the number of cpu packages
are calculated
The clean targets from the cpupower tools' Makefiles use brace expansion to
remove some generated files. However, the default shells on many systems do
not support this feature resulting in some generated files not being removed
by clean.
---
tools/power/cpupower/Makefile|3 ++-
On Tue, Aug 7, 2012 at 4:48 AM, David Miller wrote:
>
> Networking patches not sent to netdev will not be properly queued up
> and tracked, and therefore will not be applied.
Sorry, i've resend one.
--
Regards,
--Bob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
On Mon, 6 Aug 2012, Hillf Danton wrote:
> Both find_vma and find_vma_prev have code for walking rb tree, and we can
> walk less.
>
> To cut the walk in find_vma_prev off, find_vma is changed to take care of
> vm_prev while walking rb tree, and we end up wrapping find_vma_prev with
> find_vma.
On Mon, Aug 06, 2012 at 03:39:50PM -0500, Matt Sealey wrote:
> * make sure there's no weird FIQ stuff floating around that has so far
> relied on SND_SOC_IMX_PCM_FIQ doing select FIQ before I make it not
Acked on changing SND_IMX_SOC to SND_SOC_IMX_PCM_FIQ in
arch/arm/plat-mxc/Makefile.
>
From: Sonic Zhang
Bit IREN is replaced by UMOD_IRDA and UMOD_MASK since blackfin 60x added, but
this driver didn't update which will cause bfin_sir build error:
drivers/net/irda/bfin_sir.c:161:9: error: 'IREN' undeclared (first use in this
function)
drivers/net/irda/bfin_sir.c:435:18: error:
On Wed, Aug 1, 2012 at 8:40 PM, Axel Lin wrote:
> We need to do left shift (cfg->num + LP8788_ISINK_SCALE_OFFSET) bits for
> updating scale configuration.
>
> Signed-off-by: Axel Lin
> ---
> Hi Milo,
> Current code of updating scale configuration bits looks wrong to me
> because the mask does
Hello,
I am trying to understand what I have to do for device tree.
In order to create dts file for ODROID-X hardware, it seems I may need dts file
of EXYNOS4412 SoC.
But maybe exynos4412.dtsi is not merged yet or not exist, like exynos4210.dtsi
or exynos5250.dtsi.
Obviously it seems not easy
Add assembler versions of AES and SHA1 for ARM platforms. This has provided
up to a 50% improvement in IPsec/TCP throughout for tunnels using AES128/SHA1.
Platform CPU SPeedEndian Before (bps) After (bps) Improvement
IXP425 533 MHz big 1121704215566294
On Sun, Aug 05, 2012 at 12:02:43AM +0200, Rafael J. Wysocki wrote:
> On Wednesday, August 01, 2012, Paul Mundt wrote:
> > Turns out we can just collapse the probe/init stuff anyways, so this
> > ought to fix it. I've verified that it fixes Morimoto-san's issue, my
> > expectation is that the
On 08/07/2012 03:48 AM, Li Wei wrote:
> On 08/07/2012 08:45 AM, Sasha Levin wrote:
>> +/**
>> + * hash_for_each - iterate over a hashtable
>> + * @name: hashtable to iterate
>> + * @bits: bit count of hashing function of the hashtable
>> + * @bkt: integer to use as bucket loop cursor
>> + * @node:
On 08/07/2012 08:45 AM, Sasha Levin wrote:
> This hashtable implementation is using hlist buckets to provide a simple
> hashtable to prevent it from getting reimplemented all over the kernel.
>
> Signed-off-by: Sasha Levin
> ---
> include/linux/hashtable.h | 82
>
On Tue, Aug 7, 2012 at 6:00 AM, Mark Brown
wrote:
> On Mon, Aug 06, 2012 at 10:31:24PM +0100, Russell King wrote:
>
>> Anyway, given that this thread is broken, there's no way for me to find
>> out what the _original_ issue is that you're talking about. So I'm going
>> to guess that it's come up
Le 07/08/2012 00:09, Dmitry Torokhov a écrit :
> On Monday, August 06, 2012 02:44:23 PM Greg KH wrote:
>> On Mon, Aug 06, 2012 at 11:21:42PM +0200, Yann Cantin wrote:
>>> Hi,
>>>
>>> New USB input driver for eBeam devices.
>>>
>>> Currently, only the Luidia eBeam classic projection model is
On Tue, Aug 07, 2012 at 03:21:45AM +0200, Yann Cantin wrote:
> Le 07/08/2012 00:07, Dmitry Torokhov a écrit :
> > On Monday, August 06, 2012 02:43:40 PM Greg KH wrote:
> >> On Mon, Aug 06, 2012 at 11:21:43PM +0200, Yann Cantin wrote:
> >>> Signed-off-by: Yann Cantin
> >>> ---
> >>>
> >>>
On Tue, Aug 07, 2012 at 02:56:40AM +0200, Yann Cantin wrote:
> Hi,
>
> Le 06/08/2012 23:43, Greg KH a écrit :
> > On Mon, Aug 06, 2012 at 11:21:44PM +0200, Yann Cantin wrote:
> >>
> >> Signed-off-by: Yann Cantin
> >> ---
> >> drivers/input/misc/ebeam.c | 764
> >>
On Mon, Aug 06, 2012 at 06:26:03PM -0700, Dan Magenheimer wrote:
> > From: Minchan Kim [mailto:minc...@kernel.org]
> > Subject: Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM
> >
> > On Mon, Aug 06, 2012 at 08:46:18AM -0700, Dan Magenheimer wrote:
> > > > From: Minchan Kim
On Mon, 6 Aug 2012 18:10:15 +0800
wrote:
> Changes in v6:
> - swap the order of original patch 3/6 and 4/6;
> - merge Ira's patch to reduce the size of original patch;
> - merge Ira's patch of carma in 8/8;
> - update documents and descriptions according to Ira's advice;
On 08/04/2012 01:49 AM, Pekka Enberg wrote:
> This patch adds a comment on top of the schedule() function to explain
> to scheduler newbies how the main scheduler function is entered.
>
> Cc: Randy Dunlap
> Explained-by: Ingo Molnar
> Explained-by: Peter Zijlstra
> Signed-off-by: Pekka Enberg
> From: Minchan Kim [mailto:minc...@kernel.org]
> Subject: Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM
>
> On Mon, Aug 06, 2012 at 08:46:18AM -0700, Dan Magenheimer wrote:
> > > From: Minchan Kim [mailto:minc...@kernel.org]
> > > To: John Stultz
> > > Subject: Re: [PATCH 4/5]
Le 07/08/2012 00:07, Dmitry Torokhov a écrit :
> On Monday, August 06, 2012 02:43:40 PM Greg KH wrote:
>> On Mon, Aug 06, 2012 at 11:21:43PM +0200, Yann Cantin wrote:
>>> Signed-off-by: Yann Cantin
>>> ---
>>>
>>> drivers/hid/hid-core.c |3 +++
>>> drivers/hid/hid-ids.h |3 +++
>>> 2
On Tue, 2012-08-07 at 02:45 +0200, Sasha Levin wrote:
> From: Sasha Levin
>
> Switch workqueues to use the new hashtable implementation. This reduces the
> amount of
> generic unrelated code in the workqueues.
Just style trivia:
> diff --git a/kernel/workqueue.c b/kernel/workqueue.c
[]
> @@
On Tue, 2012-08-07 at 02:45 +0200, Sasha Levin wrote:
> This hashtable implementation is using hlist buckets to provide a simple
> hashtable to prevent it from getting reimplemented all over the kernel.
> diff --git a/include/linux/hashtable.h b/include/linux/hashtable.h
Just trivial style notes
06.08.2012 23:59, Alan Stern пишет:
On Mon, 6 Aug 2012, Pavel Vasilyev wrote:
http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=41157;list=linux
Interestingly, many (all?) of the changes in that patch are wrong
because they don't try to match the terminating '\0'.
Hi,
Le 06/08/2012 23:43, Greg KH a écrit :
> On Mon, Aug 06, 2012 at 11:21:44PM +0200, Yann Cantin wrote:
>>
>> Signed-off-by: Yann Cantin
>> ---
>> drivers/input/misc/ebeam.c | 764
>>
>> 1 file changed, 764 insertions(+)
>> create mode 100644
On Mon, Aug 06, 2012 at 08:46:18AM -0700, Dan Magenheimer wrote:
> > From: Minchan Kim [mailto:minc...@kernel.org]
> > To: John Stultz
> > Subject: Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM
>
> Hi Minchan --
>
> Thanks for cc'ing me on this!
>
> > Targets for the LRU list
On 08/06/2012 05:07 PM, Christopher Sacchi wrote:
> This patch adds a new header, in the to-do list. There are no style issues.
> Here's the patch:
> --
> Signed-off-by: Christopher P. Sacchi
> --- befs.h 2012-07-21 20:58:29.0 +
> +++ befs.h 2012-08-06 19:52:05.0
Sorry, seems its my bad.
I took couple of commits from linaro kernel git for s3c-fb driver testing on my
hardware and encountered the compile problem. Now I got your meaning, DT is not
merged yet.
Thanks,
Dongjin.
- 원본 메시지 -
보낸 사람:Jingoo Han
받는 사람:'Dongjin Kim'
참조:Dongjin Kim ,
Switch workqueues to use the new hashtable implementation. This reduces the
amount of
generic unrelated code in the workqueues.
Signed-off-by: Sasha Levin
---
kernel/workqueue.c | 89 ++-
1 files changed, 18 insertions(+), 71 deletions(-)
diff
Switch 9p error table to use the new hashtable implementation. This reduces the
amount of
generic unrelated code in 9p.
Signed-off-by: Sasha Levin
---
net/9p/error.c | 21 ++---
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/net/9p/error.c b/net/9p/error.c
Switch ksm to use the new hashtable implementation. This reduces the amount of
generic unrelated code in the ksm module.
Signed-off-by: Sasha Levin
---
mm/ksm.c | 31 +--
1 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/mm/ksm.c b/mm/ksm.c
index
Switch tracepoints to use the new hashtable implementation. This reduces the
amount of
generic unrelated code in the tracepoints.
Signed-off-by: Sasha Levin
---
kernel/tracepoint.c | 26 ++
1 files changed, 10 insertions(+), 16 deletions(-)
diff --git
Switch hugemem to use the new hashtable implementation. This reduces the amount
of
generic unrelated code in the hugemem.
This also removes the dymanic allocation of the hash table. The size of the
table is
constant so there's no point in paying the price of an extra dereference when
accessing
From: Sasha Levin
Switch workqueues to use the new hashtable implementation. This reduces the
amount of
generic unrelated code in the workqueues.
Signed-off-by: Sasha Levin
---
kernel/workqueue.c | 91 +++-
1 files changed, 19 insertions(+),
Switch user_ns to use the new hashtable implementation. This reduces the amount
of
generic unrelated code in user_ns.
Signed-off-by: Sasha Levin
---
kernel/user.c | 35 +++
1 files changed, 15 insertions(+), 20 deletions(-)
diff --git a/kernel/user.c
This hashtable implementation is using hlist buckets to provide a simple
hashtable to prevent it from getting reimplemented all over the kernel.
Signed-off-by: Sasha Levin
---
include/linux/hashtable.h | 82 +
1 files changed, 82 insertions(+), 0
There are quite a few places in the kernel which implement a hashtable
in a very similar way. Instead of having implementations of a hashtable
all over the kernel, we can re-use the code.
This patch series introduces a very simple hashtable implementation, and
modifies three (random) modules to
Hi Dan,
On Mon, Aug 06, 2012 at 09:21:22AM -0700, Dan Magenheimer wrote:
> > From: Pekka Enberg [mailto:penb...@kernel.org]
> > Subject: Re: [PATCH 0/4] promote zcache from staging
> >
> > On Mon, Aug 6, 2012 at 6:24 PM, Dan Magenheimer
> > wrote:
> > > IMHO, the fastest way to get the best
This replaces the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS
are disabled so we get type checking during those builds.
Suggested-by: Andrew Morton
Signed-off-by: Kees Cook
---
- rebased for recent changes merged to Linus's tree.
---
include/linux/audit.h | 179
Even if a device has _SUN method, there is no way to know the slot unique-ID.
Thus the patch creates "sun" file in sysfs so that we can recognize it.
Reviewed-by: Toshi Kani
Signed-off-by: Yasuaki Ishimatsu
---
drivers/acpi/scan.c | 24
include/acpi/acpi_bus.h |
On 08/07/2012 01:00 AM, Borislav Petkov wrote:
> From: Borislav Petkov
>
> Push the max CPUID leaf check into the ->detect_tlb function and remove
> general test case from the generic path.
>
> Signed-off-by: Borislav Petkov
Acked-by: Alex Shi
> ---
> arch/x86/kernel/cpu/common.c | 3 +--
On Monday, August 06, 2012 10:58 PM Dongjin Kim wrote:
>
> Change-Id: I5d7ff6f0070a10225d5b064b362d3d8f214787fd
> Signed-off-by: Dongjin Kim
> ---
> drivers/video/s3c-fb.c |6 ++
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/video/s3c-fb.c
Dear RT Folks,
I'm pleased to announce the 3.2.26-rt39 stable release.
This release is just an update to the new stable 3.2.26 version
and no RT specific changes have been made.
You can get this release via the git tree at:
This patch adds a new header, in the to-do list. There are no style issues.
Here's the patch:
--
Signed-off-by: Christopher P. Sacchi
--- befs.h 2012-07-21 20:58:29.0 +
+++ befs.h 2012-08-06 19:52:05.0 +
@@ -9,6 +9,7 @@
#define _LINUX_BEFS_H
#include
On Mon, Aug 6, 2012 at 7:22 AM, Peter Zijlstra wrote:
> On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote:
>> +static inline void
>
> I would make that __always_inline, just to make sure GCC doesn't go
> creative on us.
How strongly do you care ? I'm not sure it makes sense to change it
Hi Toshi,
2012/07/31 0:18, Toshi Kani wrote:
On Mon, 2012-07-30 at 09:58 +0900, Yasuaki Ishimatsu wrote:
Even if a device has _SUN method, there is no way to know the slot unique-ID.
Thus the patch creates "sun" file in sysfs so that we can recognize it.
Signed-off-by: Yasuaki Ishimatsu
Hi
Hi Jiang,
Sorry for late reply. I could not work by private reason.
2012/07/31 0:33, Jiang Liu wrote:
> On 07/30/2012 08:58 AM, Yasuaki Ishimatsu wrote:
>> Even if a device has _SUN method, there is no way to know the slot unique-ID.
>> Thus the patch creates "sun" file in sysfs so that we can
[resend: MUA tricked me into sending HTML email...]
On Mon, Aug 6, 2012 at 4:55 PM, Eric W. Biederman wrote:
>
> Kees Cook writes:
>
> > On Thu, Aug 2, 2012 at 9:26 PM, James Morris wrote:
> >> On Wed, 25 Jul 2012, Kees Cook wrote:
> >>
> >>> This adds symlink and hardlink restrictions to the
Kees Cook writes:
> On Thu, Aug 2, 2012 at 9:26 PM, James Morris wrote:
>> On Wed, 25 Jul 2012, Kees Cook wrote:
>>
>>> This adds symlink and hardlink restrictions to the Linux VFS.
>>
>> Is Al happy with this now?
>
> Looks like it; thanks for checking. It's in mainline now:
>
Hi.
AFAIK xtensa linux port is currently in bad shape: it doesn't work in the
mainline, it fails to build in the linux-next. The latest working kernels for
xtensa are 2.6.29...31 trees hosted at the git.linux-xtensa.org.
I have a goal to make xtensa arch in the linux mainline usable.
Currently I
Em Mon, Aug 06, 2012 at 07:00:00PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Mon, Aug 06, 2012 at 11:43:04PM +0400, Andrey Wagin escreveu:
> > 2012/8/6 Arnaldo Carvalho de Melo :
> > >> +struct perf_session *session;
> > perf_event__sched_stat (perf_inject.sample) uses "session" for getting
On Mon, 06 Aug 2012, manoj.i...@canonical.com wrote:
> In the latest V-series bios DMI_PRODUCT_VERSION does not contain
> the string Lenovo or Thinkpad, but is set to the model number, this
> causes the thinkpad_acpi module to fail to load. Recognize laptop
> as Lenovo using DMI_BIOS_VENDOR
On Mon, 06 Aug 2012 14:25:33 +0100
"Jan Beulich" wrote:
> >>> On 06.08.12 at 15:16, JérômeCarretero wrote:
> > If it helps:
> >
> > - I can bisect the patch further down (might be a bit silly because
> > I don't quite understand it),
> > - you can suggest some modifications and at least I
From: anish kumar
External connector devices that decides connection information based on
ADC values may use adc-jack device driver. The user simply needs to
provide a table of adc range and connection states. Then, extcon
framework will automatically notify others.
Changes in V1:
added
On Mon, Aug 6, 2012 at 4:41 PM, Mark Brown
wrote:
> On Mon, Aug 06, 2012 at 03:39:50PM -0500, Matt Sealey wrote:
>> On Mon, Aug 6, 2012 at 3:16 PM, Robert Schwebel
>
>> > That's not true; we still run MX25, MX27, MX35, MX28 on mainline in
>> > active projects.
>
>> I think Shawn Guo (FSL/Linaro)
Am Montag, 6. August 2012, 13:56:33 schrieb Mark Brown:
> On Mon, Aug 06, 2012 at 01:27:56AM +0200, Heiko Stübner wrote:
> > 500). Therefore if 500mA are the upper limit but the regulator also
> > supports lower values, these lower values always get selected (100mA in
> > my case). In contrast
Hi Kent
When you change the semantics of an exported function, rename that
function. There may be external modules that use __bio_clone and this
change could silently introduce bugs in them.
Otherwise, the patchset looks fine.
Mikulas
On Mon, 6 Aug 2012, Kent Overstreet wrote:
> bcache
From: Manoj Iyer
In the latest V-series bios DMI_PRODUCT_VERSION does not contain
the string Lenovo or Thinkpad, but is set to the model number, this
causes the thinkpad_acpi module to fail to load. Recognize laptop
as Lenovo using DMI_BIOS_VENDOR instead, which is set to Lenovo.
Test on V490u
Add a new helper function __pm_genpd_name_add_device() allowing
a device to be added to a (registered) generic PM domain identified
by name. Add a wrapper around it, pm_genpd_name_add_device(),
passing NULL as the last argument and reorganize pm_domains.h for the
new functions to be defined
Hi all,
The majority of patches in this series were sent previously in this RFC:
http://marc.info/?l=linux-pm=134247432010192=4
but they do not have anything to do with DTs and clean up the code quite
a bit, so I thought they are worth resending in a different context.
Patch [8/12] is new and
Make the power management code under arch/arm/mach-shmobile/ use
names of power domains instead of pointers to domain objects for
adding devices to the domains. This will allow us to put the
domain objects into tables and register them all in one shot
going forward.
Signed-off-by: Rafael J.
Make the power management code under arch/arm/mach-shmobile/
use pm_genpd_add_subdomain_names() for adding subdomains to power
domains, which makes it possible to drop
rmobile_pm_add_subdomain() and will allow us to carry out those
operations for domain objects stored in tables in a
Instead of giving a name to every r8a7779's PM domain object, put
them all into a table and initialize them all together in a loop.
Signed-off-by: Rafael J. Wysocki
---
arch/arm/mach-shmobile/include/mach/r8a7779.h |9 ---
arch/arm/mach-shmobile/pm-r8a7779.c | 65
Instead of giving a name to every sh7372's PM domain object, put them
all into a table and use rmobile_init_domains(), introduced by a
previous patch, for initializing them all altogether. Also, use
pm_genpd_add_subdomain_names() for adding subdomains to the PM
domains and
Instead of giving a name to every r8a7740's PM domain object, put
them all into a table and use rmobile_init_domains(), introduced by a
previous patch, for initializing them all altogether. Also, use
pm_genpd_add_subdomain_names() for adding A3SP as a subdomain of A4S.
Signed-off-by: Rafael J.
Since rmobile_init_pm_domain() is not called anywhere outside of
arch/arm/mach-shmobile/pm-rmobile.c any more, it can be made static
and its header may be removed from pm-rmobile.h. Modify the code
accordingly.
Signed-off-by: Rafael J. Wysocki
---
The sh7372_enter_suspend() routine checks the status field of the
generic PM domain object corresponding to the A4S domain in order to
check if it can turn that domain off when entering system sleep.
However, it shouldn't rely on the specific values of the generic
data structures this way, so
It sometimes is necessary to turn on a given PM domain when only
the name of it is known and the domain pointer is not readily
available. For this reason, add a new helper function,
pm_genpd_name_poweron(), allowing the caller to turn on a PM domain
using its name for identification. To avoid
Add a new routine, rmobile_init_domains(), allowing the caller
to initialize all generic PM objects stored in a table in one
operation.
Signed-off-by: Rafael J. Wysocki
---
arch/arm/mach-shmobile/include/mach/pm-rmobile.h |2 ++
arch/arm/mach-shmobile/pm-rmobile.c |8
If the r8a7779's PM domains are given names, this SoC and its boards
will be able to use rmobile_add_device_to_domain() for adding devices
to those domains and r8a7779_add_device_to_domain(), which is not
used anywhere at the moment anyway, may be dopped.
Accordingly, give names to the r8a7779's
Add a new helper function, pm_genpd_add_subdomain_names(), allowing
the caller to add a subdomain to a generic PM domain using names for
domain identification (both domains have to be initialized before).
This function is useful for adding subdomains to PM domains whose
representations are
Silly question: when did sizeof("string") get changed to be anything
other than the size of the pointer ("string" is, after all, an array
of characters)?
> -Original Message-
> From: linux-kernel-ow...@vger.kernel.org
> [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Alan
Vlad Yasevich writes:
> On 08/06/2012 04:47 PM, David Miller wrote:
>> From: ebied...@xmission.com (Eric W. Biederman)
>> Date: Mon, 06 Aug 2012 12:50:46 -0700
>>
>>> Vlad Yasevich writes:
>>>
>>>
Hi Eric
Associations are looked up by ports, but then verifyed by addresses.
On Mon, 06 Aug 2012, manoj.i...@canonical.com wrote:
> From: Manoj Iyer
>
> In the latest V-series bios DMI_PRODUCT_VERSION does not contain
> the string Lenovo or Thinkpad, but is set to the model number, this
> causes the thinkpad_acpi module to fail to load. Recognize laptop
> as Lenovo using
On Mon 06 Aug 2012 23:49:33 EST, Seth Forshee wrote:
On Sat, Aug 04, 2012 at 03:44:14PM +1000, Francois Rigaut wrote:
Seth,
[CC'd people, sorry we exchanged a few emails with Seth outside of
the lists, I passed him the acpi tables and here are gmux dumps]
Allright. thanks for gmux-dump.
On 08/05/2012 05:27 PM, Christopher Sacchi wrote:
> Here is a new patch that should be tested that fixes a function issue
> in the description for the Mac80211 driver in tar.bz2 format.
> Let me know if it works.
No, it doesn't work. There is no patch there.
Don't send patches in tar files.
From: Manoj Iyer
In the latest V-series bios DMI_PRODUCT_VERSION does not contain
the string Lenovo or Thinkpad, but is set to the model number, this
causes the thinkpad_acpi module to fail to load. Recognize laptop
as Lenovo using DMI_BIOS_VENDOR instead, which is set to Lenovo.
Signed-off-by:
With the old code, when you allocate a bio from a bio pool you have to
implement your own destructor that knows how to find the bio pool the
bio was originally allocated from.
This adds a new field to struct bio (bi_pool) and changes
bio_alloc_bioset() to use it. This makes various bio
Previously, dm_rq_clone_bio_info needed to be freed by the bio's
destructor to avoid a memory leak in the blk_rq_prep_clone() error path.
This gets rid of a memory allocation and means we can kill
dm_rq_bio_destructor.
Signed-off-by: Kent Overstreet
---
drivers/md/dm.c | 31
Now that we've got generic code for freeing bios allocated from bio
pools, this isn't needed anymore.
This also changes the semantics of bio_free() a bit - it now also frees
bios allocated by bio_kmalloc(). It's also no longer exported, as
without bi_destructor there should be no need for it to
This is for the new bio splitting code. When we split a bio, if the
split occured on a bvec boundry we reuse the bvec for the new bio. But
that means bio_free() can't free it, hence the explicit flag.
Signed-off-by: Kent Overstreet
---
fs/bio.c |3 ++-
include/linux/bio.h
This is prep work for introducing a more general bio_split()
Signed-off-by: Kent Overstreet
---
drivers/block/drbd/drbd_req.c |2 +-
drivers/block/pktcdvd.c |2 +-
drivers/block/rbd.c |3 ++-
drivers/md/linear.c |2 +-
drivers/md/raid0.c|
101 - 200 of 1480 matches
Mail list logo