[tip:x86/mm] x86, cpu: Fixup tlb_flushall_shift formatting

2012-08-06 Thread tip-bot for Borislav Petkov
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

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Jérôme Carretero
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 ---

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-06 Thread Peiyong Feng
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

Re: [patch] sched,cgroup_sched: fix up task_groups list

2012-08-06 Thread Mike Galbraith
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

[PATCH] PM: save 8bytes in 'struct dev_pm_info'

2012-08-06 Thread Ming Lei
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

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-08-06 Thread Bryan Wu
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

회신: 회신: 회신: [PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Dongjin Kim
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. 보낸 사람:

Re: [RFC v3 1/7] hashtable: introduce a small and naive hashtable

2012-08-06 Thread Josh Triplett
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 > +

thermal patches in linux-next

2012-08-06 Thread Zhang Rui
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

RE: [PATCH v6 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread Liu Qiang-B32616
> -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;

Re: [PATCH 1/1] leds: Add LED driver for lm355x chips

2012-08-06 Thread Bryan Wu
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 :

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Jérôme Carretero
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()

Re: 회신: 회신: [PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Olof Johansson
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,

[PATCH 5/6] cpupower tools: Fix malloc of cpu_info structure

2012-08-06 Thread Palmer Cox
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

[PATCH 6/6] cpupower tools: Fix warning and a bug with the cpu package count

2012-08-06 Thread Palmer Cox
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

[PATCH 4/6] cpupower tools: Fix issues with sysfs_topology_read_file

2012-08-06 Thread Palmer Cox
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

[PATCH 3/6] cpupower tools: Fix minor warnings

2012-08-06 Thread Palmer Cox
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 ---

[PATCH 2/6] cpupower tools: Update .gitignore for files created in the debug directories

2012-08-06 Thread Palmer Cox
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

[PATCH 0/6] cpupower tools: Fix minor bugs and warnings

2012-08-06 Thread Palmer Cox
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

[PATCH 1/6] cpupower tools: Remove brace expansion from clean target

2012-08-06 Thread Palmer Cox
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 ++-

Re: [PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-08-06 Thread Bob Liu
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

Re: [RFC patch] mmap: permute find_vma with find_vma_prev

2012-08-06 Thread Hugh Dickins
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.

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-06 Thread Shawn Guo
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. >

[RESEND][PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-08-06 Thread Bob Liu
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:

Re: [PATCH RFT] leds: lp8788: Fix updating scale configuration bits

2012-08-06 Thread Bryan Wu
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

회신: 회신: [PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Dongjin Kim
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

[PATCH 1/1] arm/crypto: Add optimized AES and SHA1 routines

2012-08-06 Thread David McCullough
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

Re: [Regression, post-3.5] System suspend broken on the Mackerel board

2012-08-06 Thread Paul Mundt
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

Re: [RFC v3 1/7] hashtable: introduce a small and naive hashtable

2012-08-06 Thread Sasha Levin
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:

Re: [RFC v3 1/7] hashtable: introduce a small and naive hashtable

2012-08-06 Thread Li Wei
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 >

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-06 Thread Haojian Zhuang
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

Re: [RFC ebeam PATCH v3 0/2]

2012-08-06 Thread Yann Cantin
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

Re: [RFC ebeam PATCH v3 1/2] hid: Blacklist new eBeam classic device

2012-08-06 Thread Dmitry Torokhov
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 > >>> --- > >>> > >>>

Re: [RFC ebeam PATCH v3 2/2] input: misc: New USB eBeam input driver.

2012-08-06 Thread Dmitry Torokhov
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 > >>

Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM

2012-08-06 Thread Minchan Kim
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

Re: [PATCH v6 0/8] Raid: enable talitos xor offload for improving performance

2012-08-06 Thread Kim Phillips
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;

Re: [PATCH v2] sched: Document schedule() entry points

2012-08-06 Thread Randy Dunlap
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

RE: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM

2012-08-06 Thread Dan Magenheimer
> 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]

Re: [RFC ebeam PATCH v3 1/2] hid: Blacklist new eBeam classic device

2012-08-06 Thread Yann Cantin
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

Re: [RFC v3 4/7] workqueue: use new hashtable implementation

2012-08-06 Thread Joe Perches
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 [] > @@

Re: [RFC v3 1/7] hashtable: introduce a small and naive hashtable

2012-08-06 Thread Joe Perches
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

Re: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Pavel Vasilyev
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'.

Re: [RFC ebeam PATCH v3 2/2] input: misc: New USB eBeam input driver.

2012-08-06 Thread Yann Cantin
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

Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM

2012-08-06 Thread Minchan Kim
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

Re: [PATCH]: BeFs parser.h support in linux kernel v3.5

2012-08-06 Thread Randy Dunlap
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

RE: [PATCH] video: s3c-fb: Fix compile error/warning if CONFIG_OF is not selected

2012-08-06 Thread Dongjin Kim
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 ,

[RFC v3 4/7] workqueue: use new hashtable implementation

2012-08-06 Thread 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 | 89 ++- 1 files changed, 18 insertions(+), 71 deletions(-) diff

[RFC v3 7/7] net,9p: use new hashtable implementation

2012-08-06 Thread Sasha Levin
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

[RFC v3 3/7] mm,ksm: use new hashtable implementation

2012-08-06 Thread Sasha Levin
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

[RFC v3 6/7] tracepoint: use new hashtable implementation

2012-08-06 Thread Sasha Levin
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

[RFC v3 5/7] mm/huge_memory: use new hashtable implementation

2012-08-06 Thread Sasha Levin
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

[RFC v3 4/7] workqueue: use new hashtable implementation

2012-08-06 Thread Sasha Levin
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(+),

[RFC v3 2/7] user_ns: use new hashtable implementation

2012-08-06 Thread Sasha Levin
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

[RFC v3 1/7] hashtable: introduce a small and naive hashtable

2012-08-06 Thread Sasha Levin
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

[RFC v3 0/7] generic hashtable implementation

2012-08-06 Thread Sasha Levin
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

Re: [PATCH 0/4] promote zcache from staging

2012-08-06 Thread Minchan Kim
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

[RE-RESEND][PATCH] audit: replace defines with C stubs

2012-08-06 Thread Kees Cook
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

[PATCH v4] create sun sysfs file

2012-08-06 Thread Yasuaki Ishimatsu
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 |

Re: [PATCH v1 2/4] x86, CPU: Push TLB detection CPUID check down

2012-08-06 Thread Alex Shi
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 +--

Re: [PATCH] video: s3c-fb: Fix compile error/warning if CONFIG_OF is not selected

2012-08-06 Thread Jingoo Han
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

[ANNOUNCE] 3.2.26-rt39

2012-08-06 Thread Steven Rostedt
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:

[PATCH]: BeFs parser.h support in linux kernel v3.5

2012-08-06 Thread Christopher Sacchi
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

Re: [PATCH v2 3/9] rbtree: add __rb_change_child() helper function

2012-08-06 Thread Michel Lespinasse
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

Re: [PATCH v3] create sun sysfs file

2012-08-06 Thread Yasuaki Ishimatsu
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

Re: [PATCH v3] create sun sysfs file

2012-08-06 Thread Yasuaki Ishimatsu
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

Re: [kernel-hardening] [PATCH 1/2] fs: add link restrictions

2012-08-06 Thread Kees Cook
[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

Re: [kernel-hardening] [PATCH 1/2] fs: add link restrictions

2012-08-06 Thread Eric W. Biederman
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: >

xtensa port maintenance

2012-08-06 Thread Max Filippov
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

Re: [PATCH 2/3] perf: teach perf inject to merge sched_stat_* and sched_switch events

2012-08-06 Thread Arnaldo Carvalho de Melo
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

Re: [ibm-acpi-devel] [PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread Henrique de Moraes Holschuh
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

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Jérôme Carretero
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

[PATCH] [PATCH V2]Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-06 Thread anish kumar
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

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-06 Thread Matt Sealey
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)

Re: regulator: Policy for setting current limits

2012-08-06 Thread Heiko Stübner
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

Re: [dm-devel] [PATCH v5 12/12] block: Only clone bio vecs that are in use

2012-08-06 Thread Mikulas Patocka
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

[PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread manoj . iyer
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

[PATCH 1/12] PM / Domains: Make it possible to use domain names when adding devices

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 0/12] PM: Make ARM/shmobile PM domains initialization more straightforward

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 2/12] ARM: shmobile: Use names of power domains for adding devices to them

2012-08-06 Thread Rafael J. Wysocki
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.

[PATCH 5/12] ARM: shmobile: Use domain names when adding subdomains to power domains

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 11/12] ARM: shmobile: Move r8a7779's PM domain objects to a table

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 9/12] ARM: shmobile: Move sh7372's PM domain objects to a table

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 10/12] ARM: shmobile: Move r8a7740's PM domain objects to a table

2012-08-06 Thread Rafael J. Wysocki
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.

[PATCH 12/12] ARM: shmobile: Make rmobile_init_pm_domain() static

2012-08-06 Thread Rafael J. Wysocki
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 ---

[PATCH 8/12] PM / shmobile: Do not access sh7372 A4S domain internals directly

2012-08-06 Thread 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

[PATCH 7/12] PM / Domains: Add power-on function using names to identify domains

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 6/12] ARM: shmobile: Add routine for automatic PM domains initialization

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 3/12] ARM: shmobile: Drop r8a7779_add_device_to_domain()

