Re: [PATCH -stable] amd_iommu: attach device fails on the last pci device

2012-10-12 Thread Shuah Khan
On Fri, 2012-10-12 at 11:38 -0700, Jonathan Nieder wrote: > Shuah Khan wrote: > > > This bug is in linux-2.6.32 and an equivalent fix in linux-2.6.33 and has > > been > > carried forward to later kernels and is in the upstream kernel. This > > equivalent >

[PATCH] Documentation DMA-API-HOWTO.txt Add dma mapping error check usage examples

2012-10-14 Thread Shuah Khan
mistakes in error paths especially when dma mapping fails when more than one dma mapping call is made. Signed-off-by: Shuah Khan --- Documentation/DMA-API-HOWTO.txt | 128 ++- 1 file changed, 127 insertions(+), 1 deletion(-) diff --git a/Documentation/DMA-API

Re: WARNING: at lib/dma-debug.c:948 check_unmap()

2012-10-15 Thread Shuah Khan
On Mon, 2012-10-15 at 01:02 +0800, Fengguang Wu wrote: > Hi Shuah, > > FYI, your debug commit > > commit 224d4b5563b005836628b1c02ebe374684df118f > Author: Shuah Khan > Date: Fri Oct 12 15:23:05 2012 +1100 > > dma-debug: new interfaces to debug dma mapping err

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Shuah Khan
Jacob, On Tue, 2011-10-11 at 17:09 -0500, Jacob Shin wrote: > The entire HT hole and also the unused address range before that hole > need to be excluded from direct mapping. Otherwise speculative > accesses to that reserved region can happen which cause machine > checks. Has the HT support even

Re: [PATCH v3] Prevent devices with RMRRs from being placed into SI Domain during startup

2012-10-16 Thread Shuah Khan
On Tue, 2012-10-16 at 16:50 +, Tom Mingarelli wrote: > This patch is to prevent devices that have RMRRs associated with them > from getting placed into the SI Domain during init. We don't put USB devices > into this category, however. This fixes the issue where the RMRR info > for devices bein

Re: [PATCH v3] Prevent devices with RMRRs from being placed into SI Domain during startup

2012-10-16 Thread Shuah Khan
On Tue, 2012-10-16 at 16:50 +, Tom Mingarelli wrote: > This patch is to prevent devices that have RMRRs associated with them > from getting placed into the SI Domain during init. We don't put USB devices > into this category, however. This fixes the issue where the RMRR info > for devices bein

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Shuah Khan
On Tue, 2012-10-16 at 16:55 +, Shin, Jacob wrote: > (Sorry for the top post, on mobile phone..) > > You can follow the latest thread here: > https://lkml.org/lkml/2012/9/30/23 > > Yinghai's for-x86-mm branch should boot 1TB AMD with hoisting > enabled. > > Thanks! Jacob, Thanks. This in

[PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API

2012-11-23 Thread Shuah Khan
An earlier patch added dma mapping error debug feature to dma_debug infrastructure. References: https://lkml.org/lkml/2012/10/8/296 https://lkml.org/lkml/2012/11/3/219 The following series of patches adds the call to debug_dma_mapping_error() to architecture specific dma_mapping_error() interface

[PATCH 1/9] ARM64: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: Catalin Marinas --- arch/arm64/include/asm/dma-mapping.h |1 + 1 file

[PATCH 2/9] c6x: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: Mark Salter --- arch/c6x/include/asm/dma-mapping.h |1 + 1 file changed, 1

[PATCH 3/9] ia64: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/ia64/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff

[PATCH 4/9] microblaze: dma-mapping: support debug_dma_mapping_error

2012-11-23 Thread Shuah Khan
Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan Acked-by: Michal Simek --- This patch is

[PATCH 5/9] mips: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/mips/include/asm/dma-mapping.h |2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 6/9] powerpc: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/powerpc/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff

[PATCH 7/9] sh: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/sh/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 8/9] sparc: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: David S. Miller --- arch/sparc/include/asm/dma-mapping.h |1 + 1 file

[PATCH 9/9] tile: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/tile/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff

Re: [ 00/47] 3.0.58-stable review

2013-01-10 Thread Shuah Khan
On Wed, Jan 9, 2013 at 1:34 PM, Greg Kroah-Hartman wrote: > Note, there are still a lot of patches submitted for inclusion in the > stable releases that I have not gotten to yet. I wanted to get this > release out now, instead of delaying for a week or so while I dig > through all of the pending

