From patchwork Fri Oct 20 10:54:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 736223 Delivered-To: patch@linaro.org Received: by 2002:adf:dd81:0:b0:32d:baff:b0ca with SMTP id x1csp232054wrl; Fri, 20 Oct 2023 03:55:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+vlKX0a0mwaXo+BePT826vRw9mGGiBdSgfsza2nKBkXEHtP/0iGNcrddZ1UPgT8/bdD+u X-Received: by 2002:a05:622a:105:b0:41c:bee2:883b with SMTP id u5-20020a05622a010500b0041cbee2883bmr1303415qtw.67.1697799333401; Fri, 20 Oct 2023 03:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697799333; cv=none; d=google.com; s=arc-20160816; b=PLANdJ5n07P1TnoZVSQtARJqZxmY9b8Z5v+uzO4ylFBRP/ggZmvrC/aAZtJ0pYYkzz 6pDHmemreQ8hdhi4w50Yxz8PgpDG8x9RwIoY2c1wgmES7VQD5wTyGAt9MTOM7J72gjQ0 V+qyJq4ZyjoJ+YDbbUatm5d1twb7SR079uoiZjFQBAVN1RwGSetthancmBtiHm/RQbp3 wIQpbicDNCjzXjQEnDp9+b8GGHzIlkow1V3hsyGBymYDI4ozJVoSldwoUtLBEhtimu8V H5QX2nWjk2EbQ4s9K1hV4xIrgmdjyHbGEwtCjFfJS3DlNPVdMBe8d9QAx2viphbBokNW zivQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=DRXl7FYJRbnu5FN1+Vxlh8KExoG7zuMkkdyPGrTEQY0=; fh=uXBd1Pj2LuG7dyV4xjvccR64Bb/Jv9oTyYEhZFFKPxw=; b=QQ1bEQr3lN2yeALZZzg3vPuBenuUTtcHJq387IkvkYunlexTBza0QpQI9gwk92QTBu Sa13ORquzakjRE7zqK1a/7BIiCMbhchtxEFCJSNIKbZTP1J8lRI2IaC2DyJd/poFstCk 6HtdXTMdAEB/P7816SzCMxNPxkwHaEGUdw7iUXj78/x0ckFHcZsC2px6XBfNkmyNIvFX 9+M64hn4tDQKL5fjNURMVQDCaW8VkUsflsUQesMxl2H9XolzveUxvDMrL6WDwD+azEOa 0pB2+wKeWZ/9vfEEPYvohcQ+gab5I+gpGWxjmD5W8DIAYGEzvS9NLfIluwTm8cbhWX3V 38eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D40iUX+M; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c2-20020ac87dc2000000b0041b83912a5dsi1064372qte.187.2023.10.20.03.55.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2023 03:55:33 -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=pass header.i=@linaro.org header.s=google header.b=D40iUX+M; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtn9c-0006Dr-Vc; Fri, 20 Oct 2023 06:54:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtn9b-0006DY-Mg for qemu-devel@nongnu.org; Fri, 20 Oct 2023 06:54:56 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtn9Y-00054X-4k for qemu-devel@nongnu.org; Fri, 20 Oct 2023 06:54:54 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-317c3ac7339so537755f8f.0 for ; Fri, 20 Oct 2023 03:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697799290; x=1698404090; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DRXl7FYJRbnu5FN1+Vxlh8KExoG7zuMkkdyPGrTEQY0=; b=D40iUX+MFIsGf+xcGaZcXISbdtW8HaZwHCZDNVkrJrSsXfsnpyBycRHgCamuwZ7HJp HBmvwZ1eM9QbZ2Iq9lSTzXXD6bCT32jDO1C6AjkX/mvMK53cJEKuNZE235kPBx0/x64Q 54t1AbO7tBjjTffiomlGMKV3lt3YumKNBT5gQoFIafjOn5npXjwe9JblltcEswaa8uAm 9H0f8V9ZlUj8h4he97RHw3IEIv8pxbZkdmCAY6ApLu5OQOeJX8Jdk6cXB6dW/azE7BR1 ehypR0GP7eBjyoVKBtqtkGnOyXQAi0/vTC4BKRtW08XX8VP2L/64hMdCijS4ch1Caavk hK/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697799290; x=1698404090; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DRXl7FYJRbnu5FN1+Vxlh8KExoG7zuMkkdyPGrTEQY0=; b=UqZAwHrXnF5dDVRhPcErKF91aY8fI2FtMHtUtSpSK1QI2yoJPDty/LF7skQVs/iv45 NAvlxiMt2vJ3DXo6rbaW2n2w60Ot81CpZJGVxGhluDOitFLmSzRxTisNu/iHNejqexyE 6wCANumzuAP10MQ218M17jGQGwYabZUIGWrRdPDej22K/xWTtqG1q45So9MKkZ18PXS+ B0Opij+y3YSDFMzx55TH5gftEqbvyeXAAgsvJ5ho8uzRO5PX6BMZnfgJFbA31KEM5zIS I65SsPKY9jOESDmGNc3rt57L36FGCH97E2g6ceBV14WM+I0NV9F5djY3FHY/cX0TbYaj 4PFg== X-Gm-Message-State: AOJu0YyHVmRiX1Try6K/TJML+P32ZcqKWHV84Em8elwbec1UPTXHxPZC af9sxaeFvAdmXPUngD1IjDNe/z/0bGf1VyqRhn0= X-Received: by 2002:adf:f64a:0:b0:32d:a49c:dfd0 with SMTP id x10-20020adff64a000000b0032da49cdfd0mr984081wrp.64.1697799290150; Fri, 20 Oct 2023 03:54:50 -0700 (PDT) Received: from m1x-phil.lan (tbo33-h01-176-171-212-97.dsl.sta.abo.bbox.fr. [176.171.212.97]) by smtp.gmail.com with ESMTPSA id r17-20020a5d4e51000000b0032d09f7a713sm1440395wrt.18.2023.10.20.03.54.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Oct 2023 03:54:49 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Bernhard Beschow , Markus Armbruster , qemu-ppc@nongnu.org, =?utf-8?q?Phili?= =?utf-8?q?ppe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 0/5] hw/audio/pcspk: Inline pcspk_init() Date: Fri, 20 Oct 2023 12:54:41 +0200 Message-ID: <20231020105447.43482-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since v2: - Propagate error in hw/i386/ Philippe Mathieu-Daudé (5): hw/i386/pc: Pass Error** argument to pc_basic_device_init() hw/i386/pc: Propagate error if HPET device creation failed hw/i386/pc: Inline legacy pcspk_init() in pc_basic_device_init() hw/isa/i82378: Inline legacy pcspk_init() hw/mips/jazz: Inline and remove legacy pcspk_init() include/hw/audio/pcspk.h | 10 ---------- include/hw/i386/pc.h | 5 +++-- hw/i386/pc.c | 17 +++++++++++++---- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/isa/i82378.c | 7 ++++++- hw/mips/jazz.c | 5 ++++- 7 files changed, 28 insertions(+), 20 deletions(-) Reviewed-by: Richard Henderson