Re: [PATCH] powerpc: add kernel parameter iommu_alloc_quiet

2016-09-01 Thread Mauricio Faria de Oliveira
On 09/01/2016 10:39 AM, Torsten Duwe wrote: JFYI, my strongly preferred solution would still be to just dev_dbg() the whole thing. Which group of people would be interested in these messages, after all? Certainly understandable. Ben didn't like the idea to convert the messages to dynamic

Re: [PATCH] powerpc: add kernel parameter iommu_alloc_quiet

2016-09-01 Thread Torsten Duwe
On Thu, Sep 01, 2016 at 09:56:42AM -0300, Mauricio Faria de Oliveira wrote: > This patch introduces the 'iommu_alloc_quiet=driver_name' parameter > to suppress the 'iommu_alloc failures' messages for that one driver. > > This is an additional approach for this 'problem' of flooding logs, > not as

Re: [PATCH] powerpc: add kernel parameter iommu_alloc_quiet

2016-09-01 Thread Mauricio Faria de Oliveira
Michael / Ben, On 09/01/2016 09:56 AM, Mauricio Faria de Oliveira wrote: +#define IOMMU_ALLOC_QUIET_LEN 16 /* includes '\0' */ Guilherme suggested MAX_PARAM_PREFIX_LEN for this, which looks better (a few extra bytes). Would you mind to s/16/MAX_PARAM_PREFIX_LEN/ if you like that? I can send