From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1D6441A1E06 for ; Mon, 26 Sep 2016 05:47:06 -0700 (PDT) Received: by mail-it0-x235.google.com with SMTP id j69so43094366itb.0 for ; Mon, 26 Sep 2016 05:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=b400j2J5oPULS4505r4GebiJ9nK6QtBUV9x9aq3Iisc=; b=SG20eiX4kpM7KbXjwS4/XRvcwdWXHU6KbwQI7vfvFq5ohwde2TTZZ+cvyUS9uJeH4O LwxXc5+ZSjiLEzfzmut3yXqeiPQRk4PWQt/wRSwrSCUnYTa8+heiUpsim+QYXktj5oRd aCCar9Y2ncsivtBniOSIiy+M4Tz9Jg3gTWmHk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=b400j2J5oPULS4505r4GebiJ9nK6QtBUV9x9aq3Iisc=; b=cM8PQBOmDWQXa+NlKRC/Fjw01Va8Ridi2J32FZ24s1qwbOexDxfCB7+O4/KzP1ZpFO LgRA1GWJhpniKZ4+pTJk64NmQFkTw/qY/g4Bnvh1XdI0dGtCogVga97fPyqgkSWJBSxv m4d5adaepX0vW2mgxSCUfjnFpU3YwUnIz0Pseha/KX3XAR5R1bMP9uNDijDtMzSq5fV2 j39yEdsSXV7a2dTEassgVq3yOhhKQY8lVCP7BzvJ65bGHVmXb/6GsLjBjtfshQEE4qM/ ZJK2NbSYAS88lxH2PLh5FseUynXuFmoGbISSp4vURmctSORmPe7/YGrxjxTZ2eVFB+KV xiBw== X-Gm-Message-State: AA6/9RmrkVo5Sbz321XZ/eXiIFzYWl/l00aOb/CfAxNfyydL919Hk2vPVXyIIMphQOjldaQUfM+X19gZiSwCm7/H X-Received: by 10.36.137.9 with SMTP id s9mr16151251itd.58.1474894025460; Mon, 26 Sep 2016 05:47:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Mon, 26 Sep 2016 05:47:05 -0700 (PDT) In-Reply-To: References: From: Ard Biesheuvel Date: Mon, 26 Sep 2016 05:47:05 -0700 Message-ID: To: Michael Zimmermann Cc: "edk2-devel@lists.01.org" , Leif Lindholm Subject: Re: System hang when using SetMemoryAttributes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2016 12:47:06 -0000 Content-Type: text/plain; charset=UTF-8 On 26 September 2016 at 05:44, Michael Zimmermann wrote: > I'm thankful for the hint about _WC because it drastically improves the > speed on my other devices. Glad I could be of help. > Unfortunately, it doesn't fix the device I have problems with. I tested all > possible attributes and only EFI_MEMORY_WB seems to be working(even > EFI_MEMORY_WT is broken). > > The weird thing is that even if I disable accesses to the framebuffer by > disabling all code in the Blt function, it hangs during boot. > I really can't explain this behavior. > Are you saying your framebuffer does work with cached attributes? That would mean the graphics device is DMA coherent, which is actually a good thing. What hardware are we talking about here?