Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-02-10 Thread Shuah Khan
On 2/3/23 18:06, Shuah Khan wrote: On 2/1/23 19:07, Shuah Khan wrote: Hi Mathieu, On 1/30/23 15:29, Shuah Khan wrote: On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-02-03 Thread Shuah Khan
On 2/1/23 19:07, Shuah Khan wrote: Hi Mathieu, On 1/30/23 15:29, Shuah Khan wrote: On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes are not tagged as "Fixes&quo

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-02-01 Thread Shuah Khan
Hi Mathieu, On 1/30/23 15:29, Shuah Khan wrote: On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes are not tagged as "Fixes" because the current behavior is to rely on

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-01-30 Thread Shuah Khan
On 1/30/23 16:45, Alexei Starovoitov wrote: On Mon, Jan 30, 2023 at 2:46 PM Shuah Khan wrote: On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes are not tagged as "

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-01-30 Thread Shuah Khan
On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes are not tagged as "Fixes" because the current behavior is to rely on the kernel sources uapi files rather than on the installed

Re: [PATCH 21/34] selftests: powerpc: Fix incorrect kernel headers search path

2023-01-30 Thread Shuah Khan
Cc: Shuah Khan Cc: linux-kselft...@vger.kernel.org Cc: Ingo Molnar Cc: [5.18+] --- tools/testing/selftests/powerpc/ptrace/Makefile | 2 +- tools/testing/selftests/powerpc/security/Makefile | 2 +- tools/testing/selftests/powerpc/syscalls/Makefile | 2 +- tools/testing/selftests/powerpc

Re: [PATCH V3] testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set

2022-04-08 Thread Shuah Khan
) Signed-off-by: Athira Rajeev --- Changelog: From v2 -> v3: Addressed review comment from Shuah Khan to add common "goto" error path with CPU_FREE for few exit cases. From v1 -> v2: Addressed review comment from Shuah Khan to add CPU_FREE in other exit paths

Re: [PATCH V2] testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set

2022-04-07 Thread Shuah Khan
g: From v1 -> v2: Addressed review comment from Shuah Khan to add CPU_FREE in other exit paths where it is needed Thank you. I have a couple of comments on making the error paths simpler. Please see below. tools/testing/selftests/mqueue/mq_perf_tests.c | 10 +- 1 file cha

Re: [PATCH] testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set

2022-04-06 Thread Shuah Khan
On 4/6/22 11:57 AM, Athira Rajeev wrote: The selftest "mqueue/mq_perf_tests.c" use CPU_ALLOC to allocate CPU set. This cpu set is used further in pthread_attr_setaffinity_np and by pthread_create in the code. But in current code, allocated cpu set is not freed. Fix this by adding CPU_FREE after

Re: [PATCH] selftest/vm: Use correct PAGE_SHIFT value for ppc64

2022-02-10 Thread Shuah Khan
On 2/10/22 8:03 AM, Aneesh Kumar K V wrote: On 2/10/22 20:09, Shuah Khan wrote: On 2/9/22 9:12 PM, Aneesh Kumar K.V wrote: Shuah Khan writes: On 2/9/22 8:43 AM, Aneesh Kumar K.V wrote: Keep it simple by using a #define and limiting hugepage size to 2M. This keeps the test simpler instead

Re: [PATCH] selftest/vm: Use correct PAGE_SHIFT value for ppc64

2022-02-10 Thread Shuah Khan
On 2/9/22 9:12 PM, Aneesh Kumar K.V wrote: Shuah Khan writes: On 2/9/22 8:43 AM, Aneesh Kumar K.V wrote: Keep it simple by using a #define and limiting hugepage size to 2M. This keeps the test simpler instead of dynamically finding the page size and huge page size. Without this tests

Re: [PATCH] selftest/vm: Use correct PAGE_SHIFT value for ppc64