Re: [ 00/80] 3.4.25-stable review

2013-01-10 Thread Shuah Khan
On Wed, Jan 9, 2013 at 1:34 PM, Greg Kroah-Hartman wrote: > Note, there are still a lot of patches submitted for inclusion in the > stable releases that I have not gotten to yet. I wanted to get this > release out now, instead of delaying for a week or so while I dig > through all of the pending

Re: [ 000/123] 3.7.2-stable review

2013-01-10 Thread Shuah Khan
On Wed, Jan 9, 2013 at 1:33 PM, Greg Kroah-Hartman wrote: > Note, there are still a lot of patches submitted for inclusion in the > stable releases that I have not gotten to yet. I wanted to get this > release out now, instead of delaying for a week or so while I dig > through all of the pending

Re: [PATCH] iommu: moving initialization earlier

2013-01-10 Thread Shuah Khan
On Thu, Jan 10, 2013 at 10:09 AM, Joerg Roedel wrote: > On Mon, Jan 07, 2013 at 06:51:52PM +1100, Alexey Kardashevskiy wrote: >> The iommu_init() initializes IOMMU internal structures and data >> required for the IOMMU API as iommu_group_alloc(). >> It is registered as a subsys_initcall now. >> >>

Re: [PATCH] iommu: moving initialization earlier

2013-01-10 Thread Shuah Khan
On Thu, Jan 10, 2013 at 1:40 PM, Shuah Khan wrote: > On Thu, Jan 10, 2013 at 10:09 AM, Joerg Roedel wrote: >> On Mon, Jan 07, 2013 at 06:51:52PM +1100, Alexey Kardashevskiy wrote: >>> The iommu_init() initializes IOMMU internal structures and data >>> re

Re: [PATCH] iommu: moving initialization earlier

2013-01-11 Thread Shuah Khan
On Fri, Jan 11, 2013 at 7:50 AM, Joerg Roedel wrote: > On Thu, Jan 10, 2013 at 01:40:17PM -0700, Shuah Khan wrote: >> I am currently debugging IO_PAGE_FAULTS on 3.6.11 (happens on all >> pre-3.7 releases). I root-caused the reason 3.7 works is because in >> 3.7 amd iommu

[PATCH TRIVIAL] asus-wmi: Fix unused function build warning

2013-01-14 Thread Shuah Khan
Fix the following build warning CC [M] drivers/platform/x86/asus-wmi.o drivers/platform/x86/asus-wmi.c:1356:13: warning: ‘do_nothing’ defined but not used [-Wunused-function] Signed-off-by: Shuah Khan --- drivers/platform/x86/asus-wmi.c |5 - 1 file changed, 5 deletions(-) diff

Re: [ 00/27] 3.7.1-stable review

2012-12-15 Thread Shuah Khan
On Fri, Dec 14, 2012 at 4:01 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.7.1 release. > There are 27 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [ 00/37] 3.6.11-stable review

2012-12-15 Thread Shuah Khan
On Fri, Dec 14, 2012 at 4:00 PM, Greg Kroah-Hartman wrote: > Note: This is going to be the last 3.6.y kernel release, unless > something major comes up, everyone should be moving to the 3.7.y kernel > at this point in time. > > This is the start of the stable review cycle for the 3.6.11 release. >

Re: [ 00/22] 3.0.57-stable review

2012-12-15 Thread Shuah Khan
On Fri, Dec 14, 2012 at 3:25 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.57 release. > There are 22 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [ 00/28] 3.4.24-stable review

2012-12-15 Thread Shuah Khan
On Fri, Dec 14, 2012 at 3:26 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.24 release. > There are 28 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [ 00/27] 3.7.1-stable review

2012-12-15 Thread Shuah Khan
On Sat, Dec 15, 2012 at 7:22 AM, Shuah Khan wrote: > On Fri, Dec 14, 2012 at 4:01 PM, Greg Kroah-Hartman > wrote: >> This is the start of the stable review cycle for the 3.7.1 release. >> There are 27 patches in this series, all will be posted as a response >> to this

Re: [ 00/37] 3.6.11-stable review

2012-12-15 Thread Shuah Khan
On Sat, Dec 15, 2012 at 7:24 AM, Shuah Khan wrote: > On Fri, Dec 14, 2012 at 4:00 PM, Greg Kroah-Hartman > wrote: >> Note: This is going to be the last 3.6.y kernel release, unless >> something major comes up, everyone should be moving to the 3.7.y kernel >> at this poin

