Re: [Qemu-devel] [PATCH] target-xtensa: fix ITLB/DTLB page protection flags

2012-12-15 Thread Blue Swirl
Thanks, applied. On Thu, Dec 13, 2012 at 12:13 AM, Max Filippov wrote: > With MMU option xtensa architecture has two TLBs: ITLB and DTLB. ITLB is > only used for code access, DTLB is only for data. However TLB entries in > both TLBs have attribute field controlling write and exec access. These >

[Qemu-devel] [PATCH] target-xtensa: fix ITLB/DTLB page protection flags

2012-12-12 Thread Max Filippov
With MMU option xtensa architecture has two TLBs: ITLB and DTLB. ITLB is only used for code access, DTLB is only for data. However TLB entries in both TLBs have attribute field controlling write and exec access. These bits need to be properly masked off depending on TLB type before being used as tl