Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1384579pxa; Thu, 20 Aug 2020 09:53:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeh+Fv2JyWAbMStmzzrufStWT92KohVwZCqLHtgwkVHE4j8kF1c9ZrFKJa0obcn4KVyC6U X-Received: by 2002:aa7:db51:: with SMTP id n17mr3716860edt.222.1597942423682; Thu, 20 Aug 2020 09:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597942423; cv=none; d=google.com; s=arc-20160816; b=1I5GdFo+DgADIGZNa6TPthKw8QpVRi5uSuuLU9cLTaZBXJTa115T6GFxWsyUhHrRMe 7n5q6JItGjfxq+SigUG8X0DqibYW/a1pPMcNBT74iDFagMghsBWA9Qaj83hmoYXXlFD4 lMs4UKjiAfZGy/kcLYbj+2u1yO33HKuGTsnoaWflECHNRkI7iybNTO2x2f010Nwfonce YbkHkqplCUEvhZDBcehPA6nOkNjUq5mN3xtuU8tR0ZG1Bqj7t44uEgF0F9uNMPzL/Fg7 TB7Emu+yiYv24kWmLK8DnqqBvkCTr9CKhEjQ8uHvmO4VYP6zNryAVkAM/VotcCmoKsk7 iSIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=ttIJlviXRqZxAxtxH+hG4+ubv+c8HQ+vfLAQx8qV+I4=; b=nq5W3k2bGj5a6razA59LiuovpaP/w3jMrQX2u/0RjJgfntsVY7okizKUjTnbDawUGT 0HNDnmaeQ/NDtpfCfmiS2huFrTT8JUZ+c178/XQLTKxKIngTOMs6qumETA6i+2cg5kHR ERskXFC+6j44rmH1u+hkZt6r3qEU14XivuMdkjt4cnhZjH5ePTIYIMPe0GoCFO+GwTwg /itiGU1PckVE8XCZKUJcPB3NlhtV8H4RorKb2d2zuqPnCIU8BOqBGYexRzDhlXRO0GHn 1hxMHJ0Qvm/lZidMsaqC3l5f5AnNlK3Wlku4Xgg4JSKYSP8SGvFo0gueU7sBXLiZQEvS jeTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=hnZHzQ2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si1801303edr.467.2020.08.20.09.53.19; Thu, 20 Aug 2020 09:53:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=hnZHzQ2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgHTQnb (ORCPT + 99 others); Thu, 20 Aug 2020 12:43:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728132AbgHTQnV (ORCPT ); Thu, 20 Aug 2020 12:43:21 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0598C061385 for ; Thu, 20 Aug 2020 09:43:20 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id k13so1177030plk.13 for ; Thu, 20 Aug 2020 09:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=ttIJlviXRqZxAxtxH+hG4+ubv+c8HQ+vfLAQx8qV+I4=; b=hnZHzQ2BR/E+yCoxiSBCD2IJOqDiEM4mKjMBV0OQwzT0KRlvjCInTeC5DFqjCoDsuv gXj3jxSSwtJMdbxQajsJnvSQl1mT/lbPELXwWK3uHPxJ8x8L2x7l1/6FnXZ4Kagwhsom hYEaR6K69e/fqRjVqCejptSi6S8U4lnGpYcte7zEeeDQviEO3z2+pNOcJfI3qst7uks/ rVXPIRG4o+ka5FOi3Ua8nLrhNco5LDMgq0ncmJkzJ8tg372e+qqJBWUus8MLJUsL80v9 Y6Rng43LFKpwukaRBAZWFvTCIQ8ArRAh87K4G82ruUeN8dIgSsS3h5jzFnkcWt89dyh5 Npkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=ttIJlviXRqZxAxtxH+hG4+ubv+c8HQ+vfLAQx8qV+I4=; b=N49WbvWzXXWRM8rsJ4lTghE9b1dG94YwBUPf2g2nCdtf2ybWkDMlGj5ELLUbeIjtiC GUTpcwj8WVKQCUTYWoMm7OUcBdz6FJN87XCSP39Pg1xsmlV/e6Slm4xQxkjvXduGvrPh +2i7SV9P97IZL87r20p2K4GH80AwR5aeTpovDynV8HG2QVlWUTYnE1d4SNIuFokvNJEK CSEHoMK73hELobMC1eZGpkpbMyvFNhyTl8g1ibTpvMDXh2Q6eJaRAWoFYE5dN/Noxy0f M7aLGRW+H74+3t/cy47Pi+pdghp+N5/WxXc5It6HkuD+n046Fnp6R5ZdWiDkHWwB6etz YjiQ== X-Gm-Message-State: AOAM5318/5JMpHSgKzkFk3E/pXM/Uxg5qffIvuiFpUJj09KIFmBX44H5 t4/HsB15sIHAMyFXX8EA7skwhg== X-Received: by 2002:a17:90b:1c06:: with SMTP id oc6mr2976623pjb.182.1597941800346; Thu, 20 Aug 2020 09:43:20 -0700 (PDT) Received: from ?IPv6:2601:646:c200:1ef2:f533:b597:23b4:ec96? ([2601:646:c200:1ef2:f533:b597:23b4:ec96]) by smtp.gmail.com with ESMTPSA id b15sm3150569pgk.14.2020.08.20.09.43.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Aug 2020 09:43:19 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andy Lutomirski Mime-Version: 1.0 (1.0) Subject: Re: [RFC][PATCH 4/7] x86/debug: Move historical SYSENTER junk into exc_debug_kernel() Date: Thu, 20 Aug 2020 09:43:15 -0700 Message-Id: <156769F5-0BCC-4FB8-A56D-0E92601F558A@amacapital.net> References: <20200820163453.GE1362448@hirez.programming.kicks-ass.net> Cc: Josh Poimboeuf , Brian Gerst , the arch/x86 maintainers , Linux Kernel Mailing List , Kyle Huey , Alexandre Chartre , Robert O'Callahan , "Paul E. McKenney" , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Andy Lutomirski In-Reply-To: <20200820163453.GE1362448@hirez.programming.kicks-ass.net> To: peterz@infradead.org X-Mailer: iPhone Mail (17G68) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Aug 20, 2020, at 9:35 AM, peterz@infradead.org wrote: >=20 > =EF=BB=BFOn Thu, Aug 20, 2020 at 11:17:29AM -0500, Josh Poimboeuf wrote: >> On Thu, Aug 20, 2020 at 05:21:11PM +0200, peterz@infradead.org wrote: >=20 >>> qemu-gdb stub should eat the event before it lands in the guest >>=20 >> Are we sure about that? I triggered the warning just now, stepping >> through the debug handler. >=20 > Not sure at all, that's what seemed reasonable, but since when did that > stop virt ;-) >=20 > Also, can you trigger that same with upstream? Because I suspect this > ought to tickle the old code too. I=E2=80=99ve lost track of how many bugs QEMU and KVM have in this space. L= et=E2=80=99s keep it as a warning, but a bug. But let=E2=80=99s get rid of t= he totally bogus TIF_SINGLESTEP manipulation.=