From nobody Tue Apr 15 18:52:48 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1582291924; cv=none; d=zohomail.com; s=zohoarc; b=MDhQoldtD4APCFtK9F4s+BDiBpzq6CHVkOTXS9//S5bkVhgtGcI3yLemxyfHPbOdQMPi1BFLtrYj7EN5j8yK6ERUK/J823mwblQF2XZ/6M2DDUYWlEUTra8FkUg5UShTHwWDUxTlj8Iplig301O0wXFYtIUq7uocyJZBsfLPqlg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582291924; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=t9tzjIw7N1XSr73asGVBDssmnE7SvvmIcOpn2v7YIf0=; b=CYHyHTbRBrp3KDWsLi39smoYqv/80ZscWhJNgBBzpgdMDKlV3xZqdpKzxgZT7I05C96PCy8YP8t2XatkcQOz4QATueOsSKVba7wYjlFogzUdiYuebykceZPVwWE+mLn+H2wI33uiaoF+XI8GY4KqI4yJ/zcZuHCINiFAI0TlqDM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1582291924888871.4046410676071; Fri, 21 Feb 2020 05:32:04 -0800 (PST) Received: from localhost ([::1]:57758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j58PS-0002Xo-Nl for importer@patchew.org; Fri, 21 Feb 2020 08:32:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56990) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j582e-0007ua-NJ for qemu-devel@nongnu.org; Fri, 21 Feb 2020 08:08:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j582d-0003Hw-Mr for qemu-devel@nongnu.org; Fri, 21 Feb 2020 08:08:28 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:46965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j582d-0003GV-GU for qemu-devel@nongnu.org; Fri, 21 Feb 2020 08:08:27 -0500 Received: by mail-wr1-x435.google.com with SMTP id z7so1969081wrl.13 for ; Fri, 21 Feb 2020 05:08:27 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id p15sm3598892wma.40.2020.02.21.05.08.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 05:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=t9tzjIw7N1XSr73asGVBDssmnE7SvvmIcOpn2v7YIf0=; b=pYgqCxHezS+bau4Uy2dCB/kdEHpdBTpGWw7LN21n53skMgZDXegbAEJJuX04zW/O8k jZ8bIaHbosJPn1etS5bhDxrPyqe1h5tCFxG15K05MuXQ3T33sd2MXFlumuDFeqNSprrZ J6J7uikWIHZSJM5fnJkMKZTq9eHwjRqvnHjqK86nOEkKO6v7WFkpBuiyWkgkuHKk7vYE cr01YsvDeE3vuoM71hncxeDOuBLw9A0VMdPmEjSmKa9Xn85pmxGZ6umgtOht5FIBYDQk k3PRvZ3AYMaqvLbUu5Tv5T/R8q8/ZtWmrPtJ/x4Sv8cf4vy+nN8NBQ364sSr/0qaCJDy UYVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t9tzjIw7N1XSr73asGVBDssmnE7SvvmIcOpn2v7YIf0=; b=JFE2wgoJQhAIez0hbbnUCogKcgDnrjBnVr7AM3gKb7wgBTPBXqEUAJFIsojGSYS1vs RJ4RlMXfBWkpqE/X0zaqBAiHV5HYaYnB/XWaiZ0wRsfRxFvhH4nBK40HWb5F17n3dpxs Rp+/sl/fUYSINf62nqdpLwlhuLJD+ZAGvwZekFdlecKK/1ju5o33khkYXKvLtkHcqZIW Yi2TTYB9q52sLGKtAMaUCycefa/NMmj+2oqR7sV5+Wl/IEP5bsW3fIp+VVktDnudIqA9 iDESWDwVSwuH4k6+FLTvzfXSB9qycnoa14I4UT6APeoXuj8zbZpYnnvDa5ftUz6qCksv AzRw== X-Gm-Message-State: APjAAAWJiDlc1lcc3olrKpdQ6q3zwXf9rGz/v0cWMkrEEETFKYq9TPwE ldoVkTCpD4R78xjPs3sVSMMVF3AhEFBz0Q== X-Google-Smtp-Source: APXvYqwBJ3SNO1TXs9p7aO+hm5weDGJo1uV9jBq/0aO+cerqbTqkQ/FWDQO64m5y9QpKBG+1FBsLnA== X-Received: by 2002:adf:ea88:: with SMTP id s8mr48553137wrm.293.1582290506138; Fri, 21 Feb 2020 05:08:26 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 36/52] hcd-ehci: Introduce "companion-enable" sysbus property Date: Fri, 21 Feb 2020 13:07:24 +0000 Message-Id: <20200221130740.7583-37-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200221130740.7583-1-peter.maydell@linaro.org> References: <20200221130740.7583-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" From: Guenter Roeck We'll use this property in a follow-up patch to insantiate an EHCI bus with companion support. Reviewed-by: Gerd Hoffmann Signed-off-by: Guenter Roeck Tested-by: Niek Linnenbank Message-id: 20200217204812.9857-3-linux@roeck-us.net Signed-off-by: Peter Maydell --- hw/usb/hcd-ehci-sysbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/usb/hcd-ehci-sysbus.c b/hw/usb/hcd-ehci-sysbus.c index 8d4738565e5..b22fb258be7 100644 --- a/hw/usb/hcd-ehci-sysbus.c +++ b/hw/usb/hcd-ehci-sysbus.c @@ -33,6 +33,8 @@ static const VMStateDescription vmstate_ehci_sysbus =3D { =20 static Property ehci_sysbus_properties[] =3D { DEFINE_PROP_UINT32("maxframes", EHCISysBusState, ehci.maxframes, 128), + DEFINE_PROP_BOOL("companion-enable", EHCISysBusState, ehci.companion_e= nable, + false), DEFINE_PROP_END_OF_LIST(), }; =20 --=20 2.20.1