From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 3/3][RFC] tools: create power/crypto utility Date: Tue, 26 Jun 2018 00:16:15 +0200 Message-ID: <20180625221615.GA15249@amd> References: <78af30838d0bac69bdd6e138b659bcbb8464fd13.1529486870.git.yu.c.chen@intel.com> <20180621090142.GB21807@amd> <20180621190401.GA14623@amd> <20180625115405.GB17001@amd> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Chen Yu , Ted Ts'o , Len Brown , "Lee, Chun-Yi" , Borislav Petkov , Linux PM , Linux Kernel Mailing List , "Rafael J . Wysocki" , Stephan Mueller , Eric Biggers , Denis Kenzior List-Id: linux-pm@vger.kernel.org --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >> >> > If you want to maintain uswsusp in kernel tree, I guess that woul= d be > >> >> > an option, too. > >> >> > >> >> No, it isn't an option due to the dependencies on crypto libraries. > >> > > >> > Why not? > >> > >> You need a specific set of devel libraries for the utilities to build > >> and that need not be present on all systems I suppose? > >> > >> Besides, s2disk is currently tangled with s2ram which is obsolete, so > >> I'd rather not. > > > > Its not tangled. >=20 > Yes, it is. I checked the Makefile, and it builds from separate sources. Yes, it is in one repository, but s2disk does not depend on s2ram (s2both does). Anyway... that's really besides a point. Interested parties can easily fix up the userland parts of uswsusp, change crypto, add or remove dependencies, move it to other hosting, or drop it and start again. Kernel interface is flexible enough. If Chen wants to move the s2disk encryption into kernel, it is his task to explain why that is neccessary. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlsxaa8ACgkQMOfwapXb+vJyFwCfWUccgGfheRduGC2ZOul4mXrL 40oAoI1WWJXf10/e9kxVdLKXp09QFciq =NQCN -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--