2022-02-09 Thread Shuah Khan
(pagemap_fd, ent, sizeof(ent), (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) err(2, "read pagemap"); Cc: Shuah Khan Signed-off-by: Aneesh Kumar K.V --- tools/testing/selftests/vm/ksm_tests.c| 8 tools/testing/selftests/vm/tr

Re: [PATCH 2/2] KVM: selftests: Add support for ppc64le

2022-02-02 Thread Shuah Khan
On 1/20/22 10:01 AM, Fabiano Rosas wrote: This adds the infrastructure for writing tests for the powerpc platform (Only Radix MMU for now). This patch also enables two tests: - a dummy sample test that creates a guest with one vcpu, issues hypercalls and reads/writes test values from

Re: [PATCH v1 2/6] mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSE

2021-10-05 Thread Shuah Khan
CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m CONFIG_MEMORY_HOTREMOVE=y For Kselftest change: Acked-by: Shuah Khan thanks, -- Shuah

Re: [PATCH v3 1/8] PCI/AER: Remove ID from aer_agent_string[]

2021-10-04 Thread Shuah Khan
On 10/4/21 8:29 AM, Naveen Naidu wrote: Before 010caed4ccb6 ("PCI/AER: Decode Error Source RequesterID") the AER error logs looked like: pcieport :00:03.0: AER: Corrected error received: id=0018 pcieport :00:03.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=0018

Re: [PATCH linux-next] selftests/powerpc: remove duplicate include

2021-08-24 Thread Shuah Khan
On 8/24/21 10:35 AM, Christophe Leroy wrote: Le 24/08/2021 à 16:41, Shuah Khan a écrit : On 8/23/21 9:05 PM, CGEL wrote: From: Changcheng Deng Clean up the following includecheck warning: ./tools/testing/selftests/powerpc/tm/tm-poison.c: inttypes.h is included more than once

Re: [PATCH linux-next] selftests/powerpc: remove duplicate include

2021-08-24 Thread Shuah Khan
On 8/23/21 9:05 PM, CGEL wrote: From: Changcheng Deng Clean up the following includecheck warning: ./tools/testing/selftests/powerpc/tm/tm-poison.c: inttypes.h is included more than once. No functional change. Reported-by: Zeal Robot Signed-off-by: Changcheng Deng ---

Re: [PATCH linux-next] powerpc/tm: remove duplicate include in tm-poison.c

2021-08-24 Thread Shuah Khan
On 8/5/21 12:52 AM, cgel@gmail.com wrote: From: yong yiran 'inttypes.h' included in 'tm-poison.c' is duplicated. Remove all but the first include of inttypes.h from tm-poison.c. Reported-by: Zeal Robot Signed-off-by: yong yiran --- tools/testing/selftests/powerpc/tm/tm-poison.c | 1 -

Re: [PATCH v2] selftests/seccomp: fix ptrace tests on powerpc

2020-09-11 Thread Shuah Khan
variant->use_ptrace); ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); ASSERT_EQ(0, ret); Hi Kees, If you want to take this through your tree: Acked-by: Shuah Khan thanks, -- Shuah

Re: [PATCH 2/2] selftest/cpuidle: Add support for cpuidle latency measurement

2020-07-07 Thread Shuah Khan
On 7/7/20 9:29 AM, Pratik Rajesh Sampat wrote: This patch adds support to trace IPI based and timer based wakeup latency from idle states Latches onto the test-cpuidle_latency kernel module using the debugfs interface to send IPIs or schedule a timer based event, which in-turn populates the

Re: [PATCH 1/2] selftests: vm: Do not override definition of ARCH

2020-04-10 Thread Shuah Khan
On 2/10/20 7:49 PM, Michael Ellerman wrote: Sandipan Das writes: Independent builds of the vm selftests is currently broken because commit 7549b3364201 overrides the value of ARCH with the machine name from uname. This does not always match the architecture names used for tasks like header

Re: [PATCH 0/2] selftests: vm: Build fixes for powerpc64

2020-03-31 Thread Shuah Khan
On 1/30/20 12:01 AM, Sandipan Das wrote: The second patch was already posted independently but because of the changes in the first patch, the second one now depends on it. Hence posting it now as a part of this series. The last version (v2) of the second patch can be found at:

Re: [PATCH] selftest/lkdtm: Use local .gitignore

2020-02-27 Thread Shuah Khan
On 2/27/20 9:17 AM, Kees Cook wrote: On Thu, Feb 27, 2020 at 02:07:10PM +, Christophe Leroy wrote: Commit 68ca0fd272da ("selftest/lkdtm: Don't pollute 'git status'") introduced patterns for git to ignore files generated in tools/testing/selftests/lkdtm/ Use local .gitignore file instead of

