From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 CAF5A1A1E0B for ; Sun, 25 Sep 2016 12:01:45 -0700 (PDT) Received: by mail-wm0-x22b.google.com with SMTP id 197so18634883wmk.1 for ; Sun, 25 Sep 2016 12:01:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=JGS8oPRe7rgBP30Dds2yxzM77Apei4b/PQjvYSy50LE=; b=AI1x4zXDcEuJviBuRqkkItUZ9uVj7s6b/EULrVw/Fag+yZhf0ZRaZuO3JlxDiS7E3n NDAzV6lSxjFW17PFw4dwpVacsBAtjkKzghcofiiaLAljr3t7fYNdWNUdZUuFP3svtwaU jIWHbnKso1LjjAtwsDF2s+bAlFnkLkHpeIq2wQzVZfPbe2aE3CPieuEViQ9jEXN7e9Un 0ovmYThup1J9ZuIfKhxbcgZ8SKjYWTFjJJ2fqlqNKw9IPad5n5h6dW2k80J9AXrKuUPg Xfzkj27/+qcsFZGcOLnoTD0WlCDyTDBTkyugmBCa84r60R1xUmejNLzH2Upgx9SmlluF SmXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JGS8oPRe7rgBP30Dds2yxzM77Apei4b/PQjvYSy50LE=; b=dD9VEb7tc3DMSOK0EtVp+LJpq2rhcYYbDqN+NObgtzIPGd9YRv4IoWlEgc46dCRKMR StdG2PzjM13jPILz+Rkg3rkg9+9nMY7KC9p28+bt1bM5K63nXe5w5U8bWxuwnnZ5Sb6M nXnHAn3m1xDg1ZRETux5TzUSbY+zaH5K1ooCPxyQ6SQtckaslp0RrgtB+bXBvrtRrkWZ VhkJQ/DJY5lDBUy7DIBRZ2UdBmQ49b4Smhuxuzico8HdTQyeSo2pVn+ON394SDXzMdkZ xHR/rquqFPonwpInmW7NTJs+hu4y7dGWJoBxEeI8jHNcFs4/vDpXvyQJv95e6buzgZIe IaMg== X-Gm-Message-State: AA6/9RkAoHrt5apEeAWL/8Ta19+m0+C5CHHTY9RpNjva65hpRPAj/KjwjrJe4o/kaff2xOHVBQHGcFcWCKhI8Q== X-Received: by 10.194.84.67 with SMTP id w3mr14555024wjy.148.1474830104307; Sun, 25 Sep 2016 12:01:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.36.212 with HTTP; Sun, 25 Sep 2016 12:01:43 -0700 (PDT) From: Michael Zimmermann Date: Sun, 25 Sep 2016 21:01:43 +0200 Message-ID: To: "edk2-devel@lists.01.org" , Ard Biesheuvel , Leif Lindholm X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: 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: Sun, 25 Sep 2016 19:01:46 -0000 Content-Type: text/plain; charset=UTF-8 Hi, which side effects can SetMemoryAttributes have? I have a device where setting the framebuffer(which is part of DRAM) to EFI_MEMORY_UC makes UEFI hang later on(when already outside the lcd driver). If I do the same on a memory range allocated with AllocateAnyPages instead of AllocateAddress UEFI boots just fine(but ofc, the screen doesn't work). Unfortunately I don't have UART on that device but I'm sure there's no assert because I configured DebugLib to reboot the device in that case - which never happens, it's just stuck when the console drivers(TerminalDxe etc) initialize later on. Thanks Michael