Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp344479rdb; Mon, 18 Sep 2023 17:58:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwHZs0i71NUIXvQRM8zOC9vA5OOfN+s07NTp6Gkny2tMy6rqpDCeYhn+kdQSP92FMBm9wI X-Received: by 2002:a05:6a00:1512:b0:68b:fb93:5b4e with SMTP id q18-20020a056a00151200b0068bfb935b4emr10764020pfu.26.1695085117390; Mon, 18 Sep 2023 17:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695085117; cv=none; d=google.com; s=arc-20160816; b=BuJpIdYFly6aD9gJEG13nZB8i6b78oY+VFPSsXs/1S685LER3KAVec1wPPFb66SEca K2NshhUIeulFXPLCYRVUhnGYJ2yjaKs7rnX0h7TuoRySkkoiKc8xHGkh/SuJq1CrNUT0 3DqSRrUC4i0SafrYkHPSQhsX9t124iADW/YYxI4Hjf0z9WuN/6Fk0mkEy0NYacSS2HNa Kb8o8YYOtwKbAdUMDvlaIfW4hjIvbWF8YAPoJGi9BozxWmn9SS9ZqgMIpuvA6/Cen0b1 mX3auTOg8UJGCUQMQuKCz/aPDhEHRciuDTyjT56WS0qqPNKEQffpVxcx7UFEW4jTTbxV Vl4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=abFxBMLmE6je9n8ycRrpCecvQlEihPWZd75zj0mwVu4=; fh=LA5E54FZ4ZdUubfBqPTXcj4vWuRSxsyYycOBXnRiueY=; b=f2QaTjvcGRRLO+p2oL4j0g8FFdgCWygzmuHscfnZm4ubcJ4OBo44kIZVqHMbwDorGx vE5KGiXdRcAbGtUB+hV4BV0s5lMN+j3i+4dpaAGR5p7DbNW4+0Krh2ppiC1bXyhHI9MJ s8ZWwMrCZ30oskpBIf0stiOgBI2o5JeD1tpcUkeBj2a2YEr96SPzTPvK2dkoWBHYgkGQ Zk9VH6efDrZmy6bho0RP+uLdeNIfAnsHN5d3lpfaOF5RqqNdFS4PgdZAER/O+Yu5gw+c jx/iDrW3SCPjyut0Kdb4ooQ8eNUU7E7exh+lovGIjy/zIrO8h9osUzohQliGvzzIH3+H QPTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=EDhQGbod; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b9-20020a056a000cc900b00690158afc78si9245124pfv.284.2023.09.18.17.58.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 17:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=EDhQGbod; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4C283804784E; Mon, 18 Sep 2023 08:37:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229573AbjIRPhG (ORCPT + 99 others); Mon, 18 Sep 2023 11:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjIRPhF (ORCPT ); Mon, 18 Sep 2023 11:37:05 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1DE2273A for ; Mon, 18 Sep 2023 08:32:14 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1bdf4752c3cso32613105ad.2 for ; Mon, 18 Sep 2023 08:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1695050957; x=1695655757; darn=vger.kernel.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=abFxBMLmE6je9n8ycRrpCecvQlEihPWZd75zj0mwVu4=; b=EDhQGbodftuX73rYdR+tx5Pq4K1UkSoQcqUdaxgRfTX/w0QUxtnKxt5U8DWaVrpTbS UzJlpoB9KuPO1xen69/QOA/odWqR9Y6pqEK0TFtVYZsKI7zFMhdIp6ZCR65Ku+W9oAcr XdQjUK0q8YQrdQSwoi8BJGw9q6kTOcPdnB8r8utjr3nrzeD9QS8S9VqrR//T8Um28l/I Rdt+s36QnjaNhVl5bdSJ+fsULH2p2jHsNRFIiBR8pJL01EA/+9hTdEt9LUcKvJSp3Scv FTAm36NUUgzKFzHD9+NOSCpMiy+HDfC8ygj0GTg6uWJNt4Suf9FSjwoEhZxkvZGRUe2V O+hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695050957; x=1695655757; 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=abFxBMLmE6je9n8ycRrpCecvQlEihPWZd75zj0mwVu4=; b=LTfZKqgOYQt+0WI0YX6xYkFiuD5OqbB//bj3Nlk6UCTEr2CaMgti/ndcxUunyYJC5l 5rn6dKLHJuQsqWFUXi7nE5DQaD2o1jw1JZOxjPme9ZZvvwJmbjgu9X7FC1ELT+d6Mtfn ApjR4jZkexLTmXz1achj+IpnwtKt9smddE8Ba4cDLw2nYBxtyLM35ypAqf88oRrtnll9 hzhYCzi2dDAo80dbWnY1YhZ4S487GCrXoY0ArO3L0Z54aH/JfqJcEpfn3zR/vHF4UOoH lllNlrigsa5vspTmpxnrWchBuE5EInv+isns25LlLxCKofIDp8PudFKPg+Qlw3uLAbFh R52A== X-Gm-Message-State: AOJu0YwtAnkG3LJG7t4TJ2iKes+BlIseJDq9JWREdEYM1MmCHIQo71Pb s5uNQDkhPj51yHmguRAIvhSitA== X-Received: by 2002:a17:902:9b83:b0:1b3:8862:9823 with SMTP id y3-20020a1709029b8300b001b388629823mr7240901plp.28.1695050957414; Mon, 18 Sep 2023 08:29:17 -0700 (PDT) Received: from PF2LML5M-SMJ.lan ([103.175.14.91]) by smtp.gmail.com with ESMTPSA id n6-20020a170902968600b001bdcde49bc3sm8407895plp.119.2023.09.18.08.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 08:29:17 -0700 (PDT) From: Jinhui Guo To: gregkh@linuxfoundation.org Cc: guojinhui.liam@bytedance.com, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, lizefan.x@bytedance.com, lkp@intel.com, rafael@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v6] driver core: platform: set numa_node before platform_device_add() Date: Mon, 18 Sep 2023 23:29:12 +0800 Message-Id: <20230918152912.378-1-guojinhui.liam@bytedance.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230918134527.252-1-guojinhui.liam@bytedance.com> References: <20230918134527.252-1-guojinhui.liam@bytedance.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 08:37:09 -0700 (PDT) X-Spam-Level: * > On Mon, Sep 18, 2023 at 09:45:27PM +0800, Jinhui Guo wrote: > > Setting the devices' numa_node needs to be done in > > platform_device_register_full(), because that's where the > > platform device object is allocated. > > > > Fixes: 4a60406d3592 ("driver core: platform: expose numa_node to users in sysfs") > > Cc: stable@vger.kernel.org > > Reported-by: kernel test robot > > Closes: https://lore.kernel.org/oe-kbuild-all/202309122309.mbxAnAIe-lkp@intel.com/ > > Reviewed-by: Greg Kroah-Hartman > > Where did I provide this tag? I appologize to it. I just misunderstand what it means. I will drop it out soon.