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]
Message-ID: <20120511180926.GC12227@codeaurora.org>
Date:	Fri, 11 May 2012 11:09:26 -0700
From:	David Brown <davidb@...eaurora.org>
To:	Olof Johansson <olof@...om.net>
Cc:	Daniel Walker <dwalker@...o99.com>,
	Bryan Huntsman <bryanh@...eaurora.org>,
	Russell King <linux@....linux.org.uk>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] arm: msm: fix up very basic HTC Sapphire support

On Wed, May 09, 2012 at 01:39:05AM -0700, Olof Johansson wrote:
> Hi,
> 
> On Wed, Apr 11, 2012 at 9:04 PM, Daniel Walker <dwalker@...o99.com> wrote:
> > Adds sapphire into the make file, and fixes all the code problems that
> > prevented it from building (including adding board-sapphire.h)
> >
> > Signed-off-by: Daniel Walker <dwalker@...o99.com>
> > ---
> >  arch/arm/mach-msm/Kconfig          |   10 +-
> >  arch/arm/mach-msm/Makefile         |    1 +
> >  arch/arm/mach-msm/board-sapphire.c |   18 +--
> >  arch/arm/mach-msm/board-sapphire.h |  224 ++++++++++++++++++++++++++++++++++++
> >  4 files changed, 235 insertions(+), 18 deletions(-)
> >  create mode 100644 arch/arm/mach-msm/board-sapphire.h
> >
> > diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
> > index 1cd40ad..04f3b8e 100644
> > --- a/arch/arm/mach-msm/Kconfig
> > +++ b/arch/arm/mach-msm/Kconfig
> > @@ -6,7 +6,6 @@ choice
> >
> >  config ARCH_MSM7X00A
> >        bool "MSM7x00A / MSM7x01A"
> > -       select MACH_TROUT if !MACH_HALIBUT
> >        select ARCH_MSM_ARM11
> >        select MSM_SMD
> >        select MSM_SMD_PKG3
> > @@ -80,6 +79,7 @@ config  MSM_VIC
> >  menu "Qualcomm MSM Board Type"
> >
> >  config MACH_HALIBUT
> > +       select MACH_TROUT if !MACH_SAPPHIRE && !MACH_HALIBUT
> 
> This doesn't seem to make much sense here.
> 
> >        depends on ARCH_MSM
> >        depends on ARCH_MSM7X00A
> >        bool "Halibut Board (QCT SURF7201A)"
> > @@ -93,6 +93,14 @@ config MACH_TROUT
> >        help
> >          Support for the HTC Dream, T-Mobile G1, Android ADP1 devices.
> >
> > +config MACH_SAPPHIRE
> > +       select MACH_TROUT if !MACH_HALIBUT && !MACH_SAPPHIRE
> 
> Nor does this.
> 
> I presume these are here to make sure that at least one of the boards
> is selected. There are already build checks to make sure that at least
> one machine entry exists, so if a user mis-configures his kernel he
> will hit a build error. Seems as reasonable as any catch for this.
> 
> If you feel strongly that you need to select at least one board, then
> do so at the ARCH_ level, not on every board option.

I'll go ahead and leave this patch out of the msm-core tree for 3.5.
Daniel, feel free to update the patch, and I can make another pull.

David

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
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