[{"id":1765459,"web_url":"http://patchwork.ozlabs.org/comment/1765459/","msgid":"<20170908152845.tqxknz7oqxotsunw@ubuntu-hedt>","list_archive_url":null,"date":"2017-09-08T15:28:45","subject":"APPLIED: [Artful][PATCH 1/1] [PATCH] PCI: Disable VF decoding before\n\tpcibios_sriov_disable() updates resources","submitter":{"id":6957,"url":"http://patchwork.ozlabs.org/api/people/6957/","name":"Seth Forshee","email":"seth.forshee@canonical.com"},"content":"On Fri, Sep 08, 2017 at 09:45:29AM -0400, Joseph Salisbury wrote:\n> From: Gavin Shan <gwshan@linux.vnet.ibm.com>\n> \n> BugLink: http://bugs.launchpad.net/bugs/1715073\n> \n> A struct resource represents the address space consumed by a device.  We\n> should not modify that resource while the device is actively using the\n> address space.  For VFs, pci_iov_update_resource() enforces this by\n> printing a warning and doing nothing if the VFE (VF Enable) and MSE (VF\n> Memory Space Enable) bits are set.\n> \n> Previously, both sriov_enable() and sriov_disable() called the\n> pcibios_sriov_disable() arch hook, which may update the struct resource,\n> while VFE and MSE were enabled.  This effectively dropped the resource\n> update pcibios_sriov_disable() intended to do.\n> \n> Disable VF memory decoding before calling pcibios_sriov_disable().\n> \n> Reported-by: Carol L Soto <clsoto@us.ibm.com>\n> Tested-by: Carol L Soto <clsoto@us.ibm.com>\n> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>\n> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>\n> [bhelgaas: changelog]\n> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>\n> Cc: shan.gavin@gmail.com\n> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\n> Cc: Paul Mackerras <paulus@samba.org>\n> (cherry picked from linux-next commit 0fc690a7c3f7053613dcbab6a7613bb6586d8ee2)\n> Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>\n\nApplied to artful/master-next and unstable/master, thanks.","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com\n\t(client-ip=91.189.94.19; helo=huckleberry.canonical.com;\n\tenvelope-from=kernel-team-bounces@lists.ubuntu.com;\n\treceiver=<UNKNOWN>)","Received":["from huckleberry.canonical.com (huckleberry.canonical.com\n\t[91.189.94.19])\n\tby ozlabs.org (Postfix) with ESMTP id 3xph7C25ktz9sBZ;\n\tSat,  9 Sep 2017 01:28:53 +1000 (AEST)","from localhost ([127.0.0.1] helo=huckleberry.canonical.com)\n\tby huckleberry.canonical.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1dqLD8-0000I1-97; Fri, 08 Sep 2017 15:28:50 +0000","from youngberry.canonical.com ([91.189.89.112])\n\tby huckleberry.canonical.com with esmtps\n\t(TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128)\n\t(Exim 4.86_2) (envelope-from <seth.forshee@canonical.com>)\n\tid 1dqLD6-0000Gx-3T\n\tfor kernel-team@lists.ubuntu.com; Fri, 08 Sep 2017 15:28:48 +0000","from mail-it0-f71.google.com ([209.85.214.71])\n\tby youngberry.canonical.com with esmtps\n\t(TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.76) (envelope-from <seth.forshee@canonical.com>)\n\tid 1dqLD5-00020h-PM\n\tfor kernel-team@lists.ubuntu.com; Fri, 08 Sep 2017 15:28:47 +0000","by mail-it0-f71.google.com with SMTP id b76so3208230itb.0\n\tfor <kernel-team@lists.ubuntu.com>;\n\tFri, 08 Sep 2017 08:28:47 -0700 (PDT)","from localhost ([2605:a601:aae:1b20:cd91:46c8:eacd:8f61])\n\tby smtp.gmail.com with ESMTPSA id\n\tg126sm1086885ita.12.2017.09.08.08.28.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 08 Sep 2017 08:28:45 -0700 (PDT)"],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=I0aqNTQ0DtFfn0OT3kXoOZxNzZF1uS5DtssykqZmUrg=;\n\tb=jngoUdkqez5n4X+AI9XVzBRMsGIMI0DCb2LRVTUwb4X6K8aObiYP9c0l9M+qJIa0eI\n\t+Kp4F0lZpI+1mfQQVJ0K18yJvHWSqIKhWhuWMfwGq41eqfjKBsMfbhaSnKxkRZEb9eGY\n\tEYiW49SC/5LNtMnDvr+ZnygfSgIGlkEp7jXqqrCAX025W5bH8QynPdaFXcdtOQQIYQMB\n\tX2rB8HkzJV2nD1nSxVRTGasnZhdOOwLfAsQP5cANW3bbwQPqMmk6R27/d58jEdRqBQHU\n\tfih63URfB/ZXGlm4CfbmJkNVCHinK/7ohvL0i+GW99i4U0QRQZ+nBKm3bc7x6IPrzRsP\n\tG8tg==","X-Gm-Message-State":"AHPjjUi64id2RgjYmqivn50y5vrdoS570njhJ480tCZWJESrfGVFDlpt\n\tgTSvYnLLIVFaiigvDSoak+BLHxnJ8vLfeg162EOU33wRDmyyy63VoljvYl4cSnoORgORlcMgCce\n\t141QLT55N9lALJaakxAsdNQEXVAWLAH/l","X-Received":["by 10.36.215.198 with SMTP id y189mr1626013itg.58.1504884526829; \n\tFri, 08 Sep 2017 08:28:46 -0700 (PDT)","by 10.36.215.198 with SMTP id y189mr1625986itg.58.1504884526561; \n\tFri, 08 Sep 2017 08:28:46 -0700 (PDT)"],"X-Google-Smtp-Source":"ADKCNb5qymi4rHm9DSzORHv4fDy2POwO7OT0QHzCFmA3CFs0D7VFkbQYNzTYNie6yU8zEYCgKxFDeg==","Date":"Fri, 8 Sep 2017 10:28:45 -0500","From":"Seth Forshee <seth.forshee@canonical.com>","To":"Joseph Salisbury <joseph.salisbury@canonical.com>","Subject":"APPLIED: [Artful][PATCH 1/1] [PATCH] PCI: Disable VF decoding before\n\tpcibios_sriov_disable() updates resources","Message-ID":"<20170908152845.tqxknz7oqxotsunw@ubuntu-hedt>","References":"<cover.1504637190.git.joseph.salisbury@canonical.com>\n\t<071e2d1864a1dc98f82bab30212fead8fe325566.1504637190.git.joseph.salisbury@canonical.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<071e2d1864a1dc98f82bab30212fead8fe325566.1504637190.git.joseph.salisbury@canonical.com>","User-Agent":"NeoMutt/20170609 (1.8.3)","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Cc":"kernel-team@lists.ubuntu.com","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}}]