Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-12-01 Thread Xunlei Pang
On 12/01/2016 at 06:33 PM, Joerg Roedel wrote: > On Thu, Dec 01, 2016 at 10:15:45AM +0800, Xunlei Pang wrote: >> index 3965e73..624eac9 100644 >> --- a/drivers/iommu/intel-iommu.c >> +++ b/drivers/iommu/intel-iommu.c >> @@ -2024,6 +2024,25 @@ static int domain_context_mapping_one(struct >> dmar_do

Re: [PATCH] purgatory: Change default sha256 optimization to -O2

2016-12-01 Thread Geoff Levand
Hi Simon, On 11/30/2016 03:02 AM, Simon Horman wrote: > This patch doesn't seem to apply against the master branch. > I'm wondering if you or Geoff could: > > 1. Rebase the patch > 2. Include some text about the performance improvement. >Something like what is above would be fine from my pov.

[PATCH V2] purgatory: Change default sha256 optimization to -O2

2016-12-01 Thread Geoff Levand
Change the default purgatory sha256 code optimization from -O0 to -O2, and add a new arch specific makefile variable $(ARCH)_PURGATORY_SHA256_CFLAGS which can over ride this default. Set ia64_PURGATORY_SHA256_CFLAGS to -O0 to retain the previous optimization level for ia64. The purgatory sha256 c