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 X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5966C2D0E4 for ; Tue, 24 Nov 2020 11:29:09 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9B4F92073C for ; Tue, 24 Nov 2020 11:29:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="R0kOb1uw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9B4F92073C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CgMH32L3BzDqFJ for ; Tue, 24 Nov 2020 22:29:03 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::12f; helo=mail-il1-x12f.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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=20161025 header.b=R0kOb1uw; dkim-atps=neutral Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 4CgM2D2VBNzDqBb for ; Tue, 24 Nov 2020 22:17:53 +1100 (AEDT) Received: by mail-il1-x12f.google.com with SMTP id b8so3432765ila.13 for ; Tue, 24 Nov 2020 03:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kCwjIYdpqEM8U35zgw/4H/yMv3E+nD1ENUKFhNRrQYM=; b=R0kOb1uwcKVc4OFDs2E96LK4pWWjgkKbH/xIji0Hv60maLt6o78ZMwg3M54KLw9rAs kD4GH7yTG8vE+nZf11aIkTl9qZBQ8AAcs12YYbt0jiQIpmH37eKj1IxUFCkmTz0cR5Fp NIna/7xoBWMl10Bk6b3JwvljobcGTMkxbbWk5cge1+EL8pWn4FpEdH6O4+zeZAma1h8b ifa4vf+zOPxiSpaYNtnxCu5BfIMQIqE5Hi71I8XqbVK7ycZTIWiM77VBDz+mqXUEvHDq KSd/SLLyFx/HS6Gopx4b9Mhb7ioKs+bmUiq4qD3EPrzTb0vHr3NKXPin1nLUCPnMGnsq y+8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kCwjIYdpqEM8U35zgw/4H/yMv3E+nD1ENUKFhNRrQYM=; b=BvhvMMNq06kTBwCPlj+lGloxvKvTGlEC+asNxyCPqzqq0Ul3g6TTbC2hQ2tW1ebMpH PcZZx3bNmWjD52poEIhS+QpjYNd8zzUYC1nyiqxXkuXhawUjM0qwH5U6kC7WKP9Eqzk+ bDGYLvI5zTthHXf9Jyhc5BoiHk9VoRhZAh1qcKSvOs8q0gNg6hd/MXs/NA6bcrCh6QDE NSSayX2HipXp3YBLsVY/1aihFy4311Dhh89iEtr6jWCFzUzyr6XNUMIIWWIybMad3pJP 0c1rDxOZMlCbEaLYEVZWA2o8YlStlTJc5RuDK9+PAopKFLUogoyohfdyjhba0lBxmqcp tJ9Q== X-Gm-Message-State: AOAM530Oc3Ue4NKoTqxvvrazMspTloxaAcbRs21wuh6fOAoNeLzw+a04 re4eP4kBUYxZIlQeRX4WFE0jWyo/seYw6m+aK+Iwi2VcNHo= X-Google-Smtp-Source: ABdhPJxqlvu8jW/BKHDd0PRvigoRdkSph6rrQrarwVb+XmD453RA83otXmeqniTK/tPVVyyE5DaLy3RrEE8Zz6nvN0w= X-Received: by 2002:a92:c785:: with SMTP id c5mr2700337ilk.298.1606216668642; Tue, 24 Nov 2020 03:17:48 -0800 (PST) MIME-Version: 1.0 References: <20201103044503.917128-1-oohall@gmail.com> <20201103044503.917128-3-oohall@gmail.com> In-Reply-To: From: "Oliver O'Halloran" Date: Tue, 24 Nov 2020 22:17:40 +1100 Message-ID: Subject: Re: [PATCH 3/3] selftests/powerpc: Add VF recovery tests To: Frederic Barrat Content-Type: text/plain; charset="UTF-8" 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: linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Nov 24, 2020 at 9:14 PM Frederic Barrat wrote: > > Is it possible to run those tests on pseries? I haven't managed to set > up a LPAR with a physical function which would let me enable a virtual > function. All I could do is assign a virtual function to a LPAR. When > assigning a physical function to the LPAR, enabling a virtual function > fails because of missing properties in the device tree, so it looks like > the hypervisor doesn't support it (?). > > Same story on qemu. > > Fred IIRC having the guest manage SR-IOV was a half-baked feature that never made it into a production phyp build. I never managed to get any real documentation from the phyp folks about how it worked either. As far as I can tell it's pretty similar to what we do on PowerNV with the PE configuration being handled by h-call rather than OPAL call. The main difference would be in how EEH freezes are handled and I know there's *something* going on there, but I never really understood it due to the lack of documentation. I've been tempted to rip out all that crap a few times, but never really got around to it. There was also some noises about implementing support for guest managed SRIOV in pseries qemu, but I'm not sure what ever happened to that. Oliver