From patchwork Tue Jan 30 09:45:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Hanno_B=C3=B6ck?= X-Patchwork-Id: 193938 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1107632dyb; Tue, 30 Jan 2024 01:55:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzqqc3rc/Mzc1S2N8mfphycGL4nx3/fJkdpNO76LdAN441VQw4C0kQ/RIFvvET+HXq+ox4 X-Received: by 2002:a17:906:f9c3:b0:a31:63eb:5ede with SMTP id lj3-20020a170906f9c300b00a3163eb5edemr7223063ejb.51.1706608530816; Tue, 30 Jan 2024 01:55:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706608530; cv=pass; d=google.com; s=arc-20160816; b=kKlwdsize0xC6fp656ix8FrlhYyEkgZWCZ8EUUCP1qxmi47LzI4sEveD4qnWFgmaRn 0PpvVGpbg7Bj2479W9PCvVNNyatE2SAjf8Adcwk5Px/RutjXJwMy59tbdUPhnVT5f+pn 0OpCviblRYX7LIOA/VxGYBJb6d4mZMShat4HC1Ottah6QFkfm/pF8eOmLbUPXKT8KaqO lMpXTDUB8sjgx3DXiP5z+ciEcuH17xarASDXkbev1FTotCik01VjrZAeB1cEOmiyzL2C l35GEossvD5Je4VcHR5rhs11mjoJqhNYI2KU/dncL8WTQjUSvSlrG5Z84wi4xe3E/8+L M1ow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:original-cc:author:original-subject:dkim-signature; bh=trYWNAUV0wSUcmXctj60BCLcFrht8FOcYWG35FtbyNs=; fh=0jXjllVfjnXxplG9DNbjwm1atnl9iVaJxmue2xnv4ck=; b=sjrvf1onbfoBAWzlY+22cgL3Uf5niro2TuNOiDTkwYW148bf61LTe+Zlnww3gSr6By n/MT2NdbknSO+7o6/oJ5e1bEpvIzOC8eHSkIlcUc0n+2ppecfx7XcTHn5Nz2QiaSQF1h 2YzUscTmPx3Xm+OOHirA2zes8H3kYQQliFfxi+AMw0WgSFXs5lq+AhywrI9R2REJTKst cclb7pRw43hPwnS3eSiqY88Vz0MZWjwkmxpvFMZiZ/Md7MfoajQGC4kQd1HmkVTFBa+x 5xRPaQ5vt4mVerahyuZRU4hwp0fW01Bqs38n0NowXBpPd2sMadhfF5O+upzt9gvXyZ+j 0PwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hboeck.de header.s=key1 header.b=WS6HwZcH; arc=pass (i=1 spf=pass spfdomain=hboeck.de dkim=pass dkdomain=hboeck.de dmarc=pass fromdomain=hboeck.de); spf=pass (google.com: domain of linux-kernel+bounces-44316-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44316-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hboeck.de Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q19-20020a170906771300b00a2d224dd5f1si4347027ejm.417.2024.01.30.01.55.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:55:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44316-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@hboeck.de header.s=key1 header.b=WS6HwZcH; arc=pass (i=1 spf=pass spfdomain=hboeck.de dkim=pass dkdomain=hboeck.de dmarc=pass fromdomain=hboeck.de); spf=pass (google.com: domain of linux-kernel+bounces-44316-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44316-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hboeck.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6BF781F23847 for ; Tue, 30 Jan 2024 09:55:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B8F460B9A; Tue, 30 Jan 2024 09:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=hboeck.de header.i=@hboeck.de header.b="WS6HwZcH" Received: from zucker.schokokeks.org (zucker.schokokeks.org [178.63.68.96]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 917B9605D6 for ; Tue, 30 Jan 2024 09:50:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.63.68.96 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706608261; cv=none; b=nTuyWSzlx0VSHbPtM+ATsdd0ZShPVhLFBPZgKd9CmXVX8FTGJdFb39eJF2luzisnrZLqkAkNbJAp9IVNXFeMfKf6j9gx+PGMMmOLEUEXV5CkXyAkr7dkumgW++foLng4E/CEvue2A0ft9sBsiZ7RCgzq/ddTLqiy0edn/EIyhqk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706608261; c=relaxed/simple; bh=ZQRIYuoVdGBY3FYjM+SKKH2fMwbpdB+uPgmzsErs/zg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=FTV/xxKYBWC+0MXes60aXdzsDCViZwc+tfCbqkN1dGfw0qr3ZKw9vcd+BSy3e1unrEih5F81o/0qSLxpWQ4jw559WEDta2U+BQar0JitZINtt09DLhFVMx47dFD3IDZYYldTL5xDPSX4rupKz8npScXbbCZ59OvzLpO4iX8/VKE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hboeck.de; spf=pass smtp.mailfrom=hboeck.de; dkim=pass (2048-bit key) header.d=hboeck.de header.i=@hboeck.de header.b=WS6HwZcH; arc=none smtp.client-ip=178.63.68.96 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hboeck.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hboeck.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hboeck.de; s=key1; t=1706607945; bh=trYWNAUV0wSUcmXctj60BCLcFrht8FOcYWG35FtbyNs=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=WS6HwZcHIOtytoJP+WpQ2LDHfPR3at5pFhpIMhqc/I7l3Gw8MUFWhAMMV3uxb68L7 n0EhK+TmQabxQwO6yXbiTHp5l00JC8aleaKudL7KvA4ljCk4gqTwiE+5bJSoAHhfHb zMm6Y0bHrWYPl2voMpBGpUluPtNbpRFtITJDNm6wcrH8ugR5ZHB32oxYWYN5KBiTMr yGAzyTsVeve+jremtgeVmdyuAtrrcRbidI/6CMDvDgqvBVBZCRKunfV+34xEtQzciB gAMSSp9hi/aS5DzTUpGmJlTvklzoj1Q6oyECUvwgnLOFaFNKOwQy602FvT+KqHYT68 qGi/ANi/fUCag== Original-Subject: [PATCH] x86: Improve description of IA32_EMULATION_DEFAULT_DISABLED Author: Hanno =?utf-8?b?QsO2Y2s=?= Original-Cc: x86@kernel.org, linux-kernel@vger.kernel.org Date: Tue, 30 Jan 2024 10:45:43 +0100 From: Hanno =?utf-8?b?QsO2Y2s=?= To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86: Improve description of IA32_EMULATION_DEFAULT_DISABLED Message-ID: <20240130104543.28840812.hanno@hboeck.de> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.40; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789508746490588086 X-GMAIL-MSGID: 1789508746490588086 The description of the option disables a default, but does not mention how to change that default. To make it easier to find out, mention boot parameter ia32_emulation. Signed-off-by: Hanno Böck diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5edec175b..a65ff33e0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -3006,8 +3006,10 @@ config IA32_EMULATION_DEFAULT_DISABLED depends on IA32_EMULATION help Make IA32 emulation disabled by default. This prevents loading 32-bit - processes and access to 32-bit syscalls. If unsure, leave it to its - default value. + processes and access to 32-bit syscalls. If set, IA32 emulation can be + re-enabled with the boot parameter ia32_emulation=true. + + If unsure, leave it to its default value. config X86_X32_ABI bool "x32 ABI for 64-bit mode"