Re: [PATCH] selftest/lkdtm: Don't pollute 'git status'

2020-02-20 Thread Shuah Khan
On 2/20/20 7:58 AM, Christophe Leroy wrote: ping On 02/06/2020 08:11 AM, Christophe Leroy wrote: Commit 46d1a0f03d66 ("selftests/lkdtm: Add tests for LKDTM targets") added generation of lkdtm test scripts. Ignore those generated scripts when performing 'git status' Fixes: 46d1a0f03d66

Re: [PATCH v6] selftests: add headers_install to lib.mk

2018-09-28 Thread Shuah Khan
On 09/27/2018 10:52 PM, Michael Ellerman wrote: > [ + linuxppc-dev ] > > Anders Roxell writes: >> If the kernel headers aren't installed we can't build all the tests. >> Add a new make target rule 'khdr' in the file lib.mk to generate the >> kernel headers and that gets include for every

Re: [PATCH kernel] vfio/spapr: Add trace points for map/unmap

2017-11-29 Thread Shuah Khan
On 11/29/2017 09:32 AM, Alex Williamson wrote: > On Thu, 23 Nov 2017 15:13:37 +1100 > Alexey Kardashevskiy wrote: > >> On 17/11/17 17:58, Alexey Kardashevskiy wrote: >>> On 17/11/17 11:13, Alex Williamson wrote: On Tue, 14 Nov 2017 10:47:12 +1100 Alexey Kardashevskiy

Re: [PATCH v2 1/1] rtc: rtctest: Improve support detection

2017-08-16 Thread Shuah Khan
On 08/15/2017 02:46 AM, Lukáš Doktor wrote: > The rtc-generic and opal-rtc are failing to run this test as they do not > support all the features. Let's treat the error returns and skip to the > following test. > > Theoretically the test_DATE should be also adjusted, but as it's enabled > on

Re: [PATCH 0/8] Fix clean target warnings

2017-04-27 Thread Shuah Khan
On 04/21/2017 05:14 PM, Shuah Khan wrote: > This patch series consists of changes to lib.mk to allow overriding > common clean target from Makefiles. This fixes warnings when clean > overriding and ignoring warnings. Also fixes splice clean target > removing a script that runs the t

Re: [PATCH 3/8] selftests: futex: override clean in lib.mk to fix warnings

2017-04-27 Thread Shuah Khan
On 04/27/2017 03:54 PM, Darren Hart wrote: > On Fri, Apr 21, 2017 at 05:14:45PM -0600, Shuah Khan wrote: >> Add override for lib.mk clean to fix the following warnings from clean >> target run. >> >> Makefile:36: warning: overriding recipe for target 'clean' >> ..

[PATCH v2] selftests: splice: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
Add override with EXTRA_CLEAN for lib.mk clean to fix the following warnings from clean target run. Makefile:8: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Changes si

[PATCH v2] selftests: sync: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
Add override with EXTRA_CLEAN for lib.mk clean to fix the following warnings from clean target run. Makefile:24: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Changes si

[PATCH v2] selftests: x86: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
Add override with EXTRA_CLEAN for lib.mk clean to fix the following warnings from clean target run. Makefile:44: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Changes si

Re: [PATCH 8/8] selftests: x86: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
On 04/21/2017 11:41 PM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: > >> Add override for lib.mk clean to fix the following warnings from clean >> target run. >> >> Makefile:44: warning: overriding recipe for target 'clean' >>

Re: [PATCH 7/8] selftests: sync: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
On 04/21/2017 11:41 PM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: > >> Add override for lib.mk clean to fix the following warnings from clean >> target run. >> >> Makefile:24: warning: overriding recipe for target 'clean' >>

Re: [PATCH 6/8] selftests: splice: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
On 04/21/2017 11:40 PM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: > >> Add override for lib.mk clean to fix the following warnings from clean >> target run. >> >> Makefile:8: warning: overriding recipe for target 'clean' >>

Re: [PATCH 4/8] selftests: gpio: override clean in lib.mk to fix warnings

2017-04-25 Thread Shuah Khan
On 04/21/2017 11:40 PM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: > >> Add override for lib.mk clean to fix the following warnings from clean >> target run. >> >> Makefile:11: warning: overriding recipe for target 'clean' >>

Re: [PATCH 2/8] selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean

