From: Aravind Gopalakrishnan Date: Thu, 14 Aug 2014 21:57:17 +0000 Subject: Re: [lm-sensors] [PATCH V2] hwmon, k10temp: Add support for F15h M60h Message-Id: <53ED30BD.90403@amd.com> List-Id: References: <1408035262-18026-1-git-send-email-aravind.gopalakrishnan@amd.com> <20140814201730.GA501@roeck-us.net> <53ED1A87.6000400@ladisch.de> <20140814210816.GC18887@pd.tnic> In-Reply-To: <20140814210816.GC18887@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Borislav Petkov , Clemens Ladisch Cc: Guenter Roeck , jdelvare@suse.de, rdunlap@infradead.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, dan.carpenter@oracle.com, lm-sensors@lm-sensors.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org On 8/14/2014 4:08 PM, Borislav Petkov wrote: > On Thu, Aug 14, 2014 at 10:22:31PM +0200, Clemens Ladisch wrote: >>>> + depends on X86 && PCI && AMD_NB >>> Is the added dependency acceptable ? >> Yes, it is automatically set from CPU_SUP_AMD. > Well, we can always move that function to k10temp but I'll venture a > guess that Aravind wants to use it somewhere else too? Correct, Aravind? > Actually I don't need it outside of k10temp as of now (or near future) I added it in amd_nb as that was Clemens, Guenter's suggestion on the previous version; Besides, it made sense as it's an indirect access of NB_SMU register and amd_nb seems a good place to put the function in case someone needs it in the future. I can move it locally to k10temp and remove the dependency if that's more preferable. Do let me know. Thanks, -Aravind. _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors