Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2103703rdb; Sun, 21 Jan 2024 07:33:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdLZtAxpRDEnkwPdkgVzP/5Bd3UgvtTsW5xYKFSMA/ivW7esYt7KWn19Xy2wOJS9Vransh X-Received: by 2002:a05:6358:d048:b0:175:4d29:ac23 with SMTP id jb8-20020a056358d04800b001754d29ac23mr3156482rwb.26.1705851219808; Sun, 21 Jan 2024 07:33:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705851219; cv=pass; d=google.com; s=arc-20160816; b=yf6YxOu/qHKJsewtdFmUoqmnABW3R9Ub2LqraPKr+8tOGYsJaI/6Fd07NhokVpVwH+ fOezeV2MHVFIAgrUpXfGCaGyCRSXs2hHalbI5wOvyhm4b3lqqX1KyxtabhuSR5kGZb// 7TbNqx3fQz2986tYoNueeg+we/yql9l2kGmjTnhPugQ2phh83PMHeii/Oyixj6x8lk7K YTORS2sZn/ZGhi+tIEgdxz4CSBLG/XGhVx+bwOhOArTB18jFqtONUHb2siv+Rbpz6xYD p1DNXOxhaY5x4wTXwlHvtt/nKqWGpKEcgjero7IxbfzTpFOCt2mVFo8DuqfaXftfZPFN kVzg== 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:references:in-reply-to:message-id :subject:cc:to:from:date; bh=XG/dvvYf9k8MLBIuMCvsrnd7cswnth45vyBhRWGvND4=; fh=z29eBXqFL3Boe6Hj0gX+AQqr3VMcDFF1yCdkGH8CZlE=; b=JbdJrHSKgDb7xzt/NeVXjl/ZDRrvyG2gTIncS0YZXYiPZ2DEvuyc+uqxUfzGaKTryt 8EZZsfENwMZ0pFpZx6w0+G12HpNv9ZGKArOP/KrwwRY+wgOyfi1lToL5H1Nr3BaChGTN WnVQvAj0zjerbhE9kXtH//T1QRnqkiSjiV8DVCHDNDkrEQ3fz8nQAFBRdcWcUxAxyz+g J+fK5HxWhboKmvs7sP8iX4D3FLm/lTfUFXkkrEcwDkSD92ZAz/XUgNh7+zsvlZqtiHKV qHdYKi0a25KY5lD8EFBblwXnsqpzKn46B8l9l1aa81niMTiw3Fad4UIdypTrd1oLoMeV aesg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-32087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32087-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d14-20020a17090ae28e00b00290358165d9si5652878pjz.13.2024.01.21.07.33.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 07:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-32087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32087-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 439EEB217FB for ; Sun, 21 Jan 2024 15:33:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97C1D376EB; Sun, 21 Jan 2024 15:33:28 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2303B376E4 for ; Sun, 21 Jan 2024 15:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705851208; cv=none; b=QXPxyUc/TBRMb6OpBR/P6ZzOR+mmwiOy2A/3XVJ6BSzj88N0ZcONBycT2m4jaB4C/l5MF72BzAPsfKbX/AM/hkdjnbumjyuq/E9pgyB/5dQtSShrAw0S+X6034oOulYV9e2jWdzkCJbWef10GzEpfs08p93cKzpfMUxDM+b7D4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705851208; c=relaxed/simple; bh=XG/dvvYf9k8MLBIuMCvsrnd7cswnth45vyBhRWGvND4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HZGNZqggVZ55TB7d0wKHogjjnUDcZv8psln5ns5acG8f99g3xZuZJ/DiGmbKxXxoTozCpczwGzP7pHiE4z+uxstO6I4S1nlaFUcMsQRUjMubTw3Tvyfp2nUJkzEx0W5rUG87leBryYdfprl8zGy3ZLcWJ20Zqpd1OjarCCZ8sI4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11F22C433C7; Sun, 21 Jan 2024 15:33:24 +0000 (UTC) Date: Sun, 21 Jan 2024 10:33:23 -0500 From: Steven Rostedt To: Matthieu Baerts Cc: "Masami Hiramatsu (Google)" , x86@kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , linux-kernel@vger.kernel.org, Huacai Chen , Jinyang He , Tiezhu Yang , "Naveen N . Rao" Subject: Re: [PATCH -tip v2] x86/kprobes: Drop removed INT3 handling code Message-ID: <20240121103323.6a48d0fb@rorschach.local.home> In-Reply-To: <20240121103144.4bf735c6@rorschach.local.home> References: <166981518895.1131462.4693062055762912734.stgit@devnote3> <06cb540e-34ff-4dcd-b936-19d4d14378c9@kernel.org> <20240120170517.5cadbc20@rorschach.local.home> <20240121112852.381ebd7bf37ea6d2236db9f2@kernel.org> <20240121180544.8c663977651d2a18291318d5@kernel.org> <20240121103144.4bf735c6@rorschach.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 21 Jan 2024 10:31:44 -0500 Steven Rostedt wrote: > My guess is that qemu does not treat the IPI being sent as a memory > barrier, and then the CPUs do not see a consistent memory view after > the IPIs are sent. That's a bug in qemu! More specifically, I bet qemu may be doing a dcache barrier, but not an icache barrier in the interrupt. If the code is already in qemu's pipeline, it may not be flushing it like real hardware would do. -- Steve