2017-04-25 Thread Shuah Khan
On 04/21/2017 11:38 PM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: > >> Define CLEAN macro to allow Makefiles to override common clean target >> in lib.mk. This will help fix the following failures: >> >> warning: overriding recip

Re: [PATCH 8/8] selftests: x86: override clean in lib.mk to fix warnings

2017-04-24 Thread Shuah Khan
On 04/24/2017 09:57 AM, David Laight wrote: > From: Linuxppc-dev Michael Ellerman >> Shuah Khan <shua...@osg.samsung.com> writes: >> >>> Add override for lib.mk clean to fix the following warnings from clean >>> target run. >>> >>>

Re: [PATCH 2/8] selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean

2017-04-24 Thread Shuah Khan
On 04/24/2017 09:45 AM, David Laight wrote: > From: Shuah Khan >> Sent: 22 April 2017 00:15 >> Define CLEAN macro to allow Makefiles to override common clean target >> in lib.mk. This will help fix the following failures: >> >> warning: overriding recipe for target

[PATCH 5/8] selftests: powerpc: override clean in lib.mk to fix warnings

2017-04-21 Thread Shuah Khan
Add override for lib.mk clean to fix the following warnings from clean target run. Makefile:63: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/p

[PATCH 6/8] selftests: splice: override clean in lib.mk to fix warnings

2017-04-21 Thread Shuah Khan
Add override for lib.mk clean to fix the following warnings from clean target run. Makefile:8: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/

[PATCH 1/8] selftests: splice: fix clean target to not remove default_file_splice_read.sh

2017-04-21 Thread Shuah Khan
splice clean target removes the shell script default_file_splice_read.sh that runs the splice test. Fix it to not remove this file. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/splice/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 4/8] selftests: gpio: override clean in lib.mk to fix warnings

2017-04-21 Thread Shuah Khan
Add override for lib.mk clean to fix the following warnings from clean target run. Makefile:11: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftest

[PATCH 3/8] selftests: futex: override clean in lib.mk to fix warnings

2017-04-21 Thread Shuah Khan
Add override for lib.mk clean to fix the following warnings from clean target run. Makefile:36: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests

[PATCH 0/8] Fix clean target warnings

2017-04-21 Thread Shuah Khan
This patch series consists of changes to lib.mk to allow overriding common clean target from Makefiles. This fixes warnings when clean overriding and ignoring warnings. Also fixes splice clean target removing a script that runs the test from its clean target. Shuah Khan (8): selftests: splice

[PATCH 7/8] selftests: sync: override clean in lib.mk to fix warnings

2017-04-21 Thread Shuah Khan
Add override for lib.mk clean to fix the following warnings from clean target run. Makefile:24: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftest

[PATCH 2/8] selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean

2017-04-21 Thread Shuah Khan
Define CLEAN macro to allow Makefiles to override common clean target in lib.mk. This will help fix the following failures: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> ---

[PATCH 8/8] selftests: x86: override clean in lib.mk to fix warnings

2017-04-21 Thread Shuah Khan
Add override for lib.mk clean to fix the following warnings from clean target run. Makefile:44: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftes

