Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3717098ybg; Mon, 28 Oct 2019 18:00:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrA9/ETEI0rm3hki7j/8vHUzfr6uwxkFQVvjMltiC3ZcxuMDCtFwZoLtkxPJVmdFW9OvTv X-Received: by 2002:a17:906:76c9:: with SMTP id q9mr724709ejn.53.1572310839065; Mon, 28 Oct 2019 18:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572310839; cv=none; d=google.com; s=arc-20160816; b=craLHcUZX+5UI0Fnp1nhBu+5HpublC099pGSptUrRLcgZn5za6uioGDOH/T1YkYagi cDrTqJi8nch5IwCL0odxTWTvZOJQJzuQpjVzHjNePgBOtdZmOzbY+30/zZz28MtPdyF0 J1JJElgE93dpDEcxhBbliTyRgZSQXHRoksf1sDsmSXxxY473XFyQhdpJY+nJSNQkC26q qqeOwZLHRxeohl8OoH4K9zi6dKrCidUwkktQ4bPSUWXvmWJvWObcSyX71Ushe1+vXsCo dI1uLCSCRKMzSKtGeNhlTq8cyBPpFyiUTNBfKMKTZ8RR74YrkDt0DlLMAVFSa0TXJQ2H UN0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZjTOweNdCRTFfI+dhVhUf1MKxIK1P77FSYxAjAwVIf0=; b=PbOyasCm0BrF6f+0V0bedW3RDQoIiki90ztkamrdeUu7t3fRP6S4KOFkTf92n8JvxP fajAYAstJW+INtsY9HoeROYdZB9hXrQ01kssRL7jz67U7oEA25YiUpoDPPxk/HY6FfVO 92DZaylBfzNo867ubF3m5mjJRjqiNOA/+w9sm1eb19C2wF+5DwdvE30+xhPPkXZe4aI8 i+gD4ceyTwMSz50s1qbzit56lQpbWjH1uFze/bhvKe3DhP8GieaJHD7vPAqsNlmH10BH bn6nUVNWpY5XzZY+X6GFw7u9saezYSs9zP0OZbSkDi5bX/WQQTvi8L2uggizqGmkd/J0 DapA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EBpmOOZv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si7208943ejn.362.2019.10.28.18.00.15; Mon, 28 Oct 2019 18:00:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EBpmOOZv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387787AbfJ1JJJ (ORCPT + 99 others); Mon, 28 Oct 2019 05:09:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:34648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727586AbfJ1JJJ (ORCPT ); Mon, 28 Oct 2019 05:09:09 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5BDCD214E0; Mon, 28 Oct 2019 09:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572253748; bh=06/Pl06TvqrXiyjDtIoxIRWAVHdXaluNLujJ17bIh4o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EBpmOOZvz8D75YXXw5BE4NMAxLmPkk4uRgXlWiSOa+2sSC9luD5Q59idDmSFPN3eJ B81Mrp05O/LmiHhbSVWvidUXzVN726SMI+lsJSQxXzdwF8/vmlf13GkjdZQuH7p1rK lhS+yjVBczlGPfK9NMXlE3MPPpU1O8hJTmF5hcA8= Date: Mon, 28 Oct 2019 17:08:46 +0800 From: Shawn Guo To: Anson Huang Cc: linux@armlinux.org.uk, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH 0/9] Add SoC serial number support for i.MX6/7 SoCs Message-ID: <20191028090846.GA16985@dragon> References: <1572232370-31580-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1572232370-31580-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 28, 2019 at 11:12:41AM +0800, Anson Huang wrote: > i.MX6/7 SoCs have 64-bit unique ID stored in OCOTP bank 0, word 1/2, > read them out as SoC serial number which can be used from userspace: > > root@imx7dsabresd:~# cat /sys/devices/soc0/serial_number > 0000028FF618B953 > > Add support for i.MX6Q/6DL/6SL/6SX/6SLL/6UL/6ULL/6ULZ/7D, as they have > same unique ID layout in OCOTP. > > Anson Huang (9): > ARM: imx: Add serial number support for i.MX6Q > ARM: imx: Add serial number support for i.MX6DL > ARM: imx: Add serial number support for i.MX6SLL > ARM: imx: Add serial number support for i.MX6ULL > ARM: imx: Add serial number support for i.MX6UL > ARM: imx: Add serial number support for i.MX6ULZ > ARM: imx: Add serial number support for i.MX6SL > ARM: imx: Add serial number support for i.MX6SX > ARM: imx: Add serial number support for i.MX7D For this particular case, I think one single patch is even better than a series. So please squash them. Shawn > > arch/arm/mach-imx/cpu.c | 38 +++++++++++++++++++++++++++++++++++++- > 1 file changed, 37 insertions(+), 1 deletion(-) > > -- > 2.7.4 >