Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp313968lqp; Thu, 21 Mar 2024 01:51:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0rqqB88E8G34D2gFFGaU6j78PlF60ZEsUzd2/0j03Hfvo1d6CM704+euAg21XvQu5rTXSICbPDdHWNOF5Yr4WC0bpBiGlRRWBBzMoOQ== X-Google-Smtp-Source: AGHT+IF9uz/A2pZfq1Y10cTI2UBs2XBBAopYoE0aToe6kTpy6rxFAthgYwa9q8+Sd0+Wg94aVekk X-Received: by 2002:a17:907:77cc:b0:a46:e0a8:d5d3 with SMTP id kz12-20020a17090777cc00b00a46e0a8d5d3mr878000ejc.22.1711011067809; Thu, 21 Mar 2024 01:51:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711011067; cv=pass; d=google.com; s=arc-20160816; b=Y8DZYrM/tGCQn9aUSxJfyfC4oLgBlf2vA5NZE+BU31uxSAiCUYCo+07EcfG+CNT2o9 OkJzc48ze7QBtEBuwV0KxzIZtURkwdmoMwoJneNkSH7A3Zuffl8ypI3CaftBjaDCnDfF NN4376jEjYnZBvA5s1Zht2HtE/BWLKRJraCRdt5YFzjWEHUukS5tHb7JmahyvyzH+U9I z+G1v+e3c6qInZMcX5UmC8Uk/YJtvUHwHLLwqDCQtIV3OyPXKyZOcLE8qN7cVgqXcs42 BPhJoAWAJdPZbzqi6epkMVE4bK1u6cpiYmd3qlRHkPhsLEiRul/hcMZrW6oL/dp23b2A 0ATw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=cPjyd+yjOktFr1xsuYU5FVU17C6f3y//ZruUY/LClBQ=; fh=aN95TveOkp8EO86OT3anT6oK/N+hmHby0N1qSE3BQgw=; b=Uqn1BGUspscIQuSMIx//p38CdeejIub697PIMHlJxi/UBCiW8EjIx8p9SKVmAn3tXV JpvmhmS3wzbwBHK8UmuuEmPavznUHBALNmJvmCYFg07yNRy5nRYAx09n1MYzROyJksjj ikF648l4C1GdUA521eAC+2Nx/WOivyUJPu3quGHSXebO+wOMZaCATEGHuHn0xZIvTmOq RJ8fw9cQOWJnQBjqQyWCmmRtdSSED2iNHEN9qkCjUMWsBILpKxEJiEmbwfa8mn5U2uor 4aUhORRMRU4Lw2zlgw7ehoF9GIcuj4e4gKpI49do7mJanOF5jQnHGr9Dx6FqH3VXHtBd PAgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=erGSs0tJ; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-109816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109816-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bw9-20020a170906c1c900b00a46651f8e97si7251997ejb.333.2024.03.21.01.51.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 01:51:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=erGSs0tJ; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-109816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109816-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8C2A41F21D57 for ; Thu, 21 Mar 2024 08:51:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73FD83065B; Thu, 21 Mar 2024 08:50:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="erGSs0tJ" Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (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 316F91B274 for ; Thu, 21 Mar 2024 08:50:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711011057; cv=none; b=M48Up6wJkYsrQnrIMXKefInOgDVoei5ObNdRiQ2lmgK/tHRhGMKSeapgLGUWsaCsoXUAFLURcZM4dagjG3Nk8tZZ11FqPGH6c4TyjXRRC2omr7Q8tGcinnMT2jMufPQHkdWkIshk8cOCku0dLRMWOBFYcf4s0h8pRQ5GrKk2VHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711011057; c=relaxed/simple; bh=T9tH2WkqXIqAB3/EZYidnvaVwq80SxS0zPzjIGHGoVg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=fl46pIg1s0lKN8O98glcbJRf31UD1z50uMWiibUEy9kG4YLRuFXEHMUCqmDrUZqlVWz0pRYvPy2eszLj50bOKAGTmHT0Nw+8AXmCfw1tOIMxdNO5I0A4ojV4K62SDzdOXjIANmYq/AxsikHev3d54wvds41/zo82K6dJsKe0ebQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=erGSs0tJ; arc=none smtp.client-ip=209.85.167.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3c390030af2so524004b6e.3 for ; Thu, 21 Mar 2024 01:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1711011055; x=1711615855; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cPjyd+yjOktFr1xsuYU5FVU17C6f3y//ZruUY/LClBQ=; b=erGSs0tJtIB4NsS/lHDe7kUu3PS4rU3nRiW774UpuNFH6IGIcg6xQd/s90abKDVCCb xrxvmb7ME5IOC80b99A6Mzuelp9TyKK5lRYSLjZ/1e7RUvOX4w/OAkNGWuWKbJOWW/eq 9OsC+Q5MIegQRUg5oLbWbGSH2Z5ZE0fNtTuMxyoL3hDmJVgsL7rCEZpEEkn30sEKka14 tE6nPma/Vd5gVmyMOo2WEf+YhuZHm4U94F8CgnXYbgVuBxOF2zjRrbsLDYWCWLa1Ge2y Ey4PjwAGN9NlgdfJ8JujBqAFRtzfm3BZxlOryC8zrFx2jldjXkUgqWk68FgtRIyycBXZ acQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711011055; x=1711615855; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cPjyd+yjOktFr1xsuYU5FVU17C6f3y//ZruUY/LClBQ=; b=roQWVNPHpuC33xFnrfOl+fK8oGKQa8x2fsXjmpbPU06wupiNY14a4kpPNXez2ZTjFt W/Jx4Ur0T0dJgTQrVBr6/pYvrjPRHqnglodaWh899D3y8JxAdIkgFDh57JxBMPFlyI7w rPxuZhWUp6Ut8MqKSpEaiaMMpcdwMjd13YEeC5Z0L54kLnTu4ShJq9fTXlp7hrQKAAYG xq2bFPfZIo2LULAqXcMid1VM9O7GvWQ3fas/n9zzIGWJKRsTU+H5TzGwEzoCbSgOGcpw mewrK+BROpwKlSDh5A18vRt1Ay5gcxpaRVhivGDtoYkyKUAch+iTdprhCHytvX8jSKIh bMCw== X-Forwarded-Encrypted: i=1; AJvYcCWDx+r/9I2aSRbuKRuZma9OBhiVPnpkK4lAi0lK3MRZLTPKvun1OMwIbczFPV248Sc203ycB2mrk5dgiNaxov6FsDKEf+jnuxzDhKt8 X-Gm-Message-State: AOJu0Yw9FN/mmqwKup6zTjO8/afXhhAlynXPi0lYQvr5o+kOn9jLCxrr H9lTs9nH+uOiTWRI2VXFoA+cz+90Kwmo3r+NR9itQd37Aor2/tTjd1wmNyFGDRo= X-Received: by 2002:a05:6808:1a28:b0:3c3:896f:8817 with SMTP id bk40-20020a0568081a2800b003c3896f8817mr5503819oib.2.1711011055018; Thu, 21 Mar 2024 01:50:55 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id x3-20020a544003000000b003c3753dd869sm2275409oie.58.2024.03.21.01.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 01:50:54 -0700 (PDT) From: Anup Patel To: Paolo Bonzini , Atish Patra Cc: Palmer Dabbelt , Paul Walmsley , Andrew Jones , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH 0/2] KVM RISC-V APLIC fixes Date: Thu, 21 Mar 2024 14:20:39 +0530 Message-Id: <20240321085041.1955293-1-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Few fixes for KVM RISC-V in-kernel APLIC emulation which were discovered during Linux AIA driver patch reviews. These patches can also be found in the riscv_kvm_aplic_fixes_v1 branch at: https://github.com/avpatel/linux.git Anup Patel (2): RISC-V: KVM: Fix APLIC setipnum_le/be write emulation RISC-V: KVM: Fix APLIC in_clrip[x] read emulation arch/riscv/kvm/aia_aplic.c | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) -- 2.34.1