Re: [PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-03-02 Thread Shuah Khan
Hi Michael and Bamovar, On 03/01/2017 11:43 PM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: >> Hi Bamovar, >> >> Your original series badly broke the selftest build. I can no longer >> build individual tests. For example: >> >&g

Re: [PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-03-01 Thread Shuah Khan
On 02/13/2017 07:09 PM, Michael Ellerman wrote: > Michael Ellerman writes: > >> In commit 88baa78d1f31 ("selftests: remove duplicated all and clean >> target"), the "all" target was removed from individual Makefiles and >> added to lib.mk. >> >> However the "all" target was

Re: [PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-02-14 Thread Shuah Khan
On 02/13/2017 07:09 PM, Michael Ellerman wrote: > Michael Ellerman writes: > >> In commit 88baa78d1f31 ("selftests: remove duplicated all and clean >> target"), the "all" target was removed from individual Makefiles and >> added to lib.mk. >> >> However the "all" target was

Re: [PATCH] selftests/powerpc: Add .gitignore for powerpc selftests

2015-01-14 Thread Shuah Khan
On 01/13/2015 07:15 PM, Michael Ellerman wrote: On Tue, 2015-01-13 at 17:16 -0700, Shuah Khan wrote: Please add a commit log. What does it need to say? Explain the change the patch is making. Please see Documentation/SubmittingPatches for details. Looks like this patch is no longer needed

Re: [PATCH V2 09/12] selftests, powerpc: Add test for DSCR value inheritence across fork

2015-01-13 Thread Shuah Khan
be separate patch in the interest of getting tests in. Acked-by: Shuah Khan shua...@osg.samsung.com Please take this through powerpc maintainer git. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shua

Re: [PATCH V2 10/12] selftests, powerpc: Add test for DSCR inheritence across fork exec

2015-01-13 Thread Shuah Khan
, dscr_inherit_exec_test); +} Could you please add a .gitignore for powerpc targets as we discussed earlier. It can be separate patch. Also, I would like to see the test results reports using kselftest.h - it can be separate patch in the interest of getting tests in. Acked-by: Shuah Khan shua

Re: [PATCH V2 06/12] selftests, powerpc: Add test for system wide DSCR default

2015-01-13 Thread Shuah Khan
patch in the interest of getting tests in. Acked-by: Shuah Khan shua...@osg.samsung.com Please take this through powerpc maintainer git. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970

Re: [PATCH V2 07/12] selftests, powerpc: Add test for explicitly changing DSCR value

2015-01-13 Thread Shuah Khan
in the interest of getting tests in. Acked-by: Shuah Khan shua...@osg.samsung.com Please take this through powerpc maintainer git. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978

Re: [PATCH V2 08/12] selftests, powerpc: Add test for DSCR SPR numbers

2015-01-13 Thread Shuah Khan
like to see the test results reports using kselftest.h - it can be separate patch in the interest of getting tests in. Acked-by: Shuah Khan shua...@osg.samsung.com Please take this through powerpc maintainer git. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation

Re: [PATCH V2 11/12] selftests, powerpc: Add test for all DSCR sysfs interfaces

2015-01-13 Thread Shuah Khan
a .gitignore for powerpc targets as we discussed earlier. It can be separate patch. Also, I would like to see the test results reports using kselftest.h - it can be separate patch in the interest of getting tests in. Acked-by: Shuah Khan shua...@osg.samsung.com Please take this through powerpc

Re: [PATCH V2 12/12] selftests, powerpc: Add thread based stress test for DSCR sysfs interfaces

2015-01-13 Thread Shuah Khan
would like to see the test results reports using kselftest.h - it can be separate patch in the interest of getting tests in. Acked-by: Shuah Khan shua...@osg.samsung.com Please take this through powerpc maintainer git. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source

Re: [PATCH] selftests/powerpc: Add .gitignore for powerpc selftests

2015-01-13 Thread Shuah Khan
/primitives/.gitignore create mode 100644 tools/testing/selftests/powerpc/tm/.gitignore Please create a single .gitignore for all targets right under tools/testing/selftests/powerpc instead of multiple .gitignore files. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation

Re: [PATCH V6 9/9] selftests: Make GIT ignore all binaries in powerpc test suite

2014-12-02 Thread Shuah Khan
underneath. Thanks for taking on the task to add .gitignore for all powerpc binaries. -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 ___ Linuxppc-dev mailing list

Re: [V5 7/7] selftests, powerpc: Add test case for TM related ptrace interface

2014-11-25 Thread Shuah Khan
git status including the binaries it in its output. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[RFT][PATCH 04/12] drivers/macintosh/adb: change platform power management to use dev_pm_ops

2014-02-10 Thread Shuah Khan
Change adb platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops. .pm hooks call existing legacy suspend and resume interfaces by passing in the right pm state. Signed-off-by: Shuah Khan shuah...@samsung.com --- drivers/macintosh/adb.c | 41

[RFT][PATCH 00/12] change drivers power management to use dev_pm_ops

2014-02-10 Thread Shuah Khan
Change drivers to register pm ops using dev_pm_ops instead of legacy pm_ops. .pm hooks call existing legacy suspend and resume interfaces by passing in the right pm state. Bus drivers suspend and resume routines call .pm driver hooks if found. Shuah Khan (12): arm: change locomo platform

[PATCH v3] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-12 Thread Shuah Khan
‘phys_addr_t’ [-Werror=format] cc1: all warnings being treated as errors make[2]: *** [arch/powerpc/platforms/embedded6xx/wii.o] Error 1 make[1]: *** [arch/powerpc/platforms/embedded6xx] Error 2 make: *** [arch/powerpc/platforms] Error 2 Signed-off-by: Shuah Khan shuah.k...@hp.com CC: sta

Re: [PATCH v2] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-11 Thread Shuah Khan
On Mon, 2012-12-10 at 18:55 +, Ben Hutchings wrote: On Mon, Dec 10, 2012 at 10:23:16AM -0700, Shuah Khan wrote: Fix wii_memory_fixups() the following compile error on 3.0.y tree with wii_defconfig on 3.0.y tree. CC arch/powerpc/platforms/embedded6xx/wii.o arch/powerpc

[PATCH v2] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-10 Thread Shuah Khan
type ‘phys_addr_t’ [-Werror=format] cc1: all warnings being treated as errors make[2]: *** [arch/powerpc/platforms/embedded6xx/wii.o] Error 1 make[1]: *** [arch/powerpc/platforms/embedded6xx] Error 2 make: *** [arch/powerpc/platforms] Error 2 Signed-off-by: Shuah Khan shuah.k...@hp.com CC: sta

Re: [PATCH] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-08 Thread Shuah Khan
On Sat, Dec 8, 2012 at 10:22 AM, Ben Hutchings b...@decadent.org.uk wrote: On Fri, 2012-12-07 at 19:07 -0700, Shuah Khan wrote: Fix wii_memory_fixups() the following compile error on 3.0.y tree with wii_defconfig on 3.0.y tree. CC arch/powerpc/platforms/embedded6xx/wii.o arch/powerpc

[PATCH] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-07 Thread Shuah Khan
type ‘phys_addr_t’ [-Werror=format] cc1: all warnings being treated as errors make[2]: *** [arch/powerpc/platforms/embedded6xx/wii.o] Error 1 make[1]: *** [arch/powerpc/platforms/embedded6xx] Error 2 make: *** [arch/powerpc/platforms] Error 2 Signed-off-by: Shuah Khan shuah.k...@hp.com CC: sta

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

2012-11-26 Thread Shuah Khan
On Mon, 2012-11-26 at 12:22 +0100, Joerg Roedel wrote: Hi Shuah, On Fri, Nov 23, 2012 at 02:29:02PM -0700, Shuah Khan wrote: x86 - done in the first patch that added the feature. ARM64: dma_debug: add debug_dma_mapping_error support c6x: dma_debug: add debug_dma_mapping_error support

[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 shuah.k...@hp.com Acked-by: Catalin Marinas catalin.mari...@arm.com --- arch/arm64/include

[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 shuah.k...@hp.com Acked-by: Mark Salter msal...@redhat.com --- arch/c6x/include/asm/dma

[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()

[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 shuah.k...@hp.com Acked-by: David S. Miller da...@davemloft.net --- arch/sparc/include/asm

[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 shuah.k...@hp.com --- arch/tile/include/asm/dma-mapping.h |1 + 1 file changed, 1

[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 shuah.k...@hp.com --- arch/mips/include/asm/dma-mapping.h |2 ++ 1 file changed, 2

[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 shuah.k...@hp.com --- arch/powerpc/include/asm/dma-mapping.h |1 + 1 file changed, 1

[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 shuah.k...@hp.com Acked-by: Michal Simek

[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 shuah.k...@hp.com --- arch/ia64/include/asm/dma-mapping.h |1 + 1 file changed, 1

[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 shuah.k...@hp.com --- arch/sh/include/asm/dma-mapping.h |1 + 1 file changed, 1

Re: [PATCH RFT RESEND linux-next] powerpc: dma-mapping: support debug_dma_mapping_error

2012-11-15 Thread Shuah Khan
On Fri, 2012-10-26 at 10:08 -0600, Shuah Khan wrote: 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

[PATCH RFT RESEND linux-next] powerpc: dma-mapping: support debug_dma_mapping_error

2012-10-26 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 shuah.k...@hp.com --- arch/powerpc/include

[PATCH RFT] powerpc: dma-mapping: support debug_dma_mapping_error

2012-10-25 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 shuah.k...@hp.com --- arch/powerpc/include