From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0A9DC433DF for ; Wed, 17 Jun 2020 18:33:47 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4BE4A2088E for ; Wed, 17 Jun 2020 18:33:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BE4A2088E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.93) (envelope-from ) id 1jlcs5-0005KA-Uv; Wed, 17 Jun 2020 14:33:13 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jlcs4-0005K4-1r for kernelnewbies@kernelnewbies.org; Wed, 17 Jun 2020 14:33:12 -0400 Received: from mr6.cc.vt.edu (mr6.cc.ipv6.vt.edu [IPv6:2607:b400:92:8500:0:af:2d00:4488]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 05HIX9Hn031031 for ; Wed, 17 Jun 2020 14:33:10 -0400 Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mr6.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 05HIX42U016021 for ; Wed, 17 Jun 2020 14:33:09 -0400 Received: by mail-qv1-f72.google.com with SMTP id w3so2253166qvl.9 for ; Wed, 17 Jun 2020 11:33:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=L4uSv+pLW+p2vvyDMHHZmBcz/mhtJejdIdKuBbwxNUo=; b=NE/M8I2NmPv5vmDVNeaH8DHyekNco2c4howXKzyz+1oO7YsPM9o2FA1yndc2uwn4jb 1kYTWUhb6LWOr3u2uC77hCtT2hV6+D0WzJqmCFKt2IsE2TR7rbslRDa6XriHzUc+LUGV qAxwWoXOxl9i41aYP5qYIoXwgtztaMoxz89DHkQphBbKiCITtWExvo9AxOZuaRS4VVoK 1h/EvOi8cCubbr7O/bAtQ3bKVXVQG4DuivW6ijdziwP8/AzbHjI5BuZIC2PmLqyYRE5e Ze5FSYQtC40HFeBhOMeJhmaYNi5crdaagsLPuIVc7rBqIBLdq4N89ZeYwxaFoF/tsFVk vUbA== X-Gm-Message-State: AOAM530Fvv6f5RHK3F0Gdkl0o01aXQZ8gSAtMYfNBilzDozcXMYuUd6l 2pCryQg5ne/2Kp+V2NvCFjIgap5I3Za1R5GVN+vkd/BBQ9E+u2lh5d+U4ZswfBXTFgwh1XwMWgd 2f3Goq9zvUlwEPz7iYLqoOgyI4yZpL4cdyh60Zu4= X-Received: by 2002:ac8:768b:: with SMTP id g11mr430487qtr.249.1592418784631; Wed, 17 Jun 2020 11:33:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1265A6pzo5K6hRpIdgiFSvDp/ttFb6vH2E3kw63ZTPntbg41yA8h+oygRg/Ib3ipHFGcTkQ== X-Received: by 2002:ac8:768b:: with SMTP id g11mr430453qtr.249.1592418784281; Wed, 17 Jun 2020 11:33:04 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id 185sm786164qkd.3.2020.06.17.11.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 11:33:02 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Tomek The Messenger Subject: Re: the cost of EXPORT_SYMBOL_GPL In-Reply-To: References: <20200616132714.GA4019625@kroah.com> <20200617085534.GA1732069@kroah.com> <20200617094119.GA1940079@kroah.com> <20200617123528.vyxryhhfh7n5f33p@viti.kaiser.cx> Mime-Version: 1.0 Date: Wed, 17 Jun 2020 14:33:01 -0400 Message-ID: <339930.1592418781@turing-police> Cc: Ahmad Fatoum , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3182310056481089033==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============3182310056481089033== Content-Type: multipart/signed; boundary="==_Exmh_1592418781_62491P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1592418781_62491P Content-Type: text/plain; charset=us-ascii On Wed, 17 Jun 2020 16:26:49 +0200, Tomek The Messenger said: > Yes separate drivers but the actions do by them is to create the same files > in sysfs. So if somebody use intel, texas instrument or xilinx soc then in > order to read reset reason or other stuff he will use sysfs. So this will > look likes: > /sys/resetreg - 3 separate drivers plus one core driver where there is > common part That should be /sys/something/something/resetreg where the somethings put it in the same place in the /sys tree as all the other sysfs entries for your devices. --==_Exmh_1592418781_62491P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXuph3AdmEQWDXROgAQJLZw//Vy/i1AgdDh9Wj7UcZX97hsy/RDbnUvr9 +g9iYKIr3Amg738js9WA6mzNdZWu0Bbo2kNowWzAwN51cyhQkO8MRHTopj0Rk8zY YmH6CiG5LbBxOQObWcEL4RTaVlwIJ6slIprj4SW+NrYqdX580aJFpodqfwSZXOvE wBsgM/r3XRaWpfMloat6DcvxIIMIm09UFqc7iNwfCK5knxdBttQo4wtjrrSm0w/q 7apQuawMkZQzgjMmF3FR1q7GJQnGVTz6wmF2r/WvnBPIXzeEKqN6qBhhBFjlNJSM lClCs9Sdpf45qg0ICJm54b33+QcBJHhDcwjqO2gOkaOhei69cyr9iu9b52LxKgpA F06rBjNuggcWgYyCSXpJYUJptOSD8sC5vGUS1SG5dX5ONroQXS+t6WuTE4tOgZlp 5K6DCQpBWCKpCpFZXzP012GdOiflIWcCI1pEcQz2U0bXprUH/JejR6Qw+GMaIiTz 3l60xbdCwBfQPhKDfQptFPSGbeXFqmND9lH9M77fQM4eGxfzw3XCi06JldoxOflR RgmgiA66HgTJmjkExN5SJii+V3IJBQc9YbDzH6xwD5pcsp+DdGYCnm9R84PsexVe 1bxy4gk4V4Y4KTueDyRnVK2VeyBa8CsJ5KHcddBq2m/Ur7clkQP1HEF5J4FArLEk 78WAgd0Q7bM= =QLsh -----END PGP SIGNATURE----- --==_Exmh_1592418781_62491P-- --===============3182310056481089033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============3182310056481089033==--