Re: [PATCH V2] hwmon, k10temp: Add support for F15h M60h

From: Aravind Gopalakrishnan
Date: Thu Aug 14 2014 - 17:57:58 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/