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] [day] [month] [year] [list]
Message-ID: <5267393E.1070503@linux.intel.com>
Date:	Tue, 22 Oct 2013 19:49:34 -0700
From:	David Cohen <david.a.cohen@...ux.intel.com>
To:	"Yang, Fei" <fei.yang@...el.com>
CC:	"tglx@...utronix.de" <tglx@...utronix.de>,
	"mingo@...hat.com" <mingo@...hat.com>,
	"hpa@...or.com" <hpa@...or.com>, "x86@...nel.org" <x86@...nel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Brown, Mark F" <mark.f.brown@...el.com>,
	Kuppuswamy Sathyanarayanan 
	<sathyanarayanan.kuppuswamy@...ux.intel.com>
Subject: Re: [PATCH] x86: intel-mid: add Merrifield platform support

On 10/22/2013 05:49 PM, Yang, Fei wrote:
> +				if (intel_mid_identify_cpu() ==
> +						INTEL_MID_CPU_CHIP_TANGIER) {
> +					if (!strncmp(pentry->name,
> +							"r69001-ts-i2c", 13))
> +						/* active low */
> +						irq_attr.polarity = 1;
> +					else if (!strncmp(pentry->name,
> +							"synaptics_3202", 14))
> +						/* active low */
> +						irq_attr.polarity = 1;
> +					else if (irq == 41)
> +						/* fast_int_1 */
> +						irq_attr.polarity = 1;
>
> Do you really want to upstream these very hardware specific hacks? It's needed for
> Saltbay, but might not be correct for other Merrifield based hardware, if any.

At this very initial moment we do want to support saltbay, which is the
main reference for Merrifield. So we can't run away from the ugly hack :)
Later, when we upstream the support to detect specific intel mid board
details, this code will be isolated for saltbay (and maybe other
required boards) and won't affect Merrifield in general.

Br, David Cohen

--
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