From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E03D1C76196 for ; Tue, 28 Mar 2023 07:15:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbjC1HPb (ORCPT ); Tue, 28 Mar 2023 03:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230228AbjC1HP2 (ORCPT ); Tue, 28 Mar 2023 03:15:28 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B70330F1 for ; Tue, 28 Mar 2023 00:15:27 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id u20so7288350pfk.12 for ; Tue, 28 Mar 2023 00:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679987727; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SiQMQ2XCzDmv/eu0m0m2aUXUlJzPfX9pnKmES6IuxC4=; b=pgti5pX68H00wcMydHaWgi7FtBwV+bsuhgq+7Ahks1PJ/jNKmVYvtsP58fyN37/u2O KnTTE7TnpG4YChbx6pcHwKf09/zf32YGEgymoKroRHaoRspOjnEk0VKBMGpfv87YwnBP jpOpPVbqrj/UoXxWLquQ4OABVnN2SWOgFfc/PzW0TNiiYMsBST3xdY1qeJwhsdh1efa1 a5ygjCAV6JXTH1flLjrsaYezygdBqTxqja1pvZC6Y9DIyGqKJzIBLoP4C/jmMVjP5qUq PlqqdEAP/W+lQKjzSomDL/BxLEsXBOAKYFNzkJt3Fv0xAdYCtND/ci93YvPU0+UPSa7u xBPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679987727; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=SiQMQ2XCzDmv/eu0m0m2aUXUlJzPfX9pnKmES6IuxC4=; b=HA9z6REPp7QoHbbR0lOuji0dLTsjWvIes4LSd9A+T7Mp8x6k7b5etJ3SVXS+HdguXr jAYlfe2/fKxOKT4V8BUaMJd9q+4aJFQmOll/F9/od44Q+bgQJ/K1j55kQvsiRNM4Dygp oNi5z6j9lpUOkHLPxCzJjnUffM+oYtyV5mpXN5kaBubTdTeBaf97shdcg+Sv8mdb8bTR AT5O+AYpz4we4hZmCk8ZSi6vBdOuAF/750mlsPDXrgmoCGr8jaP4faPLDAwuu8iKfR0F pNpFzwPfTbp/Hsj0krYUYaIz4UthnWejdTdNMf6AfJepwEHGJEdVe2UHb6+/+wy9dlai v/pg== X-Gm-Message-State: AAQBX9dA6Hz0VTPyhMMpahPZPsTTV7R2pa1vFOWes2GymRoy8D61bmzp 62Pnx2VZsPmJ6jFUAosJESznelG8JJ8= X-Google-Smtp-Source: AKy350bM7EyA8ugscjz3rbNrkZy7EsBR3kG3B18yj0jYJMbnWE440HLAe0kwKxeh4j6JL20VMbQeKQ== X-Received: by 2002:a05:6a00:4e:b0:626:cc72:51ac with SMTP id i14-20020a056a00004e00b00626cc7251acmr14222944pfk.30.1679987726736; Tue, 28 Mar 2023 00:15:26 -0700 (PDT) Received: from localhost (118-211-28-230.tpgi.com.au. [118.211.28.230]) by smtp.gmail.com with ESMTPSA id i10-20020aa78d8a000000b006281bc04392sm12616676pfr.191.2023.03.28.00.15.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 00:15:25 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 28 Mar 2023 17:15:21 +1000 Message-Id: Cc: , "Laurent Vivier" , "Thomas Huth" Subject: Re: [kvm-unit-tests v3 00/13] powerpc: updates, P10, PNV support From: "Nicholas Piggin" To: =?utf-8?q?C=C3=A9dric_Le_Goater?= , X-Mailer: aerc 0.13.0 References: <20230327124520.2707537-1-npiggin@gmail.com> In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue Mar 28, 2023 at 2:09 AM AEST, C=C3=A9dric Le Goater wrote: > On 3/27/23 14:45, Nicholas Piggin wrote: > > This series is growing a bit I'm sorry. v2 series added extra interrupt > > vectors support which was actually wrong because interrupt handling > > code can only cope with 0x100-size vectors and new ones are 0x80 and > > 0x20. It managed to work because those alias to the 0x100 boundary, but > > if more than one handler were installed in the same 0x100-aligned > > block it would crash. So a couple of patches added to cope with that. > >=20 > > I gave them a try on P9 box Thanks! > > $ ./run_tests.sh > PASS selftest-setup (2 tests) > PASS spapr_hcall (9 tests, 1 skipped) > PASS spapr_vpa (13 tests) > PASS rtas-get-time-of-day (10 tests) > PASS rtas-get-time-of-day-base (10 tests) > PASS rtas-set-time-of-day (5 tests) > PASS emulator (4 tests) > PASS h_cede_tm (2 tests) > FAIL sprs (75 tests, 1 unexpected failures) Oh you have a SPR failure too? I'll check that on a P9. > FAIL sprs-migration (75 tests, 5 unexpected failures) > > And with TCG: > > $ ACCEL=3Dtcg ./run_tests.sh > PASS selftest-setup (2 tests) > PASS spapr_hcall (9 tests, 1 skipped) > FAIL spapr_vpa (13 tests, 1 unexpected failures) > > The dispatch count seems bogus after unregister Yeah, that dispatch count after unregister test may be bogus actually. PAPR doesn't specify what should happen in that case. It was working here for me though so interesting it's different for you. I'll investigate it and maybe just remove that test for now. > > PASS rtas-get-time-of-day (10 tests) > PASS rtas-get-time-of-day-base (10 tests) > PASS rtas-set-time-of-day (5 tests) > PASS emulator (4 tests) > SKIP h_cede_tm (qemu-system-ppc64: TCG cannot support more than 1 thread/= core on a pseries machine) > FAIL sprs (75 tests, 16 unexpected failures) These should be TCG errors. I have it passing them all with patches posted to qemu lists. Very simple but effective way to catch a few classes of errors. Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58F3BC76196 for ; Tue, 28 Mar 2023 07:16:26 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Pm1FN5xQzz3cNF for ; Tue, 28 Mar 2023 18:16:24 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=pgti5pX6; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::42b; helo=mail-pf1-x42b.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=pgti5pX6; dkim-atps=neutral Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Pm1DK3jGfz3c3w for ; Tue, 28 Mar 2023 18:15:28 +1100 (AEDT) Received: by mail-pf1-x42b.google.com with SMTP id y2so7291359pfw.9 for ; Tue, 28 Mar 2023 00:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679987727; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SiQMQ2XCzDmv/eu0m0m2aUXUlJzPfX9pnKmES6IuxC4=; b=pgti5pX68H00wcMydHaWgi7FtBwV+bsuhgq+7Ahks1PJ/jNKmVYvtsP58fyN37/u2O KnTTE7TnpG4YChbx6pcHwKf09/zf32YGEgymoKroRHaoRspOjnEk0VKBMGpfv87YwnBP jpOpPVbqrj/UoXxWLquQ4OABVnN2SWOgFfc/PzW0TNiiYMsBST3xdY1qeJwhsdh1efa1 a5ygjCAV6JXTH1flLjrsaYezygdBqTxqja1pvZC6Y9DIyGqKJzIBLoP4C/jmMVjP5qUq PlqqdEAP/W+lQKjzSomDL/BxLEsXBOAKYFNzkJt3Fv0xAdYCtND/ci93YvPU0+UPSa7u xBPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679987727; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=SiQMQ2XCzDmv/eu0m0m2aUXUlJzPfX9pnKmES6IuxC4=; b=OcjMnUIs9+HvxR4zfsO71baXXn7Z+7vruD+SnNdaU8zEgYk2ACQXFDZtIr/R8MT6q5 7+HlPRRz7ZuLzIqum2UsFs8R6lzJmvn8j3JI2FffhjnquDHPr2ys7eWkgOO4CX5zdSFS ySZPpqRtiu9czYsw6HE6HM2mIVmiH8xajM+etxIUr1VXhQx4Lws6PLiU8LnzdxgrB5MD K7B6CtGYquKPhmYAU8WaLHtRBbPoeY/D0/tzCt6n768BvKjejiZ56yMcAXVurprpKMId 9RMxUpp01GR84XZuVRwxZgPNScX8XTN/NY386FiLhIBzPZlfxBgbcISEIC5jXIEFFaeT MlCA== X-Gm-Message-State: AAQBX9fRd4PsROe0CmxbRKjyXPPx/UnIuY+33JtUJ/7i+w9Mho8xnqYi 2tikQrgzi0k5vGH+WZZCfbE= X-Google-Smtp-Source: AKy350bM7EyA8ugscjz3rbNrkZy7EsBR3kG3B18yj0jYJMbnWE440HLAe0kwKxeh4j6JL20VMbQeKQ== X-Received: by 2002:a05:6a00:4e:b0:626:cc72:51ac with SMTP id i14-20020a056a00004e00b00626cc7251acmr14222944pfk.30.1679987726736; Tue, 28 Mar 2023 00:15:26 -0700 (PDT) Received: from localhost (118-211-28-230.tpgi.com.au. [118.211.28.230]) by smtp.gmail.com with ESMTPSA id i10-20020aa78d8a000000b006281bc04392sm12616676pfr.191.2023.03.28.00.15.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 00:15:25 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 28 Mar 2023 17:15:21 +1000 Message-Id: Subject: Re: [kvm-unit-tests v3 00/13] powerpc: updates, P10, PNV support From: "Nicholas Piggin" To: =?utf-8?q?C=C3=A9dric_Le_Goater?= , X-Mailer: aerc 0.13.0 References: <20230327124520.2707537-1-npiggin@gmail.com> In-Reply-To: X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Thomas Huth , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue Mar 28, 2023 at 2:09 AM AEST, C=C3=A9dric Le Goater wrote: > On 3/27/23 14:45, Nicholas Piggin wrote: > > This series is growing a bit I'm sorry. v2 series added extra interrupt > > vectors support which was actually wrong because interrupt handling > > code can only cope with 0x100-size vectors and new ones are 0x80 and > > 0x20. It managed to work because those alias to the 0x100 boundary, but > > if more than one handler were installed in the same 0x100-aligned > > block it would crash. So a couple of patches added to cope with that. > >=20 > > I gave them a try on P9 box Thanks! > > $ ./run_tests.sh > PASS selftest-setup (2 tests) > PASS spapr_hcall (9 tests, 1 skipped) > PASS spapr_vpa (13 tests) > PASS rtas-get-time-of-day (10 tests) > PASS rtas-get-time-of-day-base (10 tests) > PASS rtas-set-time-of-day (5 tests) > PASS emulator (4 tests) > PASS h_cede_tm (2 tests) > FAIL sprs (75 tests, 1 unexpected failures) Oh you have a SPR failure too? I'll check that on a P9. > FAIL sprs-migration (75 tests, 5 unexpected failures) > > And with TCG: > > $ ACCEL=3Dtcg ./run_tests.sh > PASS selftest-setup (2 tests) > PASS spapr_hcall (9 tests, 1 skipped) > FAIL spapr_vpa (13 tests, 1 unexpected failures) > > The dispatch count seems bogus after unregister Yeah, that dispatch count after unregister test may be bogus actually. PAPR doesn't specify what should happen in that case. It was working here for me though so interesting it's different for you. I'll investigate it and maybe just remove that test for now. > > PASS rtas-get-time-of-day (10 tests) > PASS rtas-get-time-of-day-base (10 tests) > PASS rtas-set-time-of-day (5 tests) > PASS emulator (4 tests) > SKIP h_cede_tm (qemu-system-ppc64: TCG cannot support more than 1 thread/= core on a pseries machine) > FAIL sprs (75 tests, 16 unexpected failures) These should be TCG errors. I have it passing them all with patches posted to qemu lists. Very simple but effective way to catch a few classes of errors. Thanks, Nick