From: Pavel Machek Subject: Re: [PATCH v3 09/27] x86/acpi: Adapt assembly for PIE support Date: Tue, 29 May 2018 14:31:14 +0200 Message-ID: <20180529123114.GB21399@amd> References: <20180523195421.180248-1-thgarnie@google.com> <20180523195421.180248-10-thgarnie@google.com> <20180524110306.GA20225@amd> <20180525091447.GC9666@amd> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3574584313153394462==" Cc: Kate Stewart , Nicolas Pitre , the arch/x86 maintainers , Sergey Senozhatsky , Petr Mladek , Len Brown , Peter Zijlstra , Yonghong Song , Christopher Li , Dave Hansen , Dominik Brodowski , LKML , Masahiro Yamada , Jan Beulich , "H . Peter Anvin" , Kernel Hardening , Christoph Lameter , Alok Kataria , Linux Doc Mailing List , linux-arch , Jonathan Corbet , Herbert Xu Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: linux-crypto.vger.kernel.org --===============3574584313153394462== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IrhDeMKUP4DT/M7F" Content-Disposition: inline --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2018-05-25 10:00:04, Thomas Garnier wrote: > On Fri, May 25, 2018 at 2:14 AM Pavel Machek wrote: >=20 > > On Thu 2018-05-24 09:35:42, Thomas Garnier wrote: > > > On Thu, May 24, 2018 at 4:03 AM Pavel Machek wrote: > > > > > > > On Wed 2018-05-23 12:54:03, Thomas Garnier wrote: > > > > > Change the assembly code to use only relative references of symbo= ls > for > > > the > > > > > kernel to be PIE compatible. > > > > > > > > > > Position Independent Executable (PIE) support will allow to > extended the > > > > > KASLR randomization range below the -2G memory limit. > > > > > > > What testing did this get? > > > > > > Tested boot, hibernation and performance on qemu and dedicated machin= e. >=20 > > Well, this is suspend, not hibernation code. >=20 > > So "sudo pm-suspend" or "echo mem > /sys/power/state" would be good > > way to test this. >=20 > Thanks, it worked. I added this to the testsuite I use for KASLR. Thanks! You can add my Acked-by:. Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlsNSBIACgkQMOfwapXb+vJcmwCfVtj/DQE+VyxRZUU8UjiQVdHr BO8AoIc6OVRZyFmsEwBtGucDDnQJI4fU =APXA -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F-- --===============3574584313153394462== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization --===============3574584313153394462==--