2012-08-06 Thread Rafael J. Wysocki
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

[PATCH 4/12] PM / Domains: Make it possible to use names when adding subdomains

2012-08-06 Thread Rafael J. Wysocki
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

RE: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Daniel Taylor
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

Re: [PATCH 00/13] SCTP: Enable netns

2012-08-06 Thread Eric W. Biederman
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.

Re: [ibm-acpi-devel] [PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread Henrique de Moraes Holschuh
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

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-06 Thread Francois Rigaut
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.

Re: PROBLEM: New Kernel Patch

2012-08-06 Thread Randy Dunlap
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.

[PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread manoj . iyer
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:

[PATCH v5 01/12] block: Generalized bio pool freeing

2012-08-06 Thread Kent Overstreet
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

[PATCH v5 02/12] dm: Use bioset's front_pad for dm_rq_clone_bio_info

2012-08-06 Thread Kent Overstreet
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

[PATCH v5 05/12] block: Kill bi_destructor

2012-08-06 Thread Kent Overstreet
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

[PATCH v5 06/12] block: Add an explicit bio flag for bios that own their bvec

2012-08-06 Thread Kent Overstreet
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

[PATCH v5 07/12] block: Rename bio_split() -> bio_pair_split()

2012-08-06 Thread Kent Overstreet
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|

<    1   2   3   4   5   6   7   8   9   10   >