On 12/3/24 18:20, Steven Rostedt wrote:
On Tue, 3 Dec 2024 18:01:06 -0700
Shuah Khan wrote:
On 12/2/24 12:41, Steven Rostedt wrote:
On Sat, 30 Nov 2024 01:56:21 +0530
Hari Bathini wrote:
In 'NOFENTRY_ARGS' test case for syntax check, any offset X of
`vfs_read+X` except func
On 12/2/24 12:41, Steven Rostedt wrote:
On Sat, 30 Nov 2024 01:56:21 +0530
Hari Bathini wrote:
In 'NOFENTRY_ARGS' test case for syntax check, any offset X of
`vfs_read+X` except function entry offset (0) fits the criterion,
even if that offset is not at instruction boundary, as the parser
come
vgetrandom code can
go on top of it?
Jason
Yes - here is the Ack to apply to all patches in the series:
Acked-by: Shuah Khan
thanks,
-- Shuah
On 5/29/24 09:51, Mark Brown wrote:
On Fri, May 03, 2024 at 02:01:46PM +0100, Joey Gouly wrote:
Ensure that we get signal context for POR_EL0 if and only if POE is present
on the system.
Reviewed-by: Mark Brown
For kselftest:
Acked-by: Shuah Khan
thanks,
-- Shuah
On 5/20/24 21:03, Michael Ellerman wrote:
Fix warnings like:
openat2_test.c: In function ‘test_openat2_flags’:
openat2_test.c:303:73: warning: format ‘%llX’ expects argument of type
‘long long unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long
unsigned int’} [-Wformat=]
By sw
On 5/20/24 21:01, Michael Ellerman wrote:
Fix warnings like:
test_cachestat.c: In function ‘print_cachestat’:
test_cachestat.c:30:38: warning: format ‘%llu’ expects argument of
type ‘long long unsigned int’, but argument 2 has type ‘__u64’ {aka
‘long unsigned int’} [-Wformat=]
By swi
On 5/20/24 20:26, Michael Ellerman wrote:
Fix build error on ppc64:
dev_in_maps.c: In function ‘get_file_dev_and_inode’:
dev_in_maps.c:60:59: error: format ‘%llu’ expects argument of type
‘long long unsigned int *’, but argument 7 has type ‘__u64 *’ {aka ‘long
unsigned int *’} [-Werro
On 4/25/24 09:09, Sean Christopherson wrote:
On Thu, Apr 25, 2024, Shuah Khan wrote:
On 4/25/24 08:12, Dan Carpenter wrote:
On Fri, Oct 27, 2023 at 11:22:07AM -0700, Sean Christopherson wrote:
Use KVM_SET_USER_MEMORY_REGION2 throughout KVM's selftests library so that
support for guest pr
On 4/25/24 08:12, Dan Carpenter wrote:
On Fri, Oct 27, 2023 at 11:22:07AM -0700, Sean Christopherson wrote:
Use KVM_SET_USER_MEMORY_REGION2 throughout KVM's selftests library so that
support for guest private memory can be added without needing an entirely
separate set of helpers.
Note, this ob
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 are not
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"
b
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
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 "
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 ker
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
)
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 wher
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
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 i
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
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 are
(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
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 memory.
CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
CONFIG_MEMORY_HOTREMOVE=y
For Kselftest change:
Acked-by: Shuah Khan
thanks,
-- Shuah
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 (
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.
No
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
---
tools/testing/selft
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 -
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
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 debu
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 inst
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:
https://patchwork.
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
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 ("selft
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 test-dir
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 wrote:
>>
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 deman
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
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'
&
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
---
Changes since v1:
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
---
Changes since v1:
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
---
Changes since v1:
On 04/21/2017 11:41 PM, Michael Ellerman wrote:
> Shuah Khan writes:
>
>> 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:
On 04/21/2017 11:41 PM, Michael Ellerman wrote:
> Shuah Khan writes:
>
>> 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:
On 04/21/2017 11:40 PM, Michael Ellerman wrote:
> Shuah Khan writes:
>
>> 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:
On 04/21/2017 11:40 PM, Michael Ellerman wrote:
> Shuah Khan writes:
>
>> 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:
On 04/21/2017 11:38 PM, Michael Ellerman wrote:
> Shuah Khan writes:
>
>> 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'
On 04/24/2017 09:57 AM, David Laight wrote:
> From: Linuxppc-dev Michael Ellerman
>> Shuah Khan writes:
>>
>>> Add override for lib.mk clean to fix the following warnings from clean
>>> target run.
>>>
>>> Makefile:44: warning: overriding
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
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
---
tools/testing/selftests/powerpc/Make
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
---
tools/testing/selftests/splice/Make
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
---
tools/testing/selftests/splice/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests
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
---
tools/testing/selftests/gpio/Make
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
---
tools/testing/selftests/futex/Make
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
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
---
tools/testing/selftests/sync/Make
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
---
tools/test
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
---
tools/testing/selftests/x86/Makefile | 3
Hi Michael and Bamovar,
On 03/01/2017 11:43 PM, Michael Ellerman wrote:
> Shuah Khan writes:
>> Hi Bamovar,
>>
>> Your original series badly broke the selftest build. I can no longer
>> build individual tests. For example:
>>
>> cd breakpoints/
>> s
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 added to lib.mk *after
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 added to lib.mk *after
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 pat
44 tools/testing/selftests/powerpc/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. Lin
result = malloc(sizeof(unsigned long) * sysconf(_SC_NPROCESSORS_ONLN));
> + pthread_mutex_init(&lock, NULL);
> + target = 0;
> + for (i = 0; i < COUNT; i++) {
> + for (j = 0; j < DSCR_MAX; j++) {
> + set_default_dscr(j);
> +
r_defaults(j))
> + return 1;
> + }
> + }
> + return 0;
> +}
> +
> +int main(int argc, char *argv[])
> +{
> + return test_harness(test_body, "dscr_sysfs_test");
> +}
p; !strcmp(argv[1], "exec")) {
> + unsigned long parent_dscr;
> +
> + parent_dscr = atoi(argv[2]);
> + do_exec(parent_dscr);
> + } else if (argc != 1) {
> + fprintf(stderr, "Usage: %s\n", argv[0]);
> +
> + "but is %ld\n", dscr, cur_dscr_usr);
> + exit(1);
> + }
> + exit(0);
> + }
> + }
> + return 0;
> +}
> +
> +int main(int argc, cha
gt; + if (check_dscr("user"))
> + return 1;
> + }
> + return 0;
> +}
> +
> +int main(int argc, char *argv[])
> +{
> + return test_harness(test_body, "dscr_user_test");
> +}
>
Could you please add a .g
return 1;
> + }
> + }
> + return 0;
> +}
> +
> +int main(int argc, char *argv[])
> +{
> + return test_harness(test_body, "dscr_explicit_test");
> +}
>
Could you please add a .gitignore for powerpc targets as we
discu
he DSCR default */
> + for (i = 0; i < COUNT; i++) {
> + double ret = uniform_deviate(rand());
> +
> + if (ret < 0.0001) {
> + sequence++;
> + wmb();
> +
> + dscr++;
> +
pler without having to add one .gitignore for each
directory 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
__
e
>
Could you please add .gitignore for the binaries in this directory
to avoid 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
__
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 and
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
---
drivers/macintosh/adb.c | 41 -
1 file
‘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
CC: sta...@vger.kernel.org 3.0.y
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
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
CC: sta...@vger.kernel.org 3.0
On Sat, Dec 8, 2012 at 10:22 AM, Ben Hutchings 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.
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
CC: sta...@vger.kernel.org 3.0
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 supp
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
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
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
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
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
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
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
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
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
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
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
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
---
arch/powerpc/include/asm/dma
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
---
arch/powerpc/include/asm/dma
92 matches
Mail list logo