From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-174.mta0.migadu.com (out-174.mta0.migadu.com [91.218.175.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F39A839A81B for ; Wed, 10 Jun 2026 20:41:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781124068; cv=none; b=HWlvMlBV5kFhIc/WMxvgBf2vhzWCAQU5XVzBg3jstbSBrdksEeBPv5qffBxy5Vny8xXXOy/gZ9LeY6LAFlSOu6Cwi/yQINyHReXEeLdALkbpt7Arc+/yc9epvB/O2BxV0PYh644yTIO04UlaekhpNZMKp8aMd8uL1HeBzPOwZPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781124068; c=relaxed/simple; bh=lozbeQ0aWoP2YH50Xo5ndOz8uDnWQvqUDqbUfUVFaWk=; h=MIME-Version:Date:Content-Type:From:Message-ID:Subject:To:Cc: In-Reply-To:References; b=a+Oz+EZrNe2oBz/ASh3l3nClrqw8oDtKbM8W/2dI0L7YOUhmrRC6vEv3y287OyIMnlHmjtZXGRfkxL8gX/Li5uzH+yJ/4t9wHQ78jDdcIld2Jms/tm0q/kyv4rzEP3X9woHP4UQmkgUD6eF59RVWizgOsA+OFoPO4yLyC38e/PM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rjp.ie; spf=pass smtp.mailfrom=rjp.ie; dkim=pass (1024-bit key) header.d=rjp.ie header.i=@rjp.ie header.b=EGT6cFIC; arc=none smtp.client-ip=91.218.175.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rjp.ie Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjp.ie Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rjp.ie header.i=@rjp.ie header.b="EGT6cFIC" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjp.ie; s=key1; t=1781124064; h=from:from:reply-to:subject:subject: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=LdCQzd0OteIiOFzs9xRYLJUZ23O0gixPAMrEbBa1Jgc=; b=EGT6cFICgOV4Rrf7MD1Rk/YXO+rg2O8L69k5l3x/MeWjC8rBWYXbsu0cXt4FIgfMdmEeIr DvbIcE4I5WbPKY39a71esgsk7SP82Q8YviYwigp0tq08vpsOiaXAARNl86TIKAsJO4oKHv CRC/lyiW9t8iVzThnrO+//V3ZMH3/oc= Date: Wed, 10 Jun 2026 20:41:02 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Ronan Pigott" Message-ID: <3868008f140c843f4443b79d800dba5456df174a@rjp.ie> TLS-Required: No Subject: Re: UMIP and clearcpuid= To: "Borislav Petkov" Cc: linux-kernel@vger.kernel.org, x86@kernel.org In-Reply-To: <20260610200054.GDainCdpF585khK77w@fat_crate.local> References: <20260610200054.GDainCdpF585khK77w@fat_crate.local> X-Migadu-Flow: FLOW_OUT Hi Boris, June 10, 2026 at 1:00 PM, "Borislav Petkov" wrote: > The reason for wanting to disable it being? My use case is playing Windows video games via Wine. For whatever reason, they like to use these instructions: $ journalctl -b -g umip -o cat --since=3D-5m umip_printk: 117 callbacks suppressed umip: StreetFighter6.[3837] ip:15f523f4d sp:524fecb0: SGDT instruction = cannot be used by applications. umip: StreetFighter6.[3837] ip:15f523f4d sp:524fecb0: For now, expensiv= e software emulation returns the result. umip: StreetFighter6.[3837] ip:15f523f4d sp:524fec20: SGDT instruction = cannot be used by applications. umip: StreetFighter6.[3837] ip:15f523f4d sp:524fec20: For now, expensiv= e software emulation returns the result. umip: StreetFighter6.[3837] ip:15f523f4d sp:524fecb0: SGDT instruction = cannot be used by applications. I don't think I benefit from the UMIP protection or the emulation, so I'd rather just disable it. clearcpuid still works, but results in a tainted kernel etc: kernel: clearcpuid: force-disabling CPU feature flag: umip kernel: !!! setcpuid=3D/clearcpuid=3D in use, this is for TESTING ONLY,= may break things horribly. Tainting kernel. so I think a umip=3Dno flag as originally proposed could be preferable. W= ould that be acceptable? Cheers, Ronan