Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp430589pxb; Fri, 28 Jan 2022 02:17:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpSB76H2vzC9sRF5mwDE2e1o+/CqxKu3f/xrX/gUpTpx6GtvpkIj3i47JQBYMG0vjVfiLG X-Received: by 2002:a17:90b:1009:: with SMTP id gm9mr8906149pjb.223.1643365077422; Fri, 28 Jan 2022 02:17:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643365077; cv=none; d=google.com; s=arc-20160816; b=HRD9DDzqZwBVP+abUr2IIFAr/DgD991OCb3uJgC+v6NReFszWrcAaMkU8XKsdli82w IUjohq7NZnT/ZfzzWsXuQpqMkXdrq6YbfkBFLDCvwfRgreLu7Y9y+LDy8N0gG9sY+Dc6 H+6Z1XXSZZOCQZT5E1TP3C6zGWb3ee6Tri87rJAgGkKK3cCcke2g6iH0YTh5Nhrfinzm v3lbDDpU7zaJEH5NzqSTIJPKqp6oNSmCY4hJR+2YgFe0VIg+epfGWxtsTDVIx5S/UKpJ CcW+HmL0K7SdYH1xI4A/TSDJspEZpUOq48v0tsvfNxGbg/3cIOxJiEMxydhvuZe5SwlX WqpQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=sO/AhngIul0mvC410oF69TOhLnEgY1UA6QAhHQWufqM=; b=xWxA8UIHYsqdiPn/zA3u0oQhC3CTdpGlinXBpOpvPWYy3iRinY+dAkulvaTsp9ljAD rSt+JZiUjqwu70mIAtMAQQ6GqtKqyPHAPqNEbzaTj2Ya7fgiZ7yZx/9bi+NyFf91YnnT LOoQXZm68LW18nYZlWJO4ToVczy8DwXqfEAxPEJjPoiolO/NrLaD0thuw6UI/zeKHncA h5FamdXfS/lWxa1RxecLhxL3hk/u+ywnCMJP4BwjSyFNanfLknAtg6CjCyg5hsi0kuqY MifW7KSdRBgHK1RM6onb29v2UcOgk9zz9feFdW7N1C/MAqibSRPxVHyxOhAN64aZsayh XF6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=WWLc8SyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si4826428pfj.86.2022.01.28.02.17.45; Fri, 28 Jan 2022 02:17:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=WWLc8SyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243912AbiA0Qlm (ORCPT + 99 others); Thu, 27 Jan 2022 11:41:42 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:42203 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243874AbiA0Qlk (ORCPT ); Thu, 27 Jan 2022 11:41:40 -0500 Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 9DC9D22239; Thu, 27 Jan 2022 17:41:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1643301699; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sO/AhngIul0mvC410oF69TOhLnEgY1UA6QAhHQWufqM=; b=WWLc8SyCimIFCUDX/NQtjs/Pz9p9HabtdgmUf2M55TY4l4grQSM7aR00U+ZK12sEyRj6d3 uRIw5PSJWAyJvrI1+rsUWW1T3JlXYHPGFPZYRqKJX+Lp5l6gVCMh8PRf8WkvEHZQeQ2fFq Wro6JWr+sKTP85TKYXdXIX+81J76hso= From: Michael Walle To: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Li Yang , Ulf Hansson , Sudeep Holla , Arnd Bergmann , Michael Walle Subject: [PATCH v1 0/7] soc: fsl: guts: cleanups and serial_number support Date: Thu, 27 Jan 2022 17:41:18 +0100 Message-Id: <20220127164125.3651285-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series converts the guts driver from a platform driver to just an core_initcall. The driver itself cannot (or rather should never) be unloaded because others depends on detecting the current SoC revision to apply chip errata. Other SoC drivers do it the same way. Overall I got rid of all the global static variables. The last patch finally adds unique id support to the guts driver. But because the binding for the security fuse processor is still pending, it is marked as RFC. Michael Walle (7): soc: fsl: guts: machine variable might be unset soc: fsl: guts: remove module_exit() and fsl_guts_remove() soc: fsl: guts: embed fsl_guts_get_svr() in probe() soc: fsl: guts: allocate soc_dev_attr on the heap soc: fsl: guts: use of_root instead of own reference soc: fsl: guts: drop platform driver soc: fsl: guts: add serial_number support drivers/soc/fsl/guts.c | 215 ++++++++++++++++++++++------------------- 1 file changed, 114 insertions(+), 101 deletions(-) -- 2.30.2