Message ID | 20240717214708.78403-4-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp16449wro; Wed, 17 Jul 2024 14:48:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVMhogZUZozwzWU/JWB1Q38s/5yq35TFyqRgqjyQ5ZSt+4jooTgvtAowpSFf13Yp58nf90wO+SSKm8VeAALV0FQ X-Google-Smtp-Source: AGHT+IHxpI7d8N0qSHe1Q5W4xZN7u/FAexCV9/myTjE4b0JHmDlwHVz7AJhKjF3EqMi7qdJXdpYN X-Received: by 2002:a0d:efc3:0:b0:64a:4728:eed with SMTP id 00721157ae682-66500955562mr34338637b3.46.1721252889442; Wed, 17 Jul 2024 14:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721252889; cv=none; d=google.com; s=arc-20160816; b=OBdSc58rR9ekdnG/ivx6IIhbUfEJn2RU5NapjwxySPuPKs+qMch6/5A2s9hqD3H55G tgiksLizdc4jfNaHvabOigRzKOqzwqYEjfAR4GsWXwxMUHY64w1/oht7lIpkoyxNPVnI R4+2XEFlfDXMaHjTDctTVN5si57/1MxV37TzXov5LttYQDwwfMC9WrfELVN1yeXTp5vr JRdF49fhJEbFl9UWxG99wKL/W4WvHO+GbzLdLKbuZR6PNPCMqBOK3qMQ9PNGGncj+lpQ 1woS4cGrmvQIKMfkYDwkP2A0zQqy962muaBsUoF19ZwK7DjbXxpOkhmO4vZUN4SlBWo0 27Tw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DELvQvW4nff9OshEIpTndk1NZr7mJcffQsAB83fChY4=; fh=oqk5WV73NcvzO9ZknFyHTJhU7wwEuTrfETlwj9PzIOI=; b=pa5VnOxSGcxKC126PSAxnfIdO0N+55/g26s9YuyccGl2GnGEjK7E9nPGu0iCx8+f5a e7qLg8Gu0zZpysxY9QiZ6vDYnIVJ5HFwnwHh5D2hr11eDmzeJdS6RzYDf5YVnbcBO9XL VpwPdsGUiCgV9zEgpHIumsABxsNafKru5DHXnwnjyn48UqMhbAThoAJhfgoJz2FfU/s8 QSC/31SZuZgHqU56ABjrffRWE3Uz2hxl3IpZ2hO7HDbv+amDPmoABgAV+OsJ3UEe72Dv TzlpWfVebJDjISUfGFCiiOWyQteDSmnA8frHwxU0DRzsFacCLTX4gbAz5Ew5HUwTB5kr vzSw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n6Lls6fu; 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; dara=neutral header.i=@linaro.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 af79cd13be357-7a160c92a7esi1047103985a.761.2024.07.17.14.48.09 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jul 2024 14:48:09 -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=n6Lls6fu; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1sUCVC-0007zy-Jw; Wed, 17 Jul 2024 17:47:58 -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 <philmd@linaro.org>) id 1sUCV2-0007bE-6M for qemu-devel@nongnu.org; Wed, 17 Jul 2024 17:47:51 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1sUCV0-00023H-4t for qemu-devel@nongnu.org; Wed, 17 Jul 2024 17:47:47 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-368526b1333so2232f8f.1 for <qemu-devel@nongnu.org>; Wed, 17 Jul 2024 14:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721252864; x=1721857664; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DELvQvW4nff9OshEIpTndk1NZr7mJcffQsAB83fChY4=; b=n6Lls6fuB8KPIqCiUsEW9ULUeP3LCM9tIzHZ2inFNDRcBLfL2p/ok8GjQAKkhNaOU1 +sMS6WSyf1YHt81kTju5ye79wnjWNKPb07s9Qd47mSFG17GgHZ/FnZEoj9Q7yEl9krUC NMVy8GhULQeLyux3iN3smduJWm6AkctOHw+6ZR/Rhv+Caw2+10q06y46E5Hg5rsvuBM3 0BXaAbRmkP+hdJp+gxk2gEewKmHQHVV304wJ1VxvlpCr6eoS2xL7Y9FhXkewkZX2buY8 UvCrZmGApfWasQwJ6DLxM3v0/Ep12RiN9LLjg1Cs/rg+wpTOj/+T3dpdEOu+BTDZnvV4 o56A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721252864; x=1721857664; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DELvQvW4nff9OshEIpTndk1NZr7mJcffQsAB83fChY4=; b=WDibydj9EB23aDTbAlFqmxdDYipVExWcPV9tyJ2ysSaNVzQBw5qUguhGx1snljtHQB wxs5fNt8HLGmLU138dMxS18BMikT3E0zZXTnkb7o52TUpn+FzLHVavVpLcA4ftIb8TJU v/QH1SnP9rnA3f3Y+YqiPwW1A2jE0ONwkYJkAqG+rFEI/HfGDtHOiGPldkhSPI6OGF+B 7b66Y/Cn4MXzABYmo4INV/Wj+//+/6uPioKO+8d9XsBlZf77NYsWhEIuzf+qRQRYls/h U7cFEqR9A1hgif++ehc8xEP+inxkIOufZIgg14h22OUebA+sCoIabPpPqbpZKaVQ+uLP teag== X-Forwarded-Encrypted: i=1; AJvYcCUhfxMxyXEblaJEsA0wXe1wm+W8G7NNmgrKboGQTE8KNpNDWID4QST3JOSyuxiJGHKakI4tEgl6b5WnXuhBHg/8Buh88aY= X-Gm-Message-State: AOJu0YwI+GvX8RyBX+EtiYyDWkheo0VWctZa6sa/5vv96gdCmod+u+Vz 0irWZZY5I1M3eJttteenEP1YmVW4f/y9/yg7Qnmz/PmAAjh10xrrcBH8h2A5wy4= X-Received: by 2002:a05:6000:a:b0:368:377a:e8bb with SMTP id ffacd0b85a97d-3684b3fa48emr547879f8f.28.1721252864684; Wed, 17 Jul 2024 14:47:44 -0700 (PDT) Received: from localhost.localdomain ([176.187.208.21]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3684ef5b688sm87768f8f.1.2024.07.17.14.47.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Jul 2024 14:47:44 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>, qemu-devel@nongnu.org Cc: Xianglai Li <lixianglai@loongson.cn>, Paolo Bonzini <pbonzini@redhat.com>, Huacai Chen <chenhuacai@kernel.org>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org>, Song Gao <gaosong@loongson.cn> Subject: [PATCH v3 03/17] hw/intc/loongson_ipi: Extract loongson_ipi_common_finalize() Date: Wed, 17 Jul 2024 23:46:54 +0200 Message-ID: <20240717214708.78403-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240717214708.78403-1-philmd@linaro.org> References: <20240717214708.78403-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.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: <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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
Reconstruct loongson ipi driver
|
expand
|
diff --git a/hw/intc/loongson_ipi.c b/hw/intc/loongson_ipi.c index a34e7e634f..3b3481c43e 100644 --- a/hw/intc/loongson_ipi.c +++ b/hw/intc/loongson_ipi.c @@ -357,13 +357,18 @@ static void loongson_ipi_class_init(ObjectClass *klass, void *data) dc->vmsd = &vmstate_loongson_ipi; } -static void loongson_ipi_finalize(Object *obj) +static void loongson_ipi_common_finalize(Object *obj) { LoongsonIPIState *s = LOONGSON_IPI(obj); g_free(s->cpu); } +static void loongson_ipi_finalize(Object *obj) +{ + loongson_ipi_common_finalize(obj); +} + static const TypeInfo loongson_ipi_info = { .name = TYPE_LOONGSON_IPI, .parent = TYPE_SYS_BUS_DEVICE,