Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp257689rwd; Wed, 7 Jun 2023 23:35:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7TEXPdFwO1Ii51PHlzTh4PZghRafSTv8eJTIqOZP9mLxSH15ezwBxyZrnbNtAO9Htm5Eru X-Received: by 2002:a05:6a00:cc9:b0:656:e7a2:5362 with SMTP id b9-20020a056a000cc900b00656e7a25362mr5863260pfv.16.1686206159262; Wed, 07 Jun 2023 23:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686206159; cv=none; d=google.com; s=arc-20160816; b=UON5Pb16tCtnsJTJkzv/9jQfapTpwvP99wjbCbZ/P9tGTI7SHanXb9rj23N/zT/AnO ZeBUvN7TYzPKrxWjV8LqrsXghakfLRZUndV+QzdU9t+baqmpgR07j6CZrObcSEnDsA/x rvSwxcYEqUxJcylz5yKs/U5ghvfUgs5eKDAQTCLqs3iPIJ5nKq0PJlI8HSCaTl3sikfM lpITBkpB3XYAF+GpOxtss+FVzAVF+OItJ3SdmYeVVPETCda7Lln+8W1yyZYOgYoP2ybk Bw0awty92fM22Kl4Hoy+1uR0t1fBiyfKLrqQQnVyvk76BIilRfKsN9N67n94Q3WaGQAm lRQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=0SaX6NtKYZMTim32HIHOrx8xVzXx77vvLis1U96tRWQ=; b=JezlnQeOffDOmwWuspOvSo6ttEzDvprItFyeTHxsaEeqarMskMlelzXkO5ji8zIqgU NsEgWYS4ZVLEaaoqz2S8LBW/hNscoq5bik10zXGg8cuZ+Rh5lRy0qxPz3bJVJLIxP9lW htohdiSfeq+js7yman8XWnF5OhlfmwrO3BRTzO+rjr+04o93fpuxwFU/o2bvcYcsZeV0 joCgRalzGLUmYhBWJhf2chDWKB36Ni2ApU1L3DZ2DNvhOGLedr244r8wcJNZTJqxN8aC TKQGzx4HdhADhy8u9T4Rc9bPfM1ha54Fi/hYVrUgt6Q6SacnnKaq7UFzZ677kBhyTEAr B7+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=GWSiC+kO; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a056a00000600b006430bec8238si322752pfk.328.2023.06.07.23.35.43; Wed, 07 Jun 2023 23:35:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=GWSiC+kO; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233170AbjFHGQc (ORCPT + 99 others); Thu, 8 Jun 2023 02:16:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233922AbjFHGQb (ORCPT ); Thu, 8 Jun 2023 02:16:31 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A14B1BC6 for ; Wed, 7 Jun 2023 23:16:30 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B18871FDE2; Thu, 8 Jun 2023 06:16:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1686204987; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0SaX6NtKYZMTim32HIHOrx8xVzXx77vvLis1U96tRWQ=; b=GWSiC+kOOu9YB8l2UD6QTaP5K/JXTrGgnlhGP99yTXFt4/YDk0MkG6IcaEV1OlKx2fwKGj F7fyUmxHeOTG3vTjtSBnAwzeaXNQOL6Fkn6LDkREKuObuePU9lmelb98tmfsRphnPsKcq6 4kMOLzgR7bn19n1HKQlCXamHbzBb9i8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1686204987; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0SaX6NtKYZMTim32HIHOrx8xVzXx77vvLis1U96tRWQ=; b=q+jF671Hyq5DguVVm+Sl2HgtqChWjkmCG5Gd2stjJ/zr8L92NcTypQcf8rN/4RRj4Os2s2 gHcMNTAjamjOU2Bg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 8C26713480; Thu, 8 Jun 2023 06:16:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id wQ8TITtygWQ3GQAAMHmgww (envelope-from ); Thu, 08 Jun 2023 06:16:27 +0000 Message-ID: <4217f682-f0e3-28de-1fb9-634c5df3581a@suse.cz> Date: Thu, 8 Jun 2023 08:16:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 3/3] x86: Disable running 32bit processes if ia32_disabled is passed To: Thomas Gleixner , Andrew Cooper , Nikolay Borisov , x86@kernel.org Cc: linux-kernel@vger.kernel.org, mhocko@suse.com References: <20230607072936.3766231-1-nik.borisov@suse.com> <20230607072936.3766231-4-nik.borisov@suse.com> <87legvjxat.ffs@tglx> <80f2045b-f276-e127-8e46-87fb6994fb41@suse.com> <87fs73juwa.ffs@tglx> <87a5xbjpk2.ffs@tglx> <875d0ab7-4470-25e2-6c01-72e231aae515@citrix.com> <874jnjj5z2.ffs@tglx> <278d7231-ee27-602f-4ba7-45d45d6772b3@citrix.com> <871qimkdft.ffs@tglx> Content-Language: en-US From: Jiri Slaby In-Reply-To: <871qimkdft.ffs@tglx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08. 06. 23, 2:25, Thomas Gleixner wrote: > I really wish that we could disable syscall32 reliably on AMD and make > it raise #UD as it does on Intal. Sorry, I am likely missing something, but why is not #GP enough when we set CSTAR = 0? It's of course not as good as Intel's *defined* #UD, but why is not the above sufficient/reliable? thanks, -- js suse labs