From nobody Sat Apr 20 07:09:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1631143278; cv=none; d=zohomail.com; s=zohoarc; b=ChQls/GRttVMYdUDyGyE4JsZQR0P/DkFGzstl9MANmDZFu4fMe5xls2fKM/A68X3GQgvazsW7fNR8AVXRPQTIJl97WyLRyaOjoFgtFXisQ6CubGNtx7Zfkk4wFsQaxmdbaI+qAUllPgScb+qpp0OOmY5OOrBe1LhcCJa8h9+pD8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631143278; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ZkBFAMCpq6n9y+VH8JjTuNHo5ej2dLMGMd9K3LlaeP8=; b=llbJG/st5ms5LRlZ9k4ZISJoBBeDnI+so/aVxVlnLe7fN/EbmMYx9b3ql3aQ2TKGhxk/YeuyVp+kYRrzzYTTgKrKoRjdKDuocIiGzQUW8aH15lpLWpHR5pwkqDKAoG8rwFagSSP8pxCeDSbFxC1f0OxXfe4T6qRxnIveHvhFI+s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1631143278589560.4140130122474; Wed, 8 Sep 2021 16:21:18 -0700 (PDT) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-3-at7gztVaOFacFPMpHY5yMA-1; Wed, 08 Sep 2021 19:21:16 -0400 Received: by mail-wm1-f72.google.com with SMTP id c203-20020a1c9ad4000000b002f8cba155ccso38707wme.4 for ; Wed, 08 Sep 2021 16:21:16 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (21.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.21]) by smtp.gmail.com with ESMTPSA id t64sm344074wma.48.2021.09.08.16.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 16:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631143277; 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=ZkBFAMCpq6n9y+VH8JjTuNHo5ej2dLMGMd9K3LlaeP8=; b=MbajT/kNKsg4SXBKvHTR6tDLMIIK9gQUeckCC931eQZSpF/3DAT0PItZYHI/N0H3/BXSkH mgVNMFrCiSG+J/8pX7Eo5vNPU5izZBGZXmdUjY39Rzc5qYqdr1iwlNITyuZWSRp48lgDbc BYG9oZIHlsPUzJa+vTOzD1n6xajIZpI= X-MC-Unique: at7gztVaOFacFPMpHY5yMA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZkBFAMCpq6n9y+VH8JjTuNHo5ej2dLMGMd9K3LlaeP8=; b=ig8jpD7etIh8CvSl6O13OtzJ3uJqOSimauTMIRxhyaEi/1DdyUTGwwFbhWYcj9NtEH UnGDoV3qrQpYFyBhKBQFjfgvrvCXFineSJwa993ECGhYaOLDV/6VTQD1jo0ghfVrjpv5 DKplos3d1mBzjnapMLP42BFRzLWJfm4WCyYP/wRvn8k+oG07E9ce7iGlT7tqJvyVd/GC e7hLo6yyykyFdPR5QMYbGr9oM7SLA6XhV1nd24azx3MyF4RbyhPqHq7tc4ONIdJq//Tc CMEaMgMhysytgCkoC+0Zi/vbFWUo4kQ/Je6gZ21xvoJA+/41MzaJkR2Dv7JArSXwWHDY TRjQ== X-Gm-Message-State: AOAM531ixNkdf54ldfz3UFF3mwsUoDLXwWAaY4Qwx5AxR9rEXonxt0tB mIZn8NU5VEVIpZcBftDn/3uxVrWC+nJI1C3F9JHv1/s5ZEv6npPU98CyaDQEKk9/pShp1yKHPWu X387BbD3dlE9k2Q== X-Received: by 2002:a7b:c4cd:: with SMTP id g13mr5796234wmk.91.1631143275277; Wed, 08 Sep 2021 16:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybmoGBTuN4rPAmVNoHLJ613PnCRxyUI7oFmyfrpx3hP5AYKM4updonQnfJItVUJwu02OE/7Q== X-Received: by 2002:a7b:c4cd:: with SMTP id g13mr5796223wmk.91.1631143275096; Wed, 08 Sep 2021 16:21:15 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Prasad J Pandit , "Michael S. Tsirkin" , Markus Armbruster , Paolo Bonzini , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eric Blake , Richard Henderson , qemu-block@nongnu.org, Peter Maydell , xen-devel@lists.xenproject.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [RFC PATCH 10/10] hw/sd: Mark sdhci-pci device as unsafe Date: Thu, 9 Sep 2021 01:20:24 +0200 Message-Id: <20210908232024.2399215-11-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210908232024.2399215-1-philmd@redhat.com> References: <20210908232024.2399215-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1631143280163100002 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/sd/sdhci-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/sd/sdhci-pci.c b/hw/sd/sdhci-pci.c index c737c8b930e..7a36f88fd87 100644 --- a/hw/sd/sdhci-pci.c +++ b/hw/sd/sdhci-pci.c @@ -64,6 +64,7 @@ static void sdhci_pci_class_init(ObjectClass *klass, void= *data) k->device_id =3D PCI_DEVICE_ID_REDHAT_SDHCI; k->class_id =3D PCI_CLASS_SYSTEM_SDHCI; device_class_set_props(dc, sdhci_pci_properties); + dc->taints_security_policy =3D true; =20 sdhci_common_class_init(klass, data); } --=20 2.31.1