From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42DBBC61DD3 for ; Mon, 31 Aug 2026 03:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Cc:To:References: In-Reply-To:Mime-Version:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=amc8SiKosELfHQ8GbZGOeDqPZ9VDJ/6DUbc4aDK2v84=; b=1PU77w50WJCMpr 52lHnbYIBa3x6Mtjx5F5q2D4LoHtzUS7wQadKlBMHTKwGnBLCgCzqGO1uF2iuI2XUUih4mWrI1/mx daL4cujFAvzocpjOjlshRkUPnTspWuLjs9ItRiJsrXp5H4CXzsP8S2cEMtw7EJ6ClANKBb7YYBN0F vMizK0BsXqicqYbNkKE7b3klWxqS6xSp1zrnWuxg36ZeCYxdHYltlqKDNimyRZIc3Pn5Qt+3erCo/ hD3nvMepgIBO4mRj10XL8ukHquwygnfpYPMFQySN5mvBFGRc1ULUnepsiLOc/Ud8OBuy6IYifI3AE TfE9XTbLOHhDAsZLyLnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x0t3T-00000008Qds-0Xme; Mon, 31 Aug 2026 03:51:31 +0000 Received: from va-1-114.ptr.blmpb.com ([209.127.230.114]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x0t3P-00000008QdL-2jcr for linux-riscv@lists.infradead.org; Mon, 31 Aug 2026 03:51:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=2212171451; d=bytedance.com; t=1788148279; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=D3NavzyV7KU3YGjx7vQPk6D5wG9vWP7Ie6nPRhzgPho=; b=jjA/nPJeifN9mW7KHr4BOWLZepw0nt8gzH57iQSoACDQCvdbtqEpAOssisISh911CtFw5b i1VqgCRbrNyBCGfNQhXOYIlcsWbQxcmarAkGEza+InPnT1kJ0YUC7568LxcTFZUIf2eNlb 1LYqyI6h7QaYTBcYScJ0Y3XxTXgKur0XI6pcyqBjzZSj9c4lcG2BSEgyGUBQ7sWKiKez7h LwdPRuGX9yKMGCvzRXbdtgwDX1UBjK7Yv1+fdvxOOPNtG4ENVDyHX0zzw8bVznTprEPZT1 HQBrama6/jw8wcdWpDtCb22Psn5TSnzJ2bUXii0kSmk40Xt1Rz6Ne/fWl2sOzw== X-Mailer: git-send-email 2.20.1 From: "Rui Qi" Subject: Re: [PATCH] riscv: ftrace: reject out-of-range non-direct targets Mime-Version: 1.0 In-Reply-To: <20260707121235.759104-1-qirui.001@bytedance.com> References: <20260707121235.759104-1-qirui.001@bytedance.com> X-Lms-Return-Path: To: , Cc: "Rui Qi" , , , , , , , , Date: Mon, 31 Aug 2026 11:50:45 +0800 Message-Id: <20260901020000.1-qirui.001@bytedance.com> X-Original-From: Rui Qi X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260830_205127_774463_8B872ADB X-CRM114-Status: UNSURE ( 2.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Steven, Gentle ping on this patch. It's been over a month since submission and I'd appreciate your review when you have a chance. The patch fixes ftrace_modify_call() on RISC-V to properly validate old_addr/addr instead of always treating sites as FTRACE_ADDR, and rejects out-of-range non-direct targets that can't be dispatched through the existing ftrace_caller path. Thanks, Rui _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-1-112.ptr.blmpb.com (va-1-112.ptr.blmpb.com [209.127.230.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1078D3859CB for ; Mon, 31 Aug 2026 03:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.230.112 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788148295; cv=none; b=GiHfSrsbnh4Ms8J/sNEJZachPClKwCY+quWdvMPvaFZplokujSWRFi83wOLx6lOQBMdff8X0OkzyJOfG7ruGQA2nfe7dQWYONh32mpxHkreUeUhdSBxZtvBTKbtp9IDEDnb7z+Qc0/SLIc7vFOY5IjO11IEd+904jKvcY8qIURE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788148295; c=relaxed/simple; bh=D3NavzyV7KU3YGjx7vQPk6D5wG9vWP7Ie6nPRhzgPho=; h=Cc:From:Date:References:To:Message-Id:Subject:Content-Type: Mime-Version:In-Reply-To; b=OJqOEB4g9fGwWZX6qLfOvKk0vMKgo6Qol1sfPNN0AN9c5Ws76SeL3t7IwFgCtDIapAqHo1Ua65EFfx7JTUHcvoH/ioQDMCVP0ltHnWWLbDc0MYDxljFA1XoYKtzobhLXHeB6BZw3p9LnjlJzHybobeqR+mCOfJYKfp0cS8BRtGI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=jjA/nPJe; arc=none smtp.client-ip=209.127.230.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="jjA/nPJe" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=2212171451; d=bytedance.com; t=1788148279; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=D3NavzyV7KU3YGjx7vQPk6D5wG9vWP7Ie6nPRhzgPho=; b=jjA/nPJeifN9mW7KHr4BOWLZepw0nt8gzH57iQSoACDQCvdbtqEpAOssisISh911CtFw5b i1VqgCRbrNyBCGfNQhXOYIlcsWbQxcmarAkGEza+InPnT1kJ0YUC7568LxcTFZUIf2eNlb 1LYqyI6h7QaYTBcYScJ0Y3XxTXgKur0XI6pcyqBjzZSj9c4lcG2BSEgyGUBQ7sWKiKez7h LwdPRuGX9yKMGCvzRXbdtgwDX1UBjK7Yv1+fdvxOOPNtG4ENVDyHX0zzw8bVznTprEPZT1 HQBrama6/jw8wcdWpDtCb22Psn5TSnzJ2bUXii0kSmk40Xt1Rz6Ne/fWl2sOzw== Cc: "Rui Qi" , , , , , , , , From: "Rui Qi" Date: Mon, 31 Aug 2026 11:50:45 +0800 References: <20260707121235.759104-1-qirui.001@bytedance.com> To: , Message-Id: <20260901020000.1-qirui.001@bytedance.com> X-Lms-Return-Path: Subject: Re: [PATCH] riscv: ftrace: reject out-of-range non-direct targets Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Original-From: Rui Qi X-Mailer: git-send-email 2.20.1 In-Reply-To: <20260707121235.759104-1-qirui.001@bytedance.com> Content-Transfer-Encoding: 7bit Hi Steven, Gentle ping on this patch. It's been over a month since submission and I'd appreciate your review when you have a chance. The patch fixes ftrace_modify_call() on RISC-V to properly validate old_addr/addr instead of always treating sites as FTRACE_ADDR, and rejects out-of-range non-direct targets that can't be dispatched through the existing ftrace_caller path. Thanks, Rui