]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: ISS: allow simdisk to use high memory buffers
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 21 Sep 2016 00:58:20 +0000 (17:58 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 21 Sep 2016 03:43:22 +0000 (20:43 -0700)
commit623c86d035cead27b382c9caf9954c8de0f9d712
treec85182b622a33bed1b69d4bccd34118c2e8156ba
parent62276124af24d77afc708a24b172d1884e1ba26e
xtensa: ISS: allow simdisk to use high memory buffers

ISS kernel by default has only low memory. But it may be configured to
support high memory and started in a simulator with more than 128M of
RAM. Simdisk driver in such configuration can get IO request with a
high memory page. There may be no TLB entry for that page, only page
table entry. However simulators don't do pagewalking, so such IO request
will fail. Touch IO buffer in the buffer read/write loop so that a TLB
entry is likely there when read or write simcall is invoked.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/iss/simdisk.c