Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp270375rdb; Wed, 17 Jan 2024 01:02:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYseh5otiI7z3xRh3FShyJhGRksvn+GHf1jh6SQurEtqPGdTQO2xXvUASMd62Y0jX9BKni X-Received: by 2002:a05:6402:8c7:b0:559:b6bb:d296 with SMTP id d7-20020a05640208c700b00559b6bbd296mr1018356edz.46.1705482144527; Wed, 17 Jan 2024 01:02:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705482144; cv=pass; d=google.com; s=arc-20160816; b=NLwwYWWrg1rkgL7YUOk/E46W2AT2hSOyQPcTTT5RkolHzsFZhZM+oGs0Co979dwaGQ 7ROUgfgH8qLBun9h6kCCirveg7nw+syj2H1WojfB3L7N5r456imo6cEk7i7R79Iu8Okx Khft3TE9WUDgfjTQCCxsmgWt7hBdVONo8XWfyvH6wl6NtTzorLew71xdPzyelTMltPnj DqUZpv/pjOf+ToW81jVVJL6796qn+51qm9mtto6qorugq0dSNROLSoPOuHHhBseUyf7H GffUCYv9RJ8wLxO8SypP3dbX3Wdo4Ofu8NJSym1tb0ZjrAO1UYZnV9SndxDLDpyaINAj 49IQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=fCONQQwfnvvNZ57uYSX9Ww6ZAzspw0P6ttTs+4QytSA=; fh=HMtqNPS4n3fGdtPkhHgKWKxLlxVPR9ivbNMSc1fbUAI=; b=NHG5+HOdjp9jAqS6VYquQyDc1Cqk4a4AnPE2KTSu1oXm0e1mfrraB+4ZnGZg8wGqUs j7YnxRWDa072vIoVby8xKSzwuUuSiXAycM5+NaJEQ7z+g50ajMG4kRCTZVQ/GJRINUzL 2/2Ki2hlw13BpqiboypoiPJqG17ao+00HPoG/0fVHiTo/A0C3ul04UCe3yTMfKZAf1rq qDaVGKXipms1Qp45lt/6TC7d38KJZigpH9SXs+OPJ/lXft9MCjc8RhMvFQBaK/a6wJTl pu4GO71HJtC4WU5RuDcfk16DV2r+zRbFIOnA4DNI/cOkKgTEP7LKJPTWRT6ao632xtHc Ebzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BjtX6At7; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-28682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id el14-20020a056402360e00b005593bdd0ca7si3112590edb.686.2024.01.17.01.02.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 01:02:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BjtX6At7; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-28682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1B8A21F24C5E for ; Wed, 17 Jan 2024 09:02:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BFCA134D3; Wed, 17 Jan 2024 09:02:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BjtX6At7" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 EC5A813FF9 for ; Wed, 17 Jan 2024 09:02:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705482133; cv=none; b=Tu2BWXE9DsvkLDyhQchpRGP0M5tY41T8lVPSPwLkXEits0tP/ZQpij5DBR/ViBOX45D6JeHt0ge6nyCwz748NbnBf3lOjcczuV0cSc1gEHSknL4skP4RdCw1q3ZlYAaWlxfnBbIpgTXV8oTKQcIu8NvvYJLo1PpqtXKIIm+waoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705482133; c=relaxed/simple; bh=fCONQQwfnvvNZ57uYSX9Ww6ZAzspw0P6ttTs+4QytSA=; h=DKIM-Signature:Received:X-MC-Unique:Received: X-Google-DKIM-Signature:X-Gm-Message-State:X-Received: X-Google-Smtp-Source:X-Received:Received:Message-ID:Subject:From: To:Cc:Date:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:User-Agent:MIME-Version; b=X4v6w/+kj2RsswNc5uzpxrHU3cFOtBOBY0BbZVjz/KJJrgEZYM55RAnEw0MsNBEMTzr3RvoLXodieAqYSLhnSI/BA0JYOfk7EiMAHReqtwTMSUQ+vidUh2LBlv3vr49IPVHIQ61gYA5ONTaBr3ce6AiCXvNTqde072gZrOigNRc= 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=BjtX6At7; arc=none smtp.client-ip=170.10.133.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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705482130; 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=fCONQQwfnvvNZ57uYSX9Ww6ZAzspw0P6ttTs+4QytSA=; b=BjtX6At7N+s/TV5ngC51ifGmxsHr0lzAoKQ7pyCcYR/a86Hh5aw02ZR2HBI6RFD0oMqbF0 7sjTGZxp7bDOsPXe66RXUuWUdieHbm6IaiDEDTXbTLWXD7ENWynJyDK9JkhQJcTYykzL3O 2lTHQkgP3Yo+tK0h+PQf0dCMWC0uXn4= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-602-Cdk6KDELNKeoSZWSxSTr6w-1; Wed, 17 Jan 2024 04:02:08 -0500 X-MC-Unique: Cdk6KDELNKeoSZWSxSTr6w-1 Received: by mail-vs1-f69.google.com with SMTP id ada2fe7eead31-467f038c918so1143191137.0 for ; Wed, 17 Jan 2024 01:02:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705482128; x=1706086928; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fCONQQwfnvvNZ57uYSX9Ww6ZAzspw0P6ttTs+4QytSA=; b=uQrccKj8wDveOdVduK7uQKhCXI5+HUXtJjbCs3i+LG8kDKHX5E4rdcENtNJUyiJFtn wzx1lPUR7dBOfNoO2Fo3+K5e+uTH81mYhKcdX/9kuUeLMyw47/rrpoi/BR5hfCIutXcS sVxtHKdH0nxDLwkvUcFNb9PEnIstzRF8w2DTAfTuh+GLs+cQHgflVCa3at5g3Z0OpMIZ z2/MT+N+okhc8GqSTCNZop/XhANVCQNIH8ogAerHRUDP2sqt49NhwJp9Pyy+LpZHlg7L LDcNN0CF/R+KEeh4zEqE+Rs+zbv6CATXYAltK4vgLAQ7ZEnSz4TjeZCS9SqH3xywgEOh zMbQ== X-Gm-Message-State: AOJu0Ywai/PhIgiR0YN6zMYwRf5afrMHR5ZwxZVPMG6Hu4mSfjgoxNwc 9Y8rXBbHUI8f/178y7doYYFviT56IaRfZbk5a3GuqVcFgZ+n+pqGq8vBYF5QbajsioSarzPnUFL d8zx6+5UnmidGIHvsf5RLUvgHR0VWXhTt X-Received: by 2002:a05:6122:2029:b0:4b6:bcd6:d681 with SMTP id l41-20020a056122202900b004b6bcd6d681mr9240682vkd.1.1705482128336; Wed, 17 Jan 2024 01:02:08 -0800 (PST) X-Received: by 2002:a05:6122:2029:b0:4b6:bcd6:d681 with SMTP id l41-20020a056122202900b004b6bcd6d681mr9240670vkd.1.1705482128078; Wed, 17 Jan 2024 01:02:08 -0800 (PST) Received: from pstanner-thinkpadt14sgen1.remote.csb (nat-pool-muc-t.redhat.com. [149.14.88.26]) by smtp.gmail.com with ESMTPSA id c9-20020a0cd609000000b00681119814f4sm4845166qvj.6.2024.01.17.01.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 01:02:07 -0800 (PST) Message-ID: Subject: Re: [PATCH 06/10] pci: move pinned status bit to pci_dev struct From: Philipp Stanner To: andy.shevchenko@gmail.com Cc: Jonathan Corbet , Hans de Goede , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Bjorn Helgaas , Sam Ravnborg , dakr@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org Date: Wed, 17 Jan 2024 10:02:04 +0100 In-Reply-To: References: <20240115144655.32046-2-pstanner@redhat.com> <20240115144655.32046-8-pstanner@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 T24gVHVlLCAyMDI0LTAxLTE2IGF0IDIzOjM0ICswMjAwLCBhbmR5LnNoZXZjaGVua29AZ21haWwu Y29tIHdyb3RlOgo+IE1vbiwgSmFuIDE1LCAyMDI0IGF0IDAzOjQ2OjE3UE0gKzAxMDAsIFBoaWxp cHAgU3Rhbm5lciBraXJqb2l0dGk6Cj4gPiBUaGUgYml0IGRlc2NyaWJpbmcgd2hldGhlciB0aGUg UENJIGRldmljZSBpcyBjdXJyZW50bHkgcGlubmVkIGlzCj4gPiBzdG9yZWQKPiA+IGluIHRoZSBQ Q0kgZGV2cmVzIHN0cnVjdC4gVG8gY2xlYW4gdXAgYW5kIHNpbXBsaWZ5IHRoZSBwY2ktZGV2cmVz Cj4gPiBBUEksCj4gCj4gIlBDSSBkZXZyZXMiLCAncGNpLWRldnJlcycsIC4uLgo+IFNob3VsZG4n dCB0aGVzZSAoYW5kIGFjcm9zcyBlbnRpcmUgc2VyaWVzKSBiZSBjb25zaXN0ZW50IHRlcm1zPwo+ IEUuZy4sICJQQ0kgZGV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