lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 5 Jul 2013 08:27:08 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [GIT PULL] perf changes for v3.11


* Peter Zijlstra <peterz@...radead.org> wrote:

> On Tue, Jul 02, 2013 at 05:50:29PM -0700, Linus Torvalds wrote:
> > On Mon, Jul 1, 2013 at 2:03 AM, Ingo Molnar <mingo@...nel.org> wrote:
> > >
> > >    git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus
> > >
> > > Kernel improvements:
> > >
> > >  * AMD IOMMU uncore PMU support by Suravee Suthikulpanit001a
> > 
> > This one prints a really annoying error message if you're not on an
> > AMD platform:
> > 
> > +       if (!amd_iommu_pc_supported()) {
> > +               pr_err("perf: amd_iommu PMU not installed. No support!\n");
> > +               return -ENODEV;
> > +       }
> > 
> > and you know what? That's not acceptable. It damn well is *not* an
> > error to not have an AMD IOMMU.
> > 
> > It should - at most - be a pr_info(). Maybe nothing at all. "pr_err()"
> > is just totally out of line.
> 
> Quite; it prints enough stuff when it does find one so I'm all for 
> scrapping that one print when it doesn't find it.
> 
> Sorry for not seeing that; when I initially read that code I thought it 
> was for the case where the hardware was expected to have the device but 
> we couldn't find it for some weird reason.
> 
> ---
> Subject: perf, amd: Do not print an error when the device is not present
> 
> As Linus said its not an error to not have an AMD IOMMU; esp. when you're not
> even running on an AMD platform.
> 
> Requested-by: Linus Torvalds <torvalds@...ux-foundation.org>

Applied to perf/urgent, thanks!

( The pedantic in me changed that tag to Reported-by as we treat console 
  spam as bugs. )

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