Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp89458lqf; Tue, 26 Mar 2024 15:35:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3nbl/BEfmnLkpb3WQozbQryJSw0CspAAfVSajNqqW0QOBTcmL2wgl7xyqcCTYlNQAJ5TwAcB8Ls7rNixOg+xS4qQSlEAKKxWzGw8qPQ== X-Google-Smtp-Source: AGHT+IHhNNfUO78JXqfLEpsqoQMwMmgy0N9N7SdJbQKSZhFloS6tfJBoIJ9Q4fuwDVDy1Nied5Ez X-Received: by 2002:a17:903:187:b0:1dd:2e6:b951 with SMTP id z7-20020a170903018700b001dd02e6b951mr1408993plg.12.1711492545668; Tue, 26 Mar 2024 15:35:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711492545; cv=pass; d=google.com; s=arc-20160816; b=w3UH02BWauJ46vYWPT9G7ScZwJG9bED/wE5FCsmaPmYNmzmJFZTkWJfDkZvO6GWVtQ o2yWRRWzp6n1ZHiPfcgOheI9srn8xvVw8ib2WyblMgPdFjdRWHLYXZhTvnlsEktSp6vr /bvnJYEeOl2SlBVIeUKVteDklRT9KqUFAZf6Syq8qHoDNBa0Wc0BZi96J2zsn7oMG+ic cbLdj0RPu6JJ4GshhgBJJ+wzIEj/GW42gQrCifQBBJ864DXp3ByntpnEguNywUIgCDXq JFNp2l/XtmfI6ed6SDT56pfHEhyTfd/MpJY0RD9VFyfhtesKWMKOuWIJeA1U2NeL+jen llvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=79Q4JSiG520z9H9GgKa1sOqwXXSclwi98WKQxVVkT0M=; fh=jx+dG+ulJmmGh/Stvw1QEuTO7h29DM+6GaujdGf2zgI=; b=N3eu7R/7WwLuQl6w1AGF1ykeNeELdKKC5BDIqfneY19Ag+sVKDCPA0+faivmDeilon tyorDh9Ya47wnrcsU3mKegUzt1Dbv42GpzWnU72Z3m023oPUWQQUS6AgHPl0aoRG/aO/ uDcUnCBRClZNLSnNP2J22/CWJpkEheABoJsWXpJ4dttJP/pVojccisOheyZ7AG6I5VLO Sn12w8s0QSPJpCcYp2Ln8FmTSUZlSNuGPSU+a88pQvG+/o6YcWxmyfvF2/6UTwT8GOAO xhrigBBt7tZLWsggf4EQ7BJmF+DGh5opqlLD0xlbxPmiFnAexWT4aa4Zcd5o6/IyiyZm W2Jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JTmHKClI; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-120053-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f13-20020a170902684d00b001e003f31d59si7935521pln.137.2024.03.26.15.35.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 15:35:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120053-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JTmHKClI; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-120053-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 4DD07B24994 for ; Tue, 26 Mar 2024 22:33:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 687E41F61C; Tue, 26 Mar 2024 22:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JTmHKClI" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 E9A8613DDAC for ; Tue, 26 Mar 2024 22:30:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711492213; cv=none; b=sY+74aRKcoldQkqmmpxSY3JQjcYDvOksn+a5d87TPrHFUxJs8vKvY6VEB922dIHUKAldX6qSpMVkUc9NJm+IphEyaO5f12VPblwIISHqpH6mjBxtG1ekGt1rDhLcq546RYZj6rz2do0SOv0sr5hbqInPp0gRTpZuBt5Xu27SR3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711492213; c=relaxed/simple; bh=w8Czqi2K8AT/tstKpsl1KE3WkzNI7atVD4WaXXsX2aU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ptFvEgaNdRy6swWy+UpvNDOKVelQ43XhNie0hRVBDix+YUxq/qxE42mCAkHHnx7eWMh/ApCO2ql7EAtF/nh3jymax4UNKlGbhF5TjorMNpC7hYC7pDqWEu818ejK6eRsJYm1EUKlc9qc/8t+TwDKihWj/TfHaAWuub+EKLH/Cek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JTmHKClI; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-33ecb04e018so4278907f8f.1 for ; Tue, 26 Mar 2024 15:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711492210; x=1712097010; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=79Q4JSiG520z9H9GgKa1sOqwXXSclwi98WKQxVVkT0M=; b=JTmHKClIKmTH/Gc0YI5B0VZfPin3ttzbdShwh+e9/pS1AZdf3cQPJrCBRypDEHiAip wiPNqrMae9B3D+TxmaYrov0FjRPujWA1K1j3CwzPJseiDp8+nPrepguUCfcymxsQJtP9 w1IP2YFkcx9OVEV+iJBkU94OQUyAjCwnGqFl2ssCW1+YmylwRNJ6Io+3xxzw2ZElFonO rHykHMktb3MY/aQne0BsKQ6QgqvmNe2APHsmm2Jr7esuSig6+bJJtuFyLnzAxka6gYvw lnWQFhXRDa3Eeqn84IMwe7HlDrE/FtIRwqKqBByZHHv21KE1ssqzbKbeQg1Yk+rHSKlM jZGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711492210; x=1712097010; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=79Q4JSiG520z9H9GgKa1sOqwXXSclwi98WKQxVVkT0M=; b=Queis9UbtHEqibe6hnMVHVCd4tJQdOfXzxXSuVSgmAZxbKPzP1NWWiSRsd3KK1TlYW E55y9r1FRF232HJU2lpkymG63MKQtFM/u1+0YzD2kvs/Qv9ZbNG7e214KvcxkihYsfYT f96GysuqzqPbHHbOufj/9cT3mikB4PmCLhIhx2LzxagLqCKsgrmWaNQ/+4hEKMGSrdX3 0wqN/dQJmzWAKLHV6Y9/J2CoHLa3qoAZ15jqljsYGbgqBOLz+Jurm+FUyg5CdkuhrfLy U5y6xg1NLLije881fZk5ZFSHa9C0zUMcX865gjywKVQ3e5TDnrtc8HI0Io0CgRCTOhdZ 5Kzw== X-Forwarded-Encrypted: i=1; AJvYcCXk2C///uAQFe23Fg+Q04AM1rZIIfPkKVRxUhKnrTsK1gDiUPs0FMo9OgiizMWSQG9iWJLqUggoZUDYFaSyrgsHPctCFh1lxSTsQldh X-Gm-Message-State: AOJu0YzUYnKGnpt9zNZ3CzMYdMx6p7ItatUMabB3oHpTjRqGpYtNHK29 GMX+vv2AUy+325qaF99qM4JDIByCvaNioYQpAqjPLx3uMnBV1oWSkH6xW7u6g0RAxpLC X-Received: by 2002:a05:6000:5:b0:33e:c389:69ff with SMTP id h5-20020a056000000500b0033ec38969ffmr502235wrx.68.1711492209958; Tue, 26 Mar 2024 15:30:09 -0700 (PDT) Received: from localhost (54-240-197-231.amazon.com. [54.240.197.231]) by smtp.gmail.com with ESMTPSA id h18-20020a5d4312000000b00341bdd87fcasm11049415wrq.103.2024.03.26.15.30.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2024 15:30:09 -0700 (PDT) From: Puranjay Mohan To: Alexandre Ghiti , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Pu Lehui , Daniel Borkmann , Zong Li , Masami Hiramatsu , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Alexandre Ghiti Subject: Re: [PATCH 0/2] ftrace fixes In-Reply-To: <20240326203017.310422-1-alexghiti@rivosinc.com> References: <20240326203017.310422-1-alexghiti@rivosinc.com> Date: Tue, 26 Mar 2024 22:30:07 +0000 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Alexandre Ghiti writes: > Both were reported recently as there are efforts ongoing to > reimplement ftrace on riscv and both are independent of this rework, > so here they are. > > Alexandre Ghiti (2): > riscv: Fix warning by declaring arch_cpu_idle() as noinstr > riscv: Disable preemption when using patch_map() > Thanks for this. Acked-by: Puranjay Mohan for both patches. Puranjay