Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp111169lqf; Fri, 26 Apr 2024 00:48:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXryQkG9JGw6Lvct9+RnBstFZ0tbWjH2hangFYdOyuOPJpYP/+7HNBpoFbW8oJdST+f9ri2Gkwvdn2u/3gjD4/m95FcHvyTju8sBrQdQ== X-Google-Smtp-Source: AGHT+IGMZVWlTRVDfGKodvmk4bHKJK+ZPLu1PzP23NjL9KgG3iCrIOjy4KJspW1lGRgay6GNqjBk X-Received: by 2002:a05:620a:4e8:b0:790:a270:2c24 with SMTP id b8-20020a05620a04e800b00790a2702c24mr1963470qkh.9.1714117703812; Fri, 26 Apr 2024 00:48:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714117703; cv=pass; d=google.com; s=arc-20160816; b=KFlpgm9H8OYiMk2DNvLroYJ0wRnXQ5ZxzdT9sVfxyZEedLv/CjyxB6C5bG1i+ksaAF AOlFQlc8otjtvryKV/JVdqlFRwbtAcu2+hCghMKiz+gqgpVpCK66nv38cAD2m19uu32s ofCQwtSSlSSO9SqZfWyZb3NIrkz8cj81ODtKv7HSkekuQq5UX+DXXvFLwCJ6cAxyVQo/ jdZ789e04SsKYChG8ba+qcfy1p/OJw9eRc3P1i93FWpKwdEkwcuSAfJ995UMQ+gxoSUp DaGSKzdS2sXPZeXmpYZOngWh6DBycpqbfXtLqt5Xg4hcYICT/4NjBqr/PIn2G3QHWny3 INkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PNEXb7K7k6t0jTc2DZhY7wfuFpObcVhQaJunE5Y0/3Y=; fh=bdO26XSsnhMuOq/Tl4TFE6/515z56VzXlmOCT8ud6QY=; b=r9t0Id8cMndDpfLnpTuGjhex2crOumIj4jo9RnXcQx6gERrss0Ncba2SIUcOW4cNDj N2Xzd6gudf0m7cvYPhhzupPvI+74ZSrWL/Hg+aitmBk+EDT6dgI8wKmW83Nq7wlekoKh rmjwRGz02QG9egvdbthcgIdZFIo2LHTnvZ9yYJywwgkTEgfpKgQUf7JkMGCRHqPLyPgc A39BQh242KvScfVFfQVoFupGvuH+YcUapNQC7oxUltHkiWrmoBMWaP+GTv9bQnLOa5wQ HcnJCDhRvCXhGaxdfJnDha8MAJqyASF0Fzoe+i6agR13opuUxKIGorw9x+4Hvo/WZrLq 7fMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=xzW49MLD; arc=pass (i=1 dkim=pass dkdomain=brainfault-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-159659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159659-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 7-20020a05620a04c700b0078d63d36643si19105930qks.444.2024.04.26.00.48.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 00:48:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=xzW49MLD; arc=pass (i=1 dkim=pass dkdomain=brainfault-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-159659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159659-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8957A1C21941 for ; Fri, 26 Apr 2024 07:48:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 238A313C91E; Fri, 26 Apr 2024 07:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=brainfault-org.20230601.gappssmtp.com header.i=@brainfault-org.20230601.gappssmtp.com header.b="xzW49MLD" Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (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 C09D813C8FB for ; Fri, 26 Apr 2024 07:48:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714117689; cv=none; b=dgoIjOt78clX2ShkqzB5BK3JFP+P2hZ/tKjDigmpkmM8Q625dJQgjDVA3RjdHtuibU80UMhgqqo/1vMKhaqYt9Lqg317ziK4iI03HyXYv/A2ovkYTw0M4mU3LOsCX+w0Rv9nfDw7zDVEbsuXVFxqNfN5m/WhXdPYIUu47k8xoo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714117689; c=relaxed/simple; bh=vmkeqn3rKHnWqckJmlW6f94yaV5GqJVhMoZZp7s4Y3c=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pTBLL3f7x4xTY6Je1luYaOe5rG/rPLZTHOTYNuF6cAMDQpabir2kkOo0QQ+NJh52O79NTRID9a79D1iy8HO6qQT9p4/E/WlWLE/LMp4Nt2ZgVfhDtznECdEaOM505O42JcQ6WhwAzK/MPNco6KoyGDWW8NOh4vN499lEZe6/giU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=brainfault.org; spf=none smtp.mailfrom=brainfault.org; dkim=pass (2048-bit key) header.d=brainfault-org.20230601.gappssmtp.com header.i=@brainfault-org.20230601.gappssmtp.com header.b=xzW49MLD; arc=none smtp.client-ip=209.85.166.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=brainfault.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=brainfault.org Received: by mail-il1-f170.google.com with SMTP id e9e14a558f8ab-36a17999886so8179075ab.0 for ; Fri, 26 Apr 2024 00:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20230601.gappssmtp.com; s=20230601; t=1714117687; x=1714722487; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PNEXb7K7k6t0jTc2DZhY7wfuFpObcVhQaJunE5Y0/3Y=; b=xzW49MLDr7tYrmR3gIhDVJSGgG2H2EH0xeKaToJjJbaSQhXx8zBb+ZutGlL1Ujg4q9 01KS0AAjmDE7XTnDhDWvfRGIJthmLmaz/3tPIzIdgbWzqvwsCzdWCLQhtGdxq6BeP1f4 uvUUqGUPOKOpxXwtypOIubNVjeGk3PB+CznQlA2fbS4iZfgm0q5K96wL61MvIO7kTc0C BZ5rZ/Ko1D0EJD70wdlTn3ZpAgkXJIur68MtRTYNfHKiGfE7gA6GLRHlPQZhz3hklBb8 r52ztxbh5K/WkfJRtscj7Ey9wxqDNOEBbRUefyxIydIDxedEJJD8/LdjAuVsBm3PePX+ rJLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714117687; x=1714722487; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PNEXb7K7k6t0jTc2DZhY7wfuFpObcVhQaJunE5Y0/3Y=; b=YKR2ToTzl4DEddhp/84Y0baPo0GzXUNsLZSOSMU74D52dwxQtskFgRqT92GeMEGjFX mbnpW1nhPKZ6126ZIdeewS2ZWe6GVu8zqI/7G5OnRz/HoccsFg40eMb+/vW1GYmrZddo OFUqIwiN+fxIDzNTgZWekbOk65m/UL6n6Vy2EWt4AcL1cTi0xqVTl0YgIu+jxotnZ6X3 tkOP9uGE4pcew35VkQo1Hyz0DxRFE1dylzOQAh29IqxOfGwbFsrM5bykG/dbSrgIEt7v rxUU7Dw8NFzRSHtE2onboz63XpeTz52Z+j64DM+CgAqa0pPdyF+1lSVsn91Ij6itdo69 pORw== X-Gm-Message-State: AOJu0YxwEtd44VXJSu+tcMwUMv31VPKKXV2/IU4oWAPTFpkvtHymPnyH H/P4WHxklkHEhiGKhVYfIbXFnJIOThF8MVUF3nWHAXL1g8wHuwF3GP9gLxFZRI6OBNEU0IVtQBq K8YqTzcA5AmzrrNHkOcGmdOOu+9+8MHBLO6PWRA== X-Received: by 2002:a05:6e02:1fc9:b0:36b:239f:c0e with SMTP id dj9-20020a056e021fc900b0036b239f0c0emr2320106ilb.0.1714117686829; Fri, 26 Apr 2024 00:48:06 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240426031637.4135544-1-atishp@rivosinc.com> In-Reply-To: <20240426031637.4135544-1-atishp@rivosinc.com> From: Anup Patel Date: Fri, 26 Apr 2024 13:17:55 +0530 Message-ID: Subject: Re: [PATCH v2 kvm-riscv/for-next 0/2] Fixes for kvm-riscv To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Alexandre Ghiti , Andrew Jones , Atish Patra , Conor Dooley , linux-riscv@lists.infradead.org, kvm-riscv@lists.infradead.org, Mark Rutland , Samuel Holland , Palmer Dabbelt , Paul Walmsley , Will Deacon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2024 at 5:18=E2=80=AFAM Atish Patra w= rote: > > Here are two fixes for issues found during review/testing after the > series[1] has been queued for 6.10. > > @Anup: Can you please squash them into the original source commit > 22f5dac41004 that introduced this ? > > [1] https://lore.kernel.org/all/20240420151741.962500-1-atishp@rivosinc.c= om/ > > Changes from v1->v2: > 1. Added RB tags. > 2. Optimized the logic for overflow mask. > 3. Update the fixes tag. The cover letter should be enough to indicate th= e base > tag for rebasing. > > Atish Patra (2): > drivers/perf: riscv: Remove the warning from stop function > drivers/perf: riscv: Fix RV32 snapshot overflow use case Thanks, I have squashed both fixes into appropriate commit along with Samuel's Reviewed-by Regards, Anup > > drivers/perf/riscv_pmu.c | 2 -- > drivers/perf/riscv_pmu_sbi.c | 45 +++++++++++++++++++--------------- > include/linux/perf/riscv_pmu.h | 2 ++ > 3 files changed, 27 insertions(+), 22 deletions(-) > > -- > 2.34.1 >