Re: [ 00/28] 3.4.24-stable review

2012-12-15 Thread Shuah Khan
On Sat, Dec 15, 2012 at 7:27 AM, Shuah Khan wrote: > On Fri, Dec 14, 2012 at 3:26 PM, Greg Kroah-Hartman > wrote: >> This is the start of the stable review cycle for the 3.4.24 release. >> There are 28 patches in this series, all will be posted as a response >> to this

Re: [ 00/22] 3.0.57-stable review

2012-12-15 Thread Shuah Khan
On Sat, Dec 15, 2012 at 7:25 AM, Shuah Khan wrote: > On Fri, Dec 14, 2012 at 3:25 PM, Greg Kroah-Hartman > wrote: >> This is the start of the stable review cycle for the 3.0.57 release. >> There are 22 patches in this series, all will be posted as a response >> to this

Re: [PATCH v2] dma-debug: New interfaces to debug dma mapping errors

2012-09-27 Thread Shuah Khan
Hi Joerg, On Thu, 2012-09-27 at 12:20 +0200, Joerg Roedel wrote: > Hi Shuah, > > the patch looks better then the older versions. It comes closer to a > merge, but I see one issue here: > > On Tue, Sep 25, 2012 at 07:05:17PM -0600, Shuah Khan wrote: > > debug_dma_mapping_

Re: [PATCH 03/16] iommu/amd: Allocate data structures to keep track of irq remapping tables

2012-09-28 Thread Shuah Khan
On Fri, Sep 28, 2012 at 6:23 AM, Joerg Roedel wrote: > To easily map device ids to interrupt remapping table > entries a new lookup table is necessary. > > Signed-off-by: Joerg Roedel > --- > drivers/iommu/amd_iommu_init.c | 16 > drivers/iommu/amd_iommu_types.h |9 ++

Re: [PATCH 12/16] iommu/amd: Add initialization routines for AMD interrupt remapping

2012-09-28 Thread Shuah Khan
Joerg, On Fri, Sep 28, 2012 at 6:24 AM, Joerg Roedel wrote: > Add the six routines required to setup interrupt remapping > with the AMD IOMMU. Also put it all together into the AMD > specific irq_remap_ops. > > Signed-off-by: Joerg Roedel > --- > drivers/iommu/amd_iommu.c | 16 +

Re: [PATCH 14/16] iommu/irq: Use amd_iommu_irq_ops if supported

2012-09-28 Thread Shuah Khan
On Fri, Sep 28, 2012 at 6:24 AM, Joerg Roedel wrote: > Finally enable interrupt remapping for AMD systems. > > Signed-off-by: Joerg Roedel > --- > drivers/iommu/irq_remapping.c |5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_rema

Re: [PATCH 12/16] iommu/amd: Add initialization routines for AMD interrupt remapping

