search for: cacheabl

Displaying 20 results from an estimated 107 matches for "cacheabl".

Did you mean: cacheable
2017 Feb 09
2
[PATCH] virtio: Try to untangle DMA coherency
...rhead by wasting coherent memory. > > I get that but you said it actually breaks - why does it? > > It breaks because QEMU doesn't set _CCA for virtio-mmio devices, and that > only becomes a problem when we use the DMA API, because that results in the > guest taking out a non-cacheable mapping. On ARM (and other archs such as > Power), having a mismatch between a cacheable and a non-cacheable mapping > can result in a loss of coherency between the two (for example, if the > non-cacheable gues accesses bypass the cache, but the cacheable host > accesses allocate in th...
2017 Feb 09
2
[PATCH] virtio: Try to untangle DMA coherency
...rhead by wasting coherent memory. > > I get that but you said it actually breaks - why does it? > > It breaks because QEMU doesn't set _CCA for virtio-mmio devices, and that > only becomes a problem when we use the DMA API, because that results in the > guest taking out a non-cacheable mapping. On ARM (and other archs such as > Power), having a mismatch between a cacheable and a non-cacheable mapping > can result in a loss of coherency between the two (for example, if the > non-cacheable gues accesses bypass the cache, but the cacheable host > accesses allocate in th...
2017 Feb 09
3
[PATCH] virtio: Try to untangle DMA coherency
On Thu, Feb 02, 2017 at 04:40:49PM +0000, Will Deacon wrote: > On Thu, Feb 02, 2017 at 06:30:28PM +0200, Michael S. Tsirkin wrote: > > I am inclined to say, for 4.10 let's revert > > c7070619f3408d9a0dffbed9149e6f00479cf43b since what it fixes is not a > > regression in 4.10. > > No complaints there, as long as we can keep working to fix this for 4.11 > and
2017 Feb 09
3
[PATCH] virtio: Try to untangle DMA coherency
On Thu, Feb 02, 2017 at 04:40:49PM +0000, Will Deacon wrote: > On Thu, Feb 02, 2017 at 06:30:28PM +0200, Michael S. Tsirkin wrote: > > I am inclined to say, for 4.10 let's revert > > c7070619f3408d9a0dffbed9149e6f00479cf43b since what it fixes is not a > > regression in 4.10. > > No complaints there, as long as we can keep working to fix this for 4.11 > and
2017 Feb 10
1
[PATCH] virtio: Try to untangle DMA coherency
On Thu, Feb 09, 2017 at 06:31:18PM +0000, Will Deacon wrote: > On ARM (and other archs such as > Power), having a mismatch between a cacheable and a non-cacheable mapping > can result in a loss of coherency between the two (for example, if the > non-cacheable gues accesses bypass the cache, but the cacheable host > accesses allocate in the cache). I guess it's an optimization to avoid cache snoops for non-cacheable accesses...
2017 Feb 10
1
[PATCH] virtio: Try to untangle DMA coherency
On Thu, Feb 09, 2017 at 06:31:18PM +0000, Will Deacon wrote: > On ARM (and other archs such as > Power), having a mismatch between a cacheable and a non-cacheable mapping > can result in a loss of coherency between the two (for example, if the > non-cacheable gues accesses bypass the cache, but the cacheable host > accesses allocate in the cache). I guess it's an optimization to avoid cache snoops for non-cacheable accesses...
2011 Feb 28
0
Patch for serious nil response bug when Action caching responses that are not cacheable
Hi guys, I''ve fixed a pretty annoying bug in Action caching that is detailed here: https://rails.lighthouseapp.com/projects/8994/tickets/6480-action-cache-filter-code-incorrectly-renders-nil-response-body-if-response-is-non-cacheable Would appreciate testers or a direct commit if it checks out :) Cheers, Chu Yeow -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this...
2017 Feb 09
0
[PATCH] virtio: Try to untangle DMA coherency
...ncur > unnecessary overhead by wasting coherent memory. > I get that but you said it actually breaks - why does it? It breaks because QEMU doesn't set _CCA for virtio-mmio devices, and that only becomes a problem when we use the DMA API, because that results in the guest taking out a non-cacheable mapping. On ARM (and other archs such as Power), having a mismatch between a cacheable and a non-cacheable mapping can result in a loss of coherency between the two (for example, if the non-cacheable gues accesses bypass the cache, but the cacheable host accesses allocate in the cache). Will
2013 Jul 16
2
RFC: vfio interface for platform devices
...> defined > > in "reg" and "ranges" in the device tree. > > > > 3. VFIO_DEVICE_GET_REGION_INFO > > > > No changes needed, except perhaps adding a new flag. Freescale > > has some > > devices with regions that must be mapped cacheable. > > While I don't object to making the information available to the user > just in case, the main thing we need here is to influence what the > kernel does when the user tries to map it. At least on PPC it's not up > to userspace to select whether a mmap is cacheable. If...
2013 Jul 16
2
RFC: vfio interface for platform devices
...> defined > > in "reg" and "ranges" in the device tree. > > > > 3. VFIO_DEVICE_GET_REGION_INFO > > > > No changes needed, except perhaps adding a new flag. Freescale > > has some > > devices with regions that must be mapped cacheable. > > While I don't object to making the information available to the user > just in case, the main thing we need here is to influence what the > kernel does when the user tries to map it. At least on PPC it's not up > to userspace to select whether a mmap is cacheable. If...
2008 Oct 01
11
RFE: if/else control flow in probes
...sun.com/thread.jspa?threadID=5075157, but it would be really nice to have support for if/else control flow in actions. Reasons: 1. The ternary operator ?: is already there (though it doesn''t let you do anything with side effects) 2. The user can already write arbitrary and expensive non-cacheable predicates if they want, so performance shouldn''t go down as a result. 3. For performance reasons it would be nice to push expensive non-cacheable predicates inside the action so the cacheable ones can still do their job efficiently (see http://docs.sun.com/app/docs/doc/817-6223/chp-perf-...
2017 Feb 03
1
[PATCH] Revert "vring: Force use of DMA API for ARM-based systems with legacy devices"
...-based platforms will assume it is non-coherent. This turns out to cause a big problem for the likes of QEMU and kvmtool, which generate virtio-mmio devices in their guest DTs but neglect to add the often-overlooked "dma-coherent" property; as a result, we end up with the guest making non-cacheable accesses to the vring, the host doing so cacheably, both talking past each other and things going horribly wrong. We are working on a safer work-around. Fixes: c7070619f340 ("vring: Force use of DMA API for ARM-based systems with legacy devices") Reported-by: Robin Murphy <robin.mur...
2017 Feb 03
1
[PATCH] Revert "vring: Force use of DMA API for ARM-based systems with legacy devices"
...-based platforms will assume it is non-coherent. This turns out to cause a big problem for the likes of QEMU and kvmtool, which generate virtio-mmio devices in their guest DTs but neglect to add the often-overlooked "dma-coherent" property; as a result, we end up with the guest making non-cacheable accesses to the vring, the host doing so cacheably, both talking past each other and things going horribly wrong. We are working on a safer work-around. Fixes: c7070619f340 ("vring: Force use of DMA API for ARM-based systems with legacy devices") Reported-by: Robin Murphy <robin.mur...
2013 Jul 16
0
RFC: vfio interface for platform devices
On 07/16/2013 04:51:12 PM, Yoder Stuart-B08248 wrote: > > > 3. VFIO_DEVICE_GET_REGION_INFO > > > > > > No changes needed, except perhaps adding a new flag. Freescale > > > has some > > > devices with regions that must be mapped cacheable. > > > > While I don't object to making the information available to the user > > just in case, the main thing we need here is to influence what the > > kernel does when the user tries to map it. At least on PPC it's > not up > > to userspace to select w...
2010 Dec 15
5
[PATCH] svm: support VMCB cleanbits
Hi, Attached patch implements the VMCB cleanbits SVM feature. Upcoming AMD CPUs introduce them and they are basically hints for the CPU which vmcb values can be re-used from the previous VMRUN instruction. Each bit represents a certain set of fields in the VMCB. Setting a bit tells the cpu it can re-use the cached value from the previous VMRUN. Clearing a bit tells the cpu to reload the values
2017 Feb 01
4
[PATCH] virtio: Try to untangle DMA coherency
...-based platforms will assume it is non-coherent. This turns out to cause a big problem for the likes of QEMU and kvmtool, which generate virtio-mmio devices in their guest DTs but neglect to add the often-overlooked "dma-coherent" property; as a result, we end up with the guest making non-cacheable accesses to the vring, the host doing so cacheably, both talking past each other and things going horribly wrong. To prevent regressing those existing use cases relying on implicit coherency, but still fixing the original problem of (coherent PCI) legacy devices behind IOMMUs, take the more conse...
2017 Feb 01
4
[PATCH] virtio: Try to untangle DMA coherency
...-based platforms will assume it is non-coherent. This turns out to cause a big problem for the likes of QEMU and kvmtool, which generate virtio-mmio devices in their guest DTs but neglect to add the often-overlooked "dma-coherent" property; as a result, we end up with the guest making non-cacheable accesses to the vring, the host doing so cacheably, both talking past each other and things going horribly wrong. To prevent regressing those existing use cases relying on implicit coherency, but still fixing the original problem of (coherent PCI) legacy devices behind IOMMUs, take the more conse...
2013 Jul 16
1
RFC: vfio interface for platform devices
...16/2013 04:51:12 PM, Yoder Stuart-B08248 wrote: > > > > 3. VFIO_DEVICE_GET_REGION_INFO > > > > > > > > No changes needed, except perhaps adding a new flag. Freescale > > > > has some > > > > devices with regions that must be mapped cacheable. > > > > > > While I don't object to making the information available to the user > > > just in case, the main thing we need here is to influence what the > > > kernel does when the user tries to map it. At least on PPC it's > > not up > > &...
2013 Jul 16
1
RFC: vfio interface for platform devices
...16/2013 04:51:12 PM, Yoder Stuart-B08248 wrote: > > > > 3. VFIO_DEVICE_GET_REGION_INFO > > > > > > > > No changes needed, except perhaps adding a new flag. Freescale > > > > has some > > > > devices with regions that must be mapped cacheable. > > > > > > While I don't object to making the information available to the user > > > just in case, the main thing we need here is to influence what the > > > kernel does when the user tries to map it. At least on PPC it's > > not up > > &...
2006 Oct 12
2
HowTo autogenerate a cahced page that was deleted
Hi I am using "caches_page :index" to cache a page. I delete this file via a cron tab command every 1 hour. However, right after the file is deleted the very next user experiences a huge delay because the page is being generated. Is there anyway to autogenerate the file before the very next user requests the page? A unix or ruby solution would do. thanks, -- nueromancer -- Posted