History log of /arch/sh/mm/cache-debugfs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
298c48a811673ba5e292359545f3af6d1a6c9764 02-Jun-2011 Srinivas KANDAGATLA <srinivas.kandagatla@st.com> sh: fix wrong icache/dcache address-array start addr in cache-debugfs.

This patch fixes a icache/dcache address-array start address while
dumping its entires in debugfs. Perviously the code was attempting to
remember the address in static variable, which is no more required
for debugfs, as the function can be executed in one pass.

Without this patch the start address ends up in wrong place and the
/sys/kernel/debug/sh/icache or dcache debugfs contents may not be correct.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Cc: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
3f224f4e057ce67713f3e7a8890f2fbe12d047a5 23-Sep-2010 Paul Mundt <lethal@linux-sh.org> sh: provide generic arch_debugfs_dir.

While sh previously had its own debugfs root, there now exists a
common arch_debugfs_dir prototype, so we switch everything over to
that. Presumably once more architectures start making use of this
we'll be able to just kill off the stub kdebugfs wrapper.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
9d56dd3b083a3bec56e9da35ce07baca81030b03 25-Jan-2010 Paul Mundt <lethal@linux-sh.org> sh: Mass ctrl_in/outX to __raw_read/writeX conversion.

The old ctrl in/out routines are non-portable and unsuitable for
cross-platform use. While drivers/sh has already been sanitized, there
is still quite a lot of code that is not. This converts the arch/sh/ bits
over, which permits us to flag the routines as deprecated whilst still
building with -Werror for the architecture code, and to ensure that
future users are not added.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
2dc2f8e0c46864e2a3722c84eaa96513d4cf8b2f 21-Jan-2010 Paul Mundt <lethal@linux-sh.org> sh: Kill off the special uncached section and fixmap.

Now that cached_to_uncached works as advertized in 32-bit mode and we're
never going to be able to map < 16MB anyways, there's no need for the
special uncached section. Kill it off.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
25627c7fd71269e2658b6872eef65719ee80b9aa 17-Oct-2008 Zhaolei <zhaolei@cn.fujitsu.com> Fix debugfs_create_file's error checking method for arch/sh/mm/

debugfs_create_file() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
45dabf1427a0a876f733b07239ade1bdb0e06010 24-Jun-2008 Li Zefan <lizf@cn.fujitsu.com> sh: fix seq_file memory leak

When using single_open(), single_release() should be used instead
of seq_release(), otherwise there is a memory leak.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
b9e393c2babb8b6956de52fc580b7c23f3629232 07-Mar-2008 Paul Mundt <lethal@linux-sh.org> sh: Create an sh debugfs root.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
cbaa118ecfd99fc5ed7adbd9c34a30e1c05e3c93 30-Nov-2007 Stuart Menefy <stuart.menefy@st.com> sh: Preparation for uncached jumps through PMB.

Presently most of the 29-bit physical parts do P1/P2 segmentation
with a 1:1 cached/uncached mapping, jumping between the two to
control the caching behaviour. This provides the basic infrastructure
to maintain this behaviour on 32-bit physical parts that don't map
P1/P2 at all, using a shiny new linker section and corresponding
fixmap entry.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
11c1965687b0a472add948d4240dfe65a2fcb298 25-Dec-2006 Paul Mundt <lethal@linux-sh.org> sh: Fixup cpu_data references for the non-boot CPUs.

There are a lot of bogus cpu_data-> references that only end up working
for the boot CPU, convert these to current_cpu_data to fixup SMP.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
5dfe4c964a0dd7bb3a1d64a4166835a153146207 12-Feb-2007 Arjan van de Ven <arjan@linux.intel.com> [PATCH] mark struct file_operations const 2

Many struct file_operations in the kernel can be "const". Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data. In addition it'll catch accidental writes at compile time to
these shared resources.

[akpm@osdl.org: sparc64 fix]
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/arch/sh/mm/cache-debugfs.c
711fa8096863e4b50bb97f9ebc44606dc2182ac3 03-Oct-2006 Paul Mundt <lethal@linux-sh.org> sh: build fixes for defconfigs.

Get all of the defconfigs building again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c
15f57a29a19ad0dbb468363cb617b06f71f6de92 27-Sep-2006 Paul Mundt <lethal@linux-sh.org> sh: Add support for cacheline poking through debugfs.

A simple debugging aid for easier visibility of the respective
cachelines.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/arch/sh/mm/cache-debugfs.c