Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp249954ybr; Fri, 22 May 2020 05:51:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9iKioPm00DutC3CHSCV6UyHBj/hTRo+nl6RFL9fU+d6j5VVP1qRJCDZEU8t88aiwwWLik X-Received: by 2002:a17:906:bcd3:: with SMTP id lw19mr8398084ejb.276.1590151912031; Fri, 22 May 2020 05:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590151912; cv=none; d=google.com; s=arc-20160816; b=BRsyqqhlxSb6fiktEZEbKTEr+HxkeU4+KkMgR/H6XP1ZVnptqy+DD/yMA86oA2yu6I FOFmQtSMzxh7DCbLf3qCXAE8ELxKkaP8s3F7rKcgKco/xGcZOCBxo0lQHK9RoYDkcb3R KDo9+ZacEiBH2jrbAr7+R6uxU1vJpz7j8Kar9bwoE/iXlOA6qeiAiq2/wNlrb5yqQkNF gju5ml72Ef0hbfM+rSjDtRQ8//K6OclNu43UocYBIDm50jMBXsFgLwgl2wsccv5uTdLA c7DhKQ7w0dh37MZO9AVEG1O5inlrTadBvlUgtaL+xkCoZ1tNpOj086UhV5x3RDEmySEE wlgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=R3zwzxv8Ytoo6lDTEzwTVy4oS2atF/OKPP6Wijr/YRg=; b=0EIVpieAKrf9MOSexM5wtM1V2o4ULUXVHy7HGoCSpe8TWgZ34+IjxvAaaHtafCv0MH 1JEKoVwNtFGcTjK6J6K//zt52OatW19FA8oi0SXCDtZ9nVsSWlpxm9BGIiNWDG1AHEIb hz9ZM6OHeHtppoCSTb1sWYHprx7mk74IXW8V/1oGgsCF0JAd1R7ZSA50EagQsdQvbDTn HM3ycxbtFT6Fz/Pc87P7eLBnc1PxwwG1ACO2Vh2HW8FOxPVAtnGmBd1N5i0bJbMm0ryU mz6OMo1/cYmRvMShAFV0U0D9oZSAMGbN69VaGYTgVQKBV22AK2LClkUs3gGt9VgDjLA4 /fjg== ARC-Authentication-Results: i=1; mx.google.com; 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 b5si4895503ejk.381.2020.05.22.05.51.25; Fri, 22 May 2020 05:51:52 -0700 (PDT) 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; 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 S1729047AbgEVMuB (ORCPT + 99 others); Fri, 22 May 2020 08:50:01 -0400 Received: from foss.arm.com ([217.140.110.172]:34882 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728878AbgEVMuB (ORCPT ); Fri, 22 May 2020 08:50:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D92A555D; Fri, 22 May 2020 05:50:00 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 99A583F68F; Fri, 22 May 2020 05:49:59 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org Cc: Sudeep Holla , Will Deacon , Mark Rutland , Lorenzo Pieralisi , linux-kernel@vger.kernel.org, Arnd Bergmann , harb@amperecomputing.com, Greg Kroah-Hartman Subject: [PATCH 0/2] base: soc: Add JEP106 manufacturer's identification code Date: Fri, 22 May 2020 13:49:49 +0100 Message-Id: <20200522124951.35776-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, While attempting to add custom sysfs attributes for SMCCC ARCH_SOC_ID Arnd suggested to make it generic. Here is my first attempt. The original thread/discussion can be found here[1] Regards, Sudeep [1] https://lore.kernel.org/r/CAK8P3a3dV0B26XE3oFQGTFf8EWV0AHoLudNtpSSB_t+pCfkOkQ@mail.gmail.com/ Sudeep Holla (2): base: soc: Add JEDEC JEP106 manufacturer's identification code attribute firmware: smccc: Add ARCH_SOC_ID support Documentation/ABI/testing/sysfs-devices-soc | 31 ++++++ drivers/base/soc.c | 12 +++ drivers/firmware/smccc/Kconfig | 9 ++ drivers/firmware/smccc/Makefile | 1 + drivers/firmware/smccc/soc_id.c | 113 ++++++++++++++++++++ include/linux/arm-smccc.h | 5 + include/linux/sys_soc.h | 1 + 7 files changed, 172 insertions(+) create mode 100644 drivers/firmware/smccc/soc_id.c -- 2.17.1