From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47E1B1D63FD for ; Thu, 16 Jan 2025 17:52:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737049940; cv=none; b=BE1MzI7i56jiRJYv0F7DYkc4GJn0MFxH2TgcOkhKSVdiM1pwDfTeRE/BvY0lG6N6MZU1RM1xVj1ODSXk75bOlNNYbR0GvKd6JrzPTwB7c9q821Go9nbr27dB+MABJQwR0z1OkIpa9gbzLGeM4MWcB8+JAmgIBAiHrjJj/UFO2z4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737049940; c=relaxed/simple; bh=H5BirUPRTkfHFJFgXNHIASC6oghzdUiXePOB2ZQiCWw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XPBDQIebkUcJ0nXE5xJ8dNwJSk55lFZYe/RteuJZBHtYWhyASPdaIYlo3fS6TsTVTgypkoN3uuz2mW/MNSCixrPVe3QfXaly2S8OBa+clIgmw9nYTWe5DXl5ihf9hC6am7ACbxwqWWr7e2eWpA8dljsLhnjzd4SSJB73i22dStw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=BkIEFik4; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BkIEFik4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737049938; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ktk2GUjb3uuEtg/gq7dyWK4NYCCF/Z75QRIh0J92azQ=; b=BkIEFik4FbogMaasmw4MJcnCDoI8Dg+zb2a4jZTXc76tuJvfvOhAjWON6/prP7Y1smwDTJ KNPqSv+gdpUOz3QJFxOAoTx7ZQTWcopF2G7bcKltpHNTWP3CcH/BAlWo6LXCYUBAmFudjj ep44ooB7H4QzuQfI45sLAfIftwdhOq0= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-395-5fpM7kcmN9uQqCKaF0SXIw-1; Thu, 16 Jan 2025 12:52:17 -0500 X-MC-Unique: 5fpM7kcmN9uQqCKaF0SXIw-1 X-Mimecast-MFC-AGG-ID: 5fpM7kcmN9uQqCKaF0SXIw Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-6e19e09cc20so25021606d6.2 for ; Thu, 16 Jan 2025 09:52:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737049936; x=1737654736; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ktk2GUjb3uuEtg/gq7dyWK4NYCCF/Z75QRIh0J92azQ=; b=Uo4NtQFs/j+rurSvOjDbiko7mc3U92AO3DL0SOgTtEkHpglLjcpjYzysiRJqxtGgMV gkuPFRsrJ2jZe+hx1VxMbFkcbwDq49N/lj/zHp8rRkdeuqtrIPOhXiGm6/tSl146/uQa f75ygkrmnQ0OOsbNBiXyT+xvD9JFPo+NYL9ZvBQjvXAi19nuTQjT5tg64StyV/KAoQq+ bw5GQsqd2SIXvbwhvw+QmOtFeirIdewuZsIejN8LJiDE2oQtnzHZPoAUjVUugoQ8PDGu fJzg8wPH5mELNxKxZsjbK1V8hEpwFtVLYrn5jTsJmuu1mmg1Nl/YVz9eYHAHjeBC7CVz MrmQ== X-Forwarded-Encrypted: i=1; AJvYcCXuSXD75griTFairI9JWp0FJb+xXhaBosSVeOrvfhI1Jk2piNlIrbmpgEpYS03xXh+amur2zODRs7eov3o=@vger.kernel.org X-Gm-Message-State: AOJu0YzHd0QrhVLa3pCwQQGjVweLdBIQQa3+a2HSxl5nE9XqEmek9pze qlOhSOE0v4nO0v3ZVFSXBaiiGPO+VJQX5Ynx1lJFTR3fNP5dwuGWF9XnztOoQsWdOV5/+G6FvDi Y2WexciJw+YqzA1dg9i06zEFqzFVtP38pcmFrhbijZAudqzQBSTcJo0g6rl/gOCpHW2/0Fw== X-Gm-Gg: ASbGncu9VR0E0QL9+GKry2eS4QNhe6oOer9YaFhED5ovSES6/+9qL+/g2X0EM4Zuusr iSspCxSoVSXpJfEH8oR631dU9B0kfFQZKuffr+7YjwkyBvjyD+Kuju0w48YDNS8+ZxeiEjlIiOU ZBPXvYnFjSq398rbC9L8lzq2AgzM+8DQa/z1fJV8jPmvHeaQt8AmTIBCkeIk9Z5aGf1DQs71QqB A6MrOmHtmZ5Z7uhH626hCLRcEMktcuyV+LF6DUGVJfB3e3tejwk2jfaoidr0rik1BYJoy6M+RsC 6G9DuzKhcVpEzcRh/PILLOw= X-Received: by 2002:a05:6214:3b81:b0:6d8:a48e:a027 with SMTP id 6a1803df08f44-6df9b1bb67amr563036376d6.2.1737049935850; Thu, 16 Jan 2025 09:52:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0yNflOiDALshiw4SZfmGRBifWYCyvNAYdY9A1ERtGRbmOn0qfOk8jphR/ffWEJ6aRVBOPWw== X-Received: by 2002:a05:6214:3b81:b0:6d8:a48e:a027 with SMTP id 6a1803df08f44-6df9b1bb67amr563036006d6.2.1737049935566; Thu, 16 Jan 2025 09:52:15 -0800 (PST) Received: from ?IPV6:2a01:e0a:59e:9d80:527b:9dff:feef:3874? ([2a01:e0a:59e:9d80:527b:9dff:feef:3874]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e1afb1b293sm2333576d6.0.2025.01.16.09.52.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2025 09:52:14 -0800 (PST) Message-ID: Date: Thu, 16 Jan 2025 18:52:10 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] KVM: arm64: nv: Set ISTATUS for emulated timers, If timer expired Content-Language: en-US To: Marc Zyngier Cc: Ganapatrao Kulkarni , kvmarm , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, oliver.upton@linux.dev, christoffer.dall@arm.com, suzuki.poulose@arm.com, will@kernel.org, catalin.marinas@arm.com, coltonlewis@google.com, joey.gouly@arm.com, yuzenghui@huawei.com, darren@os.amperecomputing.com, vishnu@os.amperecomputing.com References: <20241209053201.339939-1-gankulkarni@os.amperecomputing.com> <867c89tc4q.wl-maz@kernel.org> <865xntt2kv.wl-maz@kernel.org> <8be59ff3-6a68-48e1-8181-0ce4b2e7180f@os.amperecomputing.com> <86y10osr19.wl-maz@kernel.org> <4d443db1-85b1-4071-acd5-3187deb9cb17@redhat.com> <2f6b2cb1-3d32-480a-9801-9b993ae74e2d@os.amperecomputing.com> <152d262e-641d-4bb1-9656-a13e049d62c4@redhat.com> <86h661wje4.wl-maz@kernel.org> <4a9fbdd9-ad23-44bc-8ba5-399f08068db4@redhat.com> <86cygpwfy0.wl-maz@kernel.org> From: Eric Auger In-Reply-To: <86cygpwfy0.wl-maz@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Marc, On 1/14/25 4:52 PM, Marc Zyngier wrote: > On Tue, 14 Jan 2025 14:57:43 +0000, > Eric Auger wrote: >> >> Hi Marc, >> >> On 1/14/25 3:38 PM, Marc Zyngier wrote: >>> Hi Eric, >>> >>> On Tue, 14 Jan 2025 13:12:21 +0000, >>> Eric Auger wrote: >>>> >>>> I also confirm that using a mailine edk2 fixed the issues I faced >>>> previously (fed/rhel L1 guest not booting). >>>> >>>> I used Marc's nv-next branch and qemu rebase. >>> >>> When did you sample this branch? It is almost daily rebased at the >>> moment, given that we keep piling up things in kvmarm/next. >> 5 days ago. > > OK, so probably before I reapplied everything on top of kvmarm/next. > Not necessarily a bad thing, just slightly older. The core NV code > isn't rapidly changing anymore, with the exception of the recursive > nesting stuff that I am currently rewriting. > >> >> If you want me to test a specific branch, please let me know, esp. in >> the context of latest series including >> >> [PATCH v2 00/17] KVM: arm64: Add NV GICv3 support > > That'd be the current nv-next then, which has all the series currently > on the list, and a few more. > >>> >>>> With a rhel L1 guest I can now boot buildroot, debian and rhel guest as >>>> L2 (feat mainline edk2). For rhel, I tested different kinds of page size >>>> combinations for L1/L2 (4k and 64kB) and it worked. >>>> >>>> I tested on AmpereOne and Grace-Hopper systems >>> >>> Thanks for the confirmation. I haven't had a chance to try QEMU yet, >>> but I expect that save/restore will not work. Something to look into, >> I have not tested this yet.I will give it a try. > > Thanks, that'd be super helpful. I confirm the migration fails when putting some registers on the dest side. I will further investigate. Eric > > M. >