2012-10-01 Thread Shuah Khan
On Mon, Oct 1, 2012 at 2:05 AM, Joerg Roedel wrote: > On Fri, Sep 28, 2012 at 05:18:18PM -0600, Shuah Khan wrote: >> > +void amd_iommu_disable(void) >> > +{ >> > + amd_iommu_suspend(); >> >> Is it safe to attempt to suspend when iommu is in suspen

Re: [PATCH 14/16] iommu/irq: Use amd_iommu_irq_ops if supported

2012-10-01 Thread Shuah Khan
On Mon, Oct 1, 2012 at 2:08 AM, Joerg Roedel wrote: > On Fri, Sep 28, 2012 at 05:39:03PM -0600, Shuah Khan wrote: >> On Fri, Sep 28, 2012 at 6:24 AM, Joerg Roedel wrote: >> > void __init setup_irq_remapping_ops(void) >> > { >> > remap_ops = &

[PATCH] dma-debug: Remove local BUS_NOTIFY_UNBOUND_DRIVER define

2012-10-01 Thread Shuah Khan
Remove local BUS_NOTIFY_UNBOUND_DRIVER define. This is not used since BUS_NOTIFY_UNBOUND_DRIVER is defined in include/linux/device.h Signed-off-by: Shuah Khan --- lib/dma-debug.c |5 - 1 file changed, 5 deletions(-) diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 66ce414..b9087bf

Re: [ 000/221] 3.7.3-stable review

2013-01-15 Thread Shuah Khan
On Tue, Jan 15, 2013 at 11:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.7.3 release. > There are 221 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [ 00/71] 3.0.59-stable review

2013-01-15 Thread Shuah Khan
On Tue, Jan 15, 2013 at 3:53 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.59 release. > There are 71 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [ 000/171] 3.4.26-stable review

2013-01-15 Thread Shuah Khan
On Tue, Jan 15, 2013 at 3:42 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.26 release. > There are 171 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

[PATCH] drm/radeon: fix NULL pointer dereference in UMS mode in radeon_cs_parser_fini()

2013-01-16 Thread Shuah Khan
ini() function. Signed-off-by: Shuah Khan CC: sta...@vger.kernel.org 3.7 --- drivers/gpu/drm/radeon/radeon_cs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 469661f..d1c282c 100644 --- a/drivers/gpu/

Re: [PATCH] drm/radeon: fix NULL pointer dereference in UMS mode in radeon_cs_parser_fini()

2013-01-17 Thread Shuah Khan
On Wed, 2013-01-16 at 21:06 -0600, Ilija Hadzic wrote: > Actually, the code path affected by your patch is not executed in UMS mode > at all. Notice that radeon_cs_parser_fini is only called from > radeon_cs_ioctl which is a KMS-only ioctl (see radeon_kms.c). > > The equivalent of the fix you ar

linux 3.8-rc3 reboot and shutdown

2013-01-17 Thread Shuah Khan
Alex, I started seeing hang during shutdown and reboot on my laptop that has ATI radeon VGA. 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV620 [Mobility Radeon HD 3400 Series] (prog-if 00 [VGA controller]) My bisect narrowed it to the following commit. shuah@lorien:~

Re: linux 3.8-rc3 reboot and shutdown

2013-01-17 Thread Shuah Khan
On Thu, Jan 17, 2013 at 12:45 PM, Deucher, Alexander wrote: >> -Original Message- >> From: Shuah Khan [mailto:shuahk...@gmail.com] >> Sent: Thursday, January 17, 2013 2:03 PM >> To: jgli...@redhat.com; Deucher, Alexander >> Cc: linux-kernel@vger.kernel.org

Re: linux 3.8-rc3 reboot and shutdown

2013-01-17 Thread Shuah Khan
On Thu, Jan 17, 2013 at 4:48 PM, Deucher, Alexander wrote: >> -Original Message- >> From: Shuah Khan [mailto:shuahk...@gmail.com] >> Sent: Thursday, January 17, 2013 6:21 PM >> To: Deucher, Alexander >> Cc: jgli...@redhat.com; linux-kernel@vger.kernel.org

Re: linux 3.8-rc3 reboot and shutdown

2013-01-18 Thread Shuah Khan
On Thu, Jan 17, 2013 at 7:55 PM, Shuah Khan wrote: > On Thu, Jan 17, 2013 at 5:35 PM, Deucher, Alexander > wrote: >>> -Original Message- >>> From: Shuah Khan [mailto:shuahk...@gmail.com] >>> Sent: Thursday, January 17, 2013 7:26 PM >>> To: Deu

Re: Linux 3.8-rc4

2013-01-18 Thread Shuah Khan
On Thu, Jan 17, 2013 at 8:51 PM, Linus Torvalds wrote: > Hey, it's been another week already! In fact, it took me so much by > surprise that it's been an extra day. The whole "release in the middle > of the week" thing feels odd to me. > > [ That actually got me to wonder what the most common day

Re: Linux 3.8-rc4

2013-01-18 Thread Shuah Khan
On Fri, Jan 18, 2013 at 10:51 AM, Shuah Khan wrote: > On Thu, Jan 17, 2013 at 8:51 PM, Linus Torvalds > wrote: >> Hey, it's been another week already! In fact, it took me so much by >> surprise that it's been an extra day. The whole "release in the middle >

Re: Linux 3.8-rc4

2013-01-18 Thread Shuah Khan
On Fri, Jan 18, 2013 at 3:37 PM, Shuah Khan wrote: > On Fri, Jan 18, 2013 at 10:51 AM, Shuah Khan wrote: > > ok. I bisected the DMAR faults and it points to the following commit: > > 909d9eb67f1e4e39f2ea88e96bde03d560cde3eb > > This commit as I recall, fixed the crash prob

[PATCH RFC] swiotlb: Remove SWIOTLB overflow buffer support

2012-07-06 Thread Shuah Khan
Remove SWIOTLB overflow buffer support and return DMA_ERROR_CODE (a value of zero) to make it consistent with iommu implementation on Intel, AMD, and swiotlb-xen. Tested only on x86. Signed-off-by: Shuah Khan --- lib/swiotlb.c | 44 1 file changed

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-07 Thread Shuah Khan
On Mon, Jan 7, 2013 at 8:26 AM, Konrad Rzeszutek Wilk wrote: > On Fri, Jan 04, 2013 at 02:10:25PM -0800, Yinghai Lu wrote: >> On Fri, Jan 4, 2013 at 1:02 PM, Shuah Khan wrote: >> > Pani'cing the system doesn't sound like a good option to me in this >> > ca

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-09 Thread Shuah Khan
On Wed, Jan 9, 2013 at 10:27 AM, Yinghai Lu wrote: > On Wed, Jan 9, 2013 at 5:24 AM, Konrad Rzeszutek Wilk > wrote: >> On Tue, Jan 08, 2013 at 05:12:02PM -0800, Yinghai Lu wrote: >>> On Tue, Jan 8, 2013 at 5:07 PM, Yinghai Lu wrote: >>> > On Tue, Jan 8, 2013 at 4:58 PM, Eric W. Biederman >>> >

[PATCH] selftests: media_tests add a new video device test

2016-07-22 Thread Shuah Khan
panics. Signed-off-by: Shuah Khan --- tools/testing/selftests/media_tests/.gitignore | 1 + tools/testing/selftests/media_tests/Makefile | 4 +- .../selftests/media_tests/video_device_test.c | 100 + 3 files changed, 103 insertions(+), 2 deletions

[PATCH 0/8] Move runnable examples code from Documentation to samples

2016-09-19 Thread Shuah Khan
move which will be done another patch. Shuah Khan (8): samples: move accounting example code from Documentation samples: move auxdisplay example code from Documentation samples: move laptops example code from Documentation samples: move mic/mpssd example code from Documentation samples

[PATCH 2/8] samples: move auxdisplay example code from Documentation

2016-09-19 Thread Shuah Khan
Move auxdisplay examples to samples and remove it from Documentation Makefile. Create a new Makefile to build auxdisplay. It can be built from top level directory or from auxdisplay directory: Run make -C samples/auxdisplay or cd samples/auxdisplay; make Signed-off-by: Shuah Khan

[PATCH 3/8] samples: move laptops example code from Documentation

2016-09-19 Thread Shuah Khan
Move laptops examples to samples and remove it from Documentation Makefile. Create a new Makefile to build laptops. It can be built from top level directory or from laptops directory: Run make -C samples/laptops or cd samples/laptops; make Signed-off-by: Shuah Khan --- Documentation/Makefile

[PATCH 7/8] samples: move timers example code from Documentation

2016-09-19 Thread Shuah Khan
Move timers examples to samples and remove it from Documentation Makefile. Create a new Makefile to build timers. It can be built from top level directory or from timers directory: Run make -C samples/timers or cd samples/timers; make Signed-off-by: Shuah Khan --- Documentation/Makefile

[PATCH 8/8] samples: move watchdog example code from Documentation

2016-09-19 Thread Shuah Khan
Move watchdog examples to samples and remove it from Documentation Makefile. Create a new Makefile to build watchdog. It can be built from top level directory or from watchdog directory: Run make -C samples/watchdog or cd samples/watchdog; make Signed-off-by: Shuah Khan --- Documentation

[PATCH 5/8] samples: move misc-devices/mei example code from Documentation

2016-09-19 Thread Shuah Khan
Move misc-devices/mei examples to samples/mei and remove it from Documentation Makefile. Delete misc-devices/Makefile. Create a new Makefile to build samples/mei. It can be built from top level directory or from mei directory: Run make -C samples/mei or cd samples/mei; make Signed-off-by: Shuah

[PATCH 6/8] samples: move pcmcia example code from Documentation

2016-09-19 Thread Shuah Khan
Move pcmcia examples to samples and remove it from Documentation Makefile. Create a new Makefile to build pcmcia. It can be built from top level directory or from pcmcia directory: Run make -C samples/pcmcia or cd samples/pcmcia; make Signed-off-by: Shuah Khan --- Documentation/Makefile

[PATCH 1/8] samples: move accounting example code from Documentation

2016-09-19 Thread Shuah Khan
Move accounting examples to samples and remove it from Documentation Makefile. Create a new Makefile to build accounting. It can be built from top level directory or from accounting directory: Run make -C samples/accounting or cd samples/accounting; make Signed-off-by: Shuah Khan

[PATCH 4/8] samples: move mic/mpssd example code from Documentation

2016-09-19 Thread Shuah Khan
Move mic/mpssd examples to samples and remove it from Documentation Makefile. Create a new Makefile to build mic/mpssd. It can be built from top level directory or from mic/mpssd directory: Run make -C samples/mic/mpssd or cd samples/mic/mpssd; make Signed-off-by: Shuah Khan --- Documentation

Re: [PATCH 1/8] samples: move accounting example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:02 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:32 -0600 > Shuah Khan wrote: > >> Move accounting examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build accounting. It can be built >> from top level d

Re: [PATCH 3/8] samples: move laptops example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:10 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:34 -0600 > Shuah Khan wrote: > >> Move laptops examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build laptops. It can be built >> from top leve

Re: [PATCH 2/8] samples: move auxdisplay example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:05 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:33 -0600 > Shuah Khan wrote: > >> Move auxdisplay examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build auxdisplay. It can be built >> from top level d

Re: [PATCH 5/8] samples: move misc-devices/mei example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/20/2016 12:17 AM, Winkler, Tomas wrote: > > >> -Original Message- >> From: Jonathan Corbet [mailto:cor...@lwn.net] >> Sent: Monday, September 19, 2016 19:14 >> To: Shuah Khan >> Cc: Dutt, Sudeep ; Dixit, Ashutosh >> ; Winkler, Tomas ;

[PATCH v2 4/4] samples: move auxdisplay example code from Documentation

2016-09-21 Thread Shuah Khan
Move auxdisplay examples to samples and remove it from Documentation Makefile. Create a new Makefile to build auxdisplay. It can be built from top level directory or from auxdisplay directory: Run make -C samples/auxdisplay or cd samples/auxdisplay; make Signed-off-by: Shuah Khan

[PATCH v2 0/4] Move runnable examples code from Documentation to samples

2016-09-21 Thread Shuah Khan
timers, and misc-devices/mei Shuah Khan (4): samples: move misc-devices/mei example code from Documentation samples: move timers example code from Documentation samples: move watchdog example code from Documentation samples: move auxdisplay example code from Documentation Documentation

[PATCH v2 2/4] samples: move timers example code from Documentation

2016-09-21 Thread Shuah Khan
Move timers examples to samples and remove it from Documentation Makefile. Create a new Makefile to build timers. It can be built from top level directory or from timers directory: Run make -C samples/timers or cd samples/timers; make Acked-by: Jonathan Corbet Signed-off-by: Shuah Khan

[PATCH v2 1/4] samples: move misc-devices/mei example code from Documentation

2016-09-21 Thread Shuah Khan
Corbet Signed-off-by: Shuah Khan --- Documentation/Makefile | 2 +- Documentation/misc-devices/Makefile | 1 - Documentation/misc-devices/mei/.gitignore| 1 - Documentation/misc-devices/mei/Makefile | 5 - Documentation/misc-devices

[PATCH v2 3/4] samples: move watchdog example code from Documentation

2016-09-21 Thread Shuah Khan
Move watchdog examples to samples and remove it from Documentation Makefile. Create a new Makefile to build watchdog. It can be built from top level directory or from watchdog directory: Run make -C samples/watchdog or cd samples/watchdog; make Signed-off-by: Shuah Khan --- Documentation

[PATCH v2 0/3] Move runnable tools from Documentation to tools

2016-09-21 Thread Shuah Khan
-rc1 Changes since v1: -- Move to tools instead of samples based on feedback -- Update location information and MAINTIANERS file as needed. Shuah Khan (3): tools: move accounting example code from Documentation tools: move laptops dslm tool from Documentation tools: move pcmcia crc32hash

[PATCH v2 3/3] tools: move pcmcia crc32hash tool from Documentation

2016-09-21 Thread Shuah Khan
; make Signed-off-by: Shuah Khan --- Documentation/Makefile | 3 +-- Documentation/pcmcia/.gitignore | 1 - Documentation/pcmcia/Makefile| 7 --- Documentation/pcmcia/crc32hash.c | 32 Documentation/pcmcia/devicetable.txt | 4

[PATCH v2 2/3] tools: move laptops dslm tool from Documentation

2016-09-21 Thread Shuah Khan
Signed-off-by: Shuah Khan --- Documentation/Makefile| 2 +- Documentation/laptops/.gitignore | 1 - Documentation/laptops/00-INDEX| 4 - Documentation/laptops/Makefile| 5 - Documentation/laptops/dslm.c | 166

[PATCH v2 1/3] tools: move accounting tool from Documentation

2016-09-21 Thread Shuah Khan
-off-by: Shuah Khan --- Documentation/Makefile| 2 +- Documentation/accounting/.gitignore | 1 - Documentation/accounting/Makefile | 7 - Documentation/accounting/delay-accounting.txt | 6 +- Documentation/accounting/getdelays.c | 550

[PATCH] media: s5p-mfc fix null pointer deference in clk_core_enable()

2016-06-21 Thread Shuah Khan
: Shuah Khan --- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c index d011f30..d88f1ba 100644 --- a/drivers/media/platform/s5p-mfc

Re: [PATCH v2 0/3] Move runnable tools from Documentation to tools

2016-09-23 Thread Shuah Khan
On 09/22/2016 08:57 AM, Jonathan Corbet wrote: > On Wed, 21 Sep 2016 18:51:10 -0600 > Shuah Khan wrote: > >> Move runnable tools from Documentation to tools. I moved just the >> tools code, and left documentation files as is. >> >> Based on the v1 series feedback

Re: [PATCH 4.7 000/184] 4.7.5-stable review

2016-09-23 Thread Shuah Khan
at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.7.y > and the diffstat can be found below. > > thanks, > > greg k-h > Compiled and booted on my test system. No dmesg regressions. thanks, -- Shuah -- Shuah Khan Sr. Linux Kerne

Re: [PATCH 4.4 000/118] 4.4.22-stable review

2016-09-23 Thread Shuah Khan
at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.4.y > and the diffstat can be found below. > > thanks, > > greg k-h > Compiled and booted on my test system. No dmesg regressions. thanks, -- Shuah -- Shuah Khan Sr. Li

[PATCH] samples: move blackfin gptimers-example from Documentation

2016-09-23 Thread Shuah Khan
Move blackfin gptimers-example to samples and remove the Documentation Makefile. Update samples Kconfig and Makefile to build gptimers-example. Signed-off-by: Shuah Khan --- Documentation/Makefile| 1 - Documentation/blackfin/00-INDEX | 4 -- Documentation

Re: [PATCH] samples: move blackfin gptimers-example from Documentation

2016-09-23 Thread Shuah Khan
On 09/23/2016 05:45 PM, Shuah Khan wrote: > Move blackfin gptimers-example to samples and remove the Documentation > Makefile. Update samples Kconfig and Makefile to build gptimers-example. > > Signed-off-by: Shuah Khan This patch isn't complete. CONFIG_BUILD_DOCSRC=1 m

[PATCH 2/2] Doc: update 00-INDEX files to reflect the runnable code move

2016-09-26 Thread Shuah Khan
Update 00-INDEX files with the current file list to reflect the runnable code move. Signed-off-by: Shuah Khan --- Documentation/00-INDEX | 2 -- Documentation/arm/00-INDEX | 2 -- Documentation/filesystems/00-INDEX | 2 -- Documentation/networking/00-INDEX | 2

[PATCH 1/2] samples: move blackfin gptimers-example from Documentation

2016-09-26 Thread Shuah Khan
Makefile and lib/Kconfig.debug. Signed-off-by: Shuah Khan --- Documentation/Makefile| 1 - Documentation/blackfin/00-INDEX | 4 -- Documentation/blackfin/Makefile | 5 -- Documentation/blackfin/gptimers-example.c | 91

[PATCH 0/2] Moving runnable code from Documentation (last 2 patches)

2016-09-26 Thread Shuah Khan
move of runnable code from Documentation. Shuah Khan (2): samples: move blackfin gptimers-example from Documentation Doc: update 00-INDEX files to reflect the runnable code move Documentation/00-INDEX| 2 - Documentation/Makefile| 1 - Documentation

[PATCH] perf: sched-pipe add support for packet I/O mode

2016-09-26 Thread Shuah Khan
Add support to run sched-pipe benchmark test on pipe with packet I/O mode. Signed-off-by: Shuah Khan --- tools/perf/bench/sched-pipe.c | 20 1 file changed, 20 insertions(+) diff --git a/tools/perf/bench/sched-pipe.c b/tools/perf/bench/sched-pipe.c index 1dc2d13..c6e1b7a

Re: [PATCH] perf: sched-pipe add support for packet I/O mode

2016-09-27 Thread Shuah Khan
On 09/27/2016 05:38 AM, Peter Zijlstra wrote: > On Mon, Sep 26, 2016 at 06:29:44PM -0600, Shuah Khan wrote: >> Add support to run sched-pipe benchmark test on pipe with packet I/O mode. I will add more detail here. >> >> Signed-off-by: Shuah Khan >> --- >> t

[GIT PULL] Kselftest fixes update for 4.8-rc1

2016-08-01 Thread Shuah Khan
- -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shua...@osg.samsung.com diff --git a/tools/testing/selftests/exec/Makefile b/tools/testing/selftests/exec/Makefile index 4e400eb..d430060 100644 --- a/tools/testing/selftests

[GIT PULL] Kselftest update for 4.8-rc1

2016-08-01 Thread Shuah Khan
user application is actively making system calls and ioctls. SeongJae Park (1): selftests/lib: set printf.sh executable Shuah Khan (5): selftests: media_device_test change it to randomize loop count selftests: add

[PATCH 2/3] kobject: add kobject trace prototypes

2016-09-06 Thread Shuah Khan
Add kobject trace prototypes source file. Signed-off-by: Shuah Khan --- lib/Makefile | 2 +- lib/kobject_traces.c | 32 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 lib/kobject_traces.c diff --git a/lib/Makefile b/lib/Makefile

[PATCH 3/3] kobject: Add calls to kobject trace points

2016-09-06 Thread Shuah Khan
Add calls to kobject trace points to kobject init, add, init_and_add, create_and_add, move, set_name, rename, get, put, cleanup, and del. Signed-off-by: Shuah Khan --- lib/kobject.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/lib/kobject.c b/lib/kobject.c index

[PATCH 1/3] kobject: add kobject trace points

2016-09-06 Thread Shuah Khan
Add kobject trace points to track kobject operations: init, add, set_name, init_and_add, create_and_add, move, rename, get, put, cleanup, and del. Kobject trace points can aid in debugging, generating status and graphs on kobjects in the kernel and their hierarchy. Signed-off-by: Shuah Khan

[PATCH 0/3] kobject tracepoints

2016-09-06 Thread Shuah Khan
fff88034aeb1348) state=1 parent= target1:0:0 (88038c875db8) counter= 18 Shuah Khan (3): kobject: add kobject trace points kobject: add kobject trace prototypes kobject: Add calls to kobject trace points include/trace/events/kobject.h | 259 +++

Re: [PATCH 4.4 000/113] 4.4.20-stable review

2016-09-06 Thread Shuah Khan
at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.4.y > and the diffstat can be found below. > > thanks, > > greg k-h > Compiled and booted on my test system. No dmesg regressions. thanks, -- Shuah -- Shuah Khan Sr. Li

Re: [PATCH 4.7 000/143] 4.7.3-stable review

2016-09-06 Thread Shuah Khan
at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.7.y > and the diffstat can be found below. > > thanks, > > greg k-h > Compiled and booted on my test system. No dmesg regressions. thanks, -- Shuah -- Shuah Khan Sr. Linux Kerne

Re: [PATCH 3.14 00/35] 3.14.78-stable review

2016-09-06 Thread Shuah Khan
anch at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-3.14.y > and the diffstat can be found below. > > thanks, > > greg k-h > > - Compiled and booted on my test system. No dmesg regressions. thanks, -- Shuah --

Re: [PATCH 0/3] kobject tracepoints

2016-09-06 Thread Shuah Khan
On 09/06/2016 01:30 PM, Greg KH wrote: > On Tue, Sep 06, 2016 at 11:49:22AM -0600, Shuah Khan wrote: >> Add kobject trace points to track kobject operations: init, add, set_name, >> init_and_add, create_and_add, move, rename, get, put, cleanup, and del. >> >> Kobj

Re: [PATCH 1/3] kobject: add kobject trace points

2016-09-07 Thread Shuah Khan
On 09/06/2016 12:05 PM, Steven Rostedt wrote: > On Tue, 6 Sep 2016 11:49:23 -0600 > Shuah Khan wrote: > >> +#if !defined(_TRACE_KOBJECT_H) || defined(TRACE_HEADER_MULTI_READ) >> +#define _TRACE_KOBJECT_H >> + >> +#include >> +#include >> + >>

Re: [PATCH 2/9] selftests: update filesystems Makefile to work under selftests

2016-09-13 Thread Shuah Khan
On 09/13/2016 05:56 AM, Michael Ellerman wrote: > Shuah Khan writes: > >> Update to work under selftests. dnotify_test will not be run as part of >> selftests suite and will not included in install targets. It can be built >> separately for now. >> >> Signed-

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