Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp614755lqh; Fri, 31 May 2024 10:48:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKLZD1xPmvxgLsVsMWzxMKsWrPQJJDzwDZbv4mqMZcHUqFnjd//V0eOhjuGs0W/Oy1qQkV2sQ6vL6xsKvlZADgjP8aErgjt60aLi5hbA== X-Google-Smtp-Source: AGHT+IFvRieL3OjJcoV6bwoPQwvP6rtBMs4G5+u00/baeq3Dss2RlFh1ejh2ZcVE3itAgA6xWB0+ X-Received: by 2002:a05:6a00:14c3:b0:6f4:bbba:1155 with SMTP id d2e1a72fcca58-702477bd8a6mr2768520b3a.3.1717177689412; Fri, 31 May 2024 10:48:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717177689; cv=pass; d=google.com; s=arc-20160816; b=p7qqo2GlmVKdfK6GCQ29H1NnWJ1tDrN0NT6+LrjCxe8tgjI5Skc06ZyAAIcaUl2bmL ERc48QSeJVHlEnNlTCEm/rTLFiEcc51Ni9uCyxwJBrlCMpybw90As7EBEkcgKaiXAUFY 0dDgk9ncnPBeVaSXjaW+Ab6CfZCAwSz6sGSleAQa6Lg3o3JvAgCXfx3y4BIBZKay1Bh9 ayf7yKteR5adaqkqRVAeBVklr3J3vkRGNs7nMZ3BpIXUVDpJn99vmI7lce7tzOfcgqbP qfkSzm+P2Dbv5ObSdSemt8tE0v0buaJsy8T8wpcmlOgIoWimiDDYbP7XwDlp6kHV7dC8 IlpA== 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=iRu+fvt96wDh21HWdZk+AUFYcHjCXJ/UFo9OhBPmYL4=; fh=ydX3E8sTOvvrl7JbYZMcXvDCWpoJ/BKdV+awaBxkg3o=; b=Ht4LEr6M9IPymKAI+1xwGPy8PzFZB3OwBfWoHdFNV0SfJ+UbouWWBbogB3wgOpmhGg mFF7xw1KedNv0lgBq4oxWIiMzTSs4vAxv9I1jzgOrKtWHearrAfa/i+8jp2rqrlRF3+N N8eCQeFs5CPfOVJqW/5QT328fWgdxwCBXR1E2SiCQQNkuwIM4niKXq9M8QtixIEMZsJD 1yyUk16c/KZ7U6YbKxGRp3Np9WiOv5IWAcjXmaC9Ol2wcl4uPhQdV7uREF7VQyCll+6V hGILfmcXgnaeSP+USOo8tZCUakh7Hn6vxFrYID90EFNJvHSDOBkhJOJvgN8GwAIOX7Pj 51wA==; 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=ppd2+7hU; arc=pass (i=1 dkim=pass dkdomain=brainfault-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-196733-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196733-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35af45f45si1883829a12.484.2024.05.31.10.48.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 10:48:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196733-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=ppd2+7hU; arc=pass (i=1 dkim=pass dkdomain=brainfault-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-196733-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196733-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8DD1F285845 for ; Fri, 31 May 2024 11:26:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7F6715749B; Fri, 31 May 2024 11:25:53 +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="ppd2+7hU" Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) (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 0A8BB15575A for ; Fri, 31 May 2024 11:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717154753; cv=none; b=skjIaWXM+ARvXT/bnNslSMKiruZlFCD6yiGVA3soJrzU/JNtfqNyCd1WFpLtybERTmoc2B+oTPDj9uYTDPRZWKw6pHoFxklW+/i8o7AAD/RsylCMWjS0gMcJl74Cx1KQiv4G82yi13x9kNRUKV0ev1Pb5XJugF0KC8ayOzqDl2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717154753; c=relaxed/simple; bh=PTcYzuOXIlbRXgshrnBY0/SLFiYOVAKnmSmP2I+XI48=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NSZPj0WP0RjHCEIfLkH2jFlP5m3LBYXyw0eGn9G/sA4jMXjRDVS8HAuxUs6u8DvoMaCLYCu73svFtbd1x8BgsDezJdI9aNzCTjGgOs5JmCLBj+fUB4sm3lEHUMVh0j8in9fQfUeL09hwX/4WCpQnXIOCDeKdcmMIzApqfqejoTc= 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=ppd2+7hU; arc=none smtp.client-ip=209.85.166.175 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-f175.google.com with SMTP id e9e14a558f8ab-374823e1c2bso5590485ab.2 for ; Fri, 31 May 2024 04:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20230601.gappssmtp.com; s=20230601; t=1717154750; x=1717759550; 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=iRu+fvt96wDh21HWdZk+AUFYcHjCXJ/UFo9OhBPmYL4=; b=ppd2+7hUDcVX+OqQVYDt/gOrV3Ych2vIDHqsq/VJGLEMQLSxadOLha38PrzIb2nMhq GSd1F5hpyOaN/aVIp5wzxtoLWzqTRRAJvznVf4zGd9QqRYopUaYt8AjPmF0gNsx9+QXF Xdfhpn+GOWY41auXSJ18PcHrLQ5lakkp/d0cE7EzuR7qlGvpfZXIir0U6JDD/Eu71772 xnfNlMcfur3vXZZa526DQRPn4hc+IYgOJNAou1V5dsbFmInswVZDrRQOYjZF1h/JiM5c IKbHRnfeRjVV7lB1VLNWBnABw40Lmtuf+S2s8tmna2efutfUCrSJIZg4OcXQA/GCg5L3 s3uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717154750; x=1717759550; 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=iRu+fvt96wDh21HWdZk+AUFYcHjCXJ/UFo9OhBPmYL4=; b=Nz9ENaMUfiMwNCgyE3ziFhXwt0uWb7dw0ZyY4htl9krC4JzABZeP38kWnR0ChOEQwo xG2KmH3OU6lbiZ/zjeDOpt9LtVFlzUPRuFLQcgbUNfcnMdPl9rGBt1mmh4hhUSviYaso /NA7/TWLQOmnkHbyhasftUsgbJjXdInJpKYUg1A90deWntVDAF9pycLJr4PjUdDbCRug l0Xpzdn+zvDjjRPLqo6wKPQ0Xyeinf7Wk2M+LwnToKyf53j2OeMFSbUnLHaiAIS0ZUtX 6C2h9Pw+4MuCBBOZnFscMoqss34jGTLB9UbSSzAo8dsH0Mnzb/smbwLgO2TaKHiHAzuE RqTQ== X-Forwarded-Encrypted: i=1; AJvYcCWh7C0vFdvFduu3XSLMMU42+FdLF1lKSdjFTdeSCseYh43lNJhaLcFtPOg5YwnsHsJix7nQVbA4JM5XBMuW6XVm8d3K4FvWEbkVqkGd X-Gm-Message-State: AOJu0YxzF4gjSTyds8Pq5sIHqAah/fnY2rXeeGTMAsOlB7XpY4QtqJHO avQ5zslR+z0uA5iNxo/PTBEXS+wHDNAZmza2basnliUp9r1NmJ/w+s+3kZ0NHTLSORMV4a0nZdY +jGmhuberNFAntnf3Stg8LnPYuPkUVT0InQWRcg== X-Received: by 2002:a05:6e02:b27:b0:374:6472:d923 with SMTP id e9e14a558f8ab-3748b8fd182mr18921045ab.0.1717154750045; Fri, 31 May 2024 04:25:50 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240411090639.237119-1-apatel@ventanamicro.com> In-Reply-To: <20240411090639.237119-1-apatel@ventanamicro.com> From: Anup Patel Date: Fri, 31 May 2024 16:55:37 +0530 Message-ID: Subject: Re: [PATCH 0/2] KVM RISC-V HW IMSIC guest files To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Atish Patra , Andrew Jones , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 11, 2024 at 2:36=E2=80=AFPM Anup Patel wrote: > > This series extends the HWACCEL and AUTO modes of AIA in-kernel irqchip > to use HW IMSIC guest files whenever underlying host supports it. > > This series depends upon the "Linux RISC-V AIA support" series which > is already queued for Linux-6.10. > (Refer, https://lore.kernel.org/lkml/20240307140307.646078-1-apatel@venta= namicro.com/) > > These patches can also be found in the riscv_kvm_aia_hwaccel_v1 branch > at: https://github.com/avpatel/linux.git > > Anup Patel (2): > RISC-V: KVM: Share APLIC and IMSIC defines with irqchip drivers > RISC-V: KVM: Use IMSIC guest files when available Queued this series for Linux-6.11 Regards, Anup > > arch/riscv/include/asm/kvm_aia_aplic.h | 58 -------------------------- > arch/riscv/include/asm/kvm_aia_imsic.h | 38 ----------------- > arch/riscv/kvm/aia.c | 35 +++++++++------- > arch/riscv/kvm/aia_aplic.c | 2 +- > arch/riscv/kvm/aia_device.c | 2 +- > arch/riscv/kvm/aia_imsic.c | 2 +- > 6 files changed, 24 insertions(+), 113 deletions(-) > delete mode 100644 arch/riscv/include/asm/kvm_aia_aplic.h > delete mode 100644 arch/riscv/include/asm/kvm_aia_imsic.h > > -- > 2.34.1 >