Message ID | 20210504055312.306823-46-david@gibson.dropbear.id.au |
---|---|
State | Accepted |
Commit | 3e1c8ba98844254cbf2e8134697c3f20faf461d4 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp3516371jao; Mon, 3 May 2021 23:47:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn7EhlXH2tFCE5bEjBphTmWbuGzKl92/JAqVE80Lz6GlWn8pTMY+DFhSUZSIvz8qcjVAgH X-Received: by 2002:a05:6e02:786:: with SMTP id q6mr13619361ils.84.1620110858500; Mon, 03 May 2021 23:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620110858; cv=none; d=google.com; s=arc-20160816; b=Pmssd8h39ZdJoJmqDKaUTHiTm3AXdR59v5zlcv+WKu1o59/hN2um9yXdQSyO1O2qOa UDLhJZTJXUisgyLxP2UTMYcxkQ4S0PEH6fpBWbKnVWUc9GM+2Oj/Ftew/hjhFuit0qZ7 8TLcPN4E8ggHtuSs3RNEmoFwOaEtQp4q8xC9Ok42G00O0MHe8eZAV7Ng090X5qMFXBZr BLJbiSsX7uENvoOLdpxsaf3oT66suorHdxdJSdsuio4bq9UJWJGml1CXFaYzsUnENEJ4 gCxpPZkQ7TakWv5Wt96r17m5FYiFxBm53qg0kx20AhvMd8WHfedODmqf+p3UAJBoaA9y uGEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=0ALnroDjD53TLuga2+CRQ2Z3M7UfYHnG9tTmgW9xB58=; b=qalERLFg/G3NfdbrGRU/FlJZ22Wd2YZz4OahzizloYAvH+Yq6j7uT0jbp5qCrlO2lk Ob2arNZXXJrihACAuXOEdrR+7gPlrQvFqP9q246DiWH12ZsA6hEIz3K+cXTQXx+Jqqoj 0MTaz3ucm9+LHhxapQ8AnTp1Wf/0+aqCMzTMqLh6c/f3lSSzW6uE8VUcvrHT6DoEJMCi JPJurmKCzeqkIAOvztisowj8tkRz8s0B8sIXB8k/O+mWtpVVI2fxxbkwcF9rdRWhhd8I AARefBgw1L7wE9dN2UQn/f+IVWnsBUS3RP43ae0pWaiZeLvvQhxf9J/yG0lAdyIG+lUW /T8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b=VbVsBSo4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g11si2219050ion.60.2021.05.03.23.47.38 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 May 2021 23:47:38 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b=VbVsBSo4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:43272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ldoqH-0003ax-UG for patch@linaro.org; Tue, 04 May 2021 02:47:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dgibson@ozlabs.org>) id 1ldo1N-00076i-Hx; Tue, 04 May 2021 01:55:01 -0400 Received: from ozlabs.org ([203.11.71.1]:39687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dgibson@ozlabs.org>) id 1ldo1L-0005OH-Hw; Tue, 04 May 2021 01:55:01 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4FZ8CQ5sbFz9t1r; Tue, 4 May 2021 15:53:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1620107602; bh=fCKZKsqp44tDGeu7z15Q40LoupLPDQzipln+K2O5gIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VbVsBSo45rI2WhDWrQ/aMmiiPXZUrcJovC6mcbgBGR2btWBNhm/bB4TUYvfF/kXEQ +2jKTxVHFn/+nKzojZWaJ9yzgju8uXplVpUpxTrSq7TS0AlWLiGPhTpb4TiA8fExVv MkIzinG08UGtuQSHO6CaUdZYkjLw5/NgBJUc4NX4= From: David Gibson <david@gibson.dropbear.id.au> To: peter.maydell@linaro.org, groug@kaod.org Subject: [PULL 45/46] hw/ppc/spapr_vio: Reset TCE table object with device_cold_reset() Date: Tue, 4 May 2021 15:53:11 +1000 Message-Id: <20210504055312.306823-46-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504055312.306823-1-david@gibson.dropbear.id.au> References: <20210504055312.306823-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=203.11.71.1; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson <david@gibson.dropbear.id.au> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/hw/ppc/spapr_vio.c b/hw/ppc/spapr_vio.c index ef06e0362c..b59452bcd6 100644 --- a/hw/ppc/spapr_vio.c +++ b/hw/ppc/spapr_vio.c @@ -310,7 +310,7 @@ int spapr_vio_send_crq(SpaprVioDevice *dev, uint8_t *crq) static void spapr_vio_quiesce_one(SpaprVioDevice *dev) { if (dev->tcet) { - device_legacy_reset(DEVICE(dev->tcet)); + device_cold_reset(DEVICE(dev->tcet)); } free_crq(dev); }