From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 13 Feb 2018 09:54:29 +0100 From: Greg KH To: Mark D Rustad Cc: Adam Borowski , Linus Torvalds , Joerg Roedel , Andy Lutomirski , Joerg Roedel , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , LKML , Linux-MM , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Pavel Machek Subject: Re: [PATCH 00/31 v2] PTI support for x86_32 Message-ID: <20180213085429.GB10278@kroah.com> References: <1518168340-9392-1-git-send-email-joro@8bytes.org> <20180209191112.55zyjf4njum75brd@suse.de> <20180210091543.ynypx4y3koz44g7y@angband.pl> <20180211105909.53bv5q363u7jgrsc@angband.pl> <6FB16384-7597-474E-91A1-1AF09201CEAC@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6FB16384-7597-474E-91A1-1AF09201CEAC@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Sun, Feb 11, 2018 at 09:40:41AM -0800, Mark D Rustad wrote: > > On Feb 11, 2018, at 2:59 AM, Adam Borowski wrote: > > > >> Does Debian make it easy to upgrade to a 64-bit kernel if you have a > >> 32-bit install? > > > > Quite easy, yeah. Crossgrading userspace is not for the faint of the heart, > > but changing just the kernel is fine. > > ISTR that iscsi doesn't work when running a 64-bit kernel with a > 32-bit userspace. I remember someone offered kernel patches to fix it, > but I think they were rejected. I haven't messed with that stuff in > many years, so perhaps the userspace side now has accommodation for > it. It might be something to check on. IPSEC doesn't work with a 64bit kernel and 32bit userspace right now. Back in 2015 someone started to work on that, and properly marked that the kernel could not handle this with commit 74005991b78a ("xfrm: Do not parse 32bits compiled xfrm netlink msg on 64bits host") This is starting to be hit by some Android systems that are moving (yeah, slowly) to 4.4 :( thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f199.google.com (mail-wr0-f199.google.com [209.85.128.199]) by kanga.kvack.org (Postfix) with ESMTP id 741E06B0003 for ; Tue, 13 Feb 2018 03:54:37 -0500 (EST) Received: by mail-wr0-f199.google.com with SMTP id w102so10398217wrb.21 for ; Tue, 13 Feb 2018 00:54:37 -0800 (PST) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTPS id 44si7929934wrz.280.2018.02.13.00.54.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 00:54:36 -0800 (PST) Date: Tue, 13 Feb 2018 09:54:29 +0100 From: Greg KH Subject: Re: [PATCH 00/31 v2] PTI support for x86_32 Message-ID: <20180213085429.GB10278@kroah.com> References: <1518168340-9392-1-git-send-email-joro@8bytes.org> <20180209191112.55zyjf4njum75brd@suse.de> <20180210091543.ynypx4y3koz44g7y@angband.pl> <20180211105909.53bv5q363u7jgrsc@angband.pl> <6FB16384-7597-474E-91A1-1AF09201CEAC@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6FB16384-7597-474E-91A1-1AF09201CEAC@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: Mark D Rustad Cc: Adam Borowski , Linus Torvalds , Joerg Roedel , Andy Lutomirski , Joerg Roedel , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , LKML , Linux-MM , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Pavel Machek On Sun, Feb 11, 2018 at 09:40:41AM -0800, Mark D Rustad wrote: > > On Feb 11, 2018, at 2:59 AM, Adam Borowski wrote: > > > >> Does Debian make it easy to upgrade to a 64-bit kernel if you have a > >> 32-bit install? > > > > Quite easy, yeah. Crossgrading userspace is not for the faint of the heart, > > but changing just the kernel is fine. > > ISTR that iscsi doesn't work when running a 64-bit kernel with a > 32-bit userspace. I remember someone offered kernel patches to fix it, > but I think they were rejected. I haven't messed with that stuff in > many years, so perhaps the userspace side now has accommodation for > it. It might be something to check on. IPSEC doesn't work with a 64bit kernel and 32bit userspace right now. Back in 2015 someone started to work on that, and properly marked that the kernel could not handle this with commit 74005991b78a ("xfrm: Do not parse 32bits compiled xfrm netlink msg on 64bits host") This is starting to be hit by some Android systems that are moving (yeah, slowly) to 4.4 :( thanks, greg k-h -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org