Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp69236lqb; Thu, 23 May 2024 11:00:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmgDKPLiGrvDdj34zfrwaN7uEE5A1uCVBvxidjRyu2prXmIFnspM30i0dWpSALkylCtjiLJlJP6gyihkK6WB0oHwphKYGYROlSlqCiDQ== X-Google-Smtp-Source: AGHT+IERq3nM3B8sFaHXwfmz5RT2uwWIAYb8Si6mrwPwr1C2XwRKo0u/sgu5IfWvPWM2CzJNzSkt X-Received: by 2002:a05:6a21:3e02:b0:1af:fb82:bf92 with SMTP id adf61e73a8af0-1b212e506d0mr152046637.58.1716487246080; Thu, 23 May 2024 11:00:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716487246; cv=pass; d=google.com; s=arc-20160816; b=cP1zw4gBUx1i5GIfFo8TgtN5fhxttLezZfHcx8d7NjdDFy3g9S7V22Uu224rKrdPZP 63lbV/bEkWsAgxUEPI8/gJGKkWlU8ujyqNZXt21yaI3h5YvHFQ/j1a+5OQNWHZRVbCNI IKCIsy1tQESVWgZWgFCGOQB9d9oQN1v2iogWeJIfnxwaEjB0K+o9fvnKq4X8RtVin22U YqZYZMD0zizcOlptRIKTNGulHmBeYV1HHpyE7g5wzSIjQ7kB6UHQKJe18DadRjZMHIaB 9wykwafu+5u2RCI2dUUseTGIaqVfLqBzw026wDMzFibTiWtbuagfdMfH3XHpl65hYg0x Myng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=q7k4TNjvnDaL3GtapzbaT+6QBSrg5qq3pInm9s/7MqE=; fh=jkhSYTFTgxSNy7Upo04Zj2XDkonJzkFi1UuQrmEGSbo=; b=Ej+3pmurTgwP7l7DqFa22PLDguCI1toNeEDO4slr5vfHZ5sWbZQewxbBpSgv4Cbc+i F1AHYNn1Kb+ek9DOAEJYfXWrIYpWU/XXapIMGNoHzSKUljUp5Kb+2zkgha2H3VTd6QWa QHPZ2DDUwRztdfLkNY5o651aiw6rScGk9e6rbihWR0DC0DKKPzKI2hQc9/EfsOVfNOp2 4sS3yyymrBBcr2+ASSjRe5LXAyVgA/AsH6Ps2NoBHGE2KyJCpkg0Hy6w/ewBnqSeZrzh 5oMN9yA6wdhrsNATowH5NPD+0qKPEzsa5kOC66WoSFDlVkEFKQJ9CRva1uNsZmykUEOG COpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WWyACaHv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 d2e1a72fcca58-6f4d2b42142si5541064b3a.314.2024.05.23.11.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 11:00:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187850-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WWyACaHv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 3BF88B22330 for ; Thu, 23 May 2024 18:00:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92EA97E79F; Thu, 23 May 2024 18:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WWyACaHv" 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 A8F1FA94C; Thu, 23 May 2024 18:00:33 +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=1716487233; cv=none; b=A5haF7f1LBWKj6J+geHbXhRIHXlsdJclXmuIaZss9n5lOIVHxbalY6uWs8eV2U7u/88wVKHoEHvtIu1Br2NEp6q5QPP2a9vkCSvgcH2HzBdr81NDwDskXE0Y6I3jEo+PRYmgrp0GI0GsyM/TcvbepwpUEAKp/5rHyTz8kPU0fe0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716487233; c=relaxed/simple; bh=LPuvBxy3iF5eqbTEUy7UQgJ9ro1OJVRiXbhQTYzW4BU=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=nLVn7ykYg2ZHYn/ADzSmOoQKadgEASnumoPthstTLQ53gcyYKuu3ZUPlGiEFM9L29hel10kiq/w7WwPcxf0XGgr4lH74pSeOs4PA6RR4feDk19D7vGGWjUfxKAZMp9uUSrDyRfpMhd0NunM/TrXVvkU3PLaluN3y/BM698XURfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WWyACaHv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 375C1C3277B; Thu, 23 May 2024 18:00:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716487233; bh=LPuvBxy3iF5eqbTEUy7UQgJ9ro1OJVRiXbhQTYzW4BU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=WWyACaHvCcfSiW7Ac4wmfxxD63inDTSeTQasgttg15eqpjaWjoMX6sBR/bwKGnUWT 9DbS8DwB3QAPriD2RywSRG3igxM1Mzp0ZFVmkeHC3fW2RXfY18ckiOqXod//4SHPux vGR42czNI55h8SOJRlBYh8KGUIPuOdO6Abvz91OiNVh4nSCblRzHFFpVxkIHxx3rrq fjbB4cwCRjPkab6E23zz0cKyYBbtS+bafbJ58ZZrvqqOjtNAQIy4K8QV48bLeBpAvx ZOlicjpQ/6gklqHRbGbqaR1q0Wl7cnhOQqrMs2CFXIavIKjDcqxUa6VgXfhI+iRwrg m/RUeAf0PAHvQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 16D73C43617; Thu, 23 May 2024 18:00:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: Fix early ftrace nop patching From: patchwork-bot+linux-riscv@kernel.org Message-Id: <171648723308.17418.17188308425434687140.git-patchwork-notify@kernel.org> Date: Thu, 23 May 2024 18:00:33 +0000 References: <20240523115134.70380-1-alexghiti@rivosinc.com> In-Reply-To: <20240523115134.70380-1-alexghiti@rivosinc.com> To: Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, rostedt@goodmis.org, mhiramat@kernel.org, mark.rutland@arm.com, parri.andrea@gmail.com, bjorn@rivosinc.com, conor.dooley@microchip.com, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 23 May 2024 13:51:34 +0200 you wrote: > Commit c97bf629963e ("riscv: Fix text patching when IPI are used") > converted ftrace_make_nop() to use patch_insn_write() which does not > emit any icache flush relying entirely on __ftrace_modify_code() to do > that. > > But we missed that ftrace_make_nop() was called very early directly when > converting mcount calls into nops (actually on riscv it converts 2B nops > emitted by the compiler into 4B nops). > > [...] Here is the summary with links: - riscv: Fix early ftrace nop patching https://git.kernel.org/riscv/c/6ca445d8af0e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html