From patchwork Thu Aug 25 10:06:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josip Rodin X-Patchwork-Id: 111543 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3A9DBB6F6F for ; Thu, 25 Aug 2011 20:06:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751398Ab1HYKGg (ORCPT ); Thu, 25 Aug 2011 06:06:36 -0400 Received: from orion.CARNet.hr ([161.53.160.90]:48592 "EHLO orion.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049Ab1HYKGf (ORCPT ); Thu, 25 Aug 2011 06:06:35 -0400 Received: from joy by orion.carnet.hr with local (Exim 4.72) (envelope-from ) id 1QwWpW-00009J-9N for sparclinux@vger.kernel.org; Thu, 25 Aug 2011 12:06:34 +0200 Date: Thu, 25 Aug 2011 12:06:34 +0200 To: sparclinux@vger.kernel.org Subject: Re: bug report: Sun Blade 100 kernel panics during boot under 3.0.3 Message-ID: <20110825100634.GB29290@entuzijast.net> References: <20110822.173602.1805061969787592036.davem@davemloft.net> <20110824195053.GA12537@alumni-linux.ccs.neu.edu> <20110824210324.GA19294@merkur.ravnborg.org> <20110824.161711.964317928211562698.davem@davemloft.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110824.161711.964317928211562698.davem@davemloft.net> User-Agent: Mutt/1.5.20 (2009-06-14) From: Josip Rodin X-SA-Exim-Connect-IP: Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org On Wed, Aug 24, 2011 at 04:17:11PM -0700, David Miller wrote: > From: Sam Ravnborg > Date: Wed, 24 Aug 2011 23:03:24 +0200 > > >>>From your config I can see you have: > > CONFIG_I2C_ALI1535=m > > CONFIG_I2C_ALI1563=m > > > > They both mention ALI7101 in their help text. > > > > Just to give a hint if this is the casue could you try to disable one > > or both of these to see if this has any effect. > > Neither of these drivers should ever be enabled on platforms like > sparc64. They do direct I/O space writes by decoding the control > register of the SMBBA chip in PCI config space then directly using > that address for I/O port accesses. > > Either these drivers need to be written to be more portable else > they need to have appropriate Kconfig guards. You mean... ...? They're all under "PC (sic) SMBus host controller drivers" so maybe the entire menu should be preventively killed under SPARC? OTOH the Debian .32 config (from 'stable') includes one of them - CONFIG_I2C_ISCH=m. diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 646068e..a5d0d7c 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -9,7 +9,7 @@ comment "PC SMBus host controller drivers" config I2C_ALI1535 tristate "ALI 1535" - depends on PCI + depends on PCI && !SPARC help If you say yes to this option, support will be included for the SMB Host controller on Acer Labs Inc. (ALI) M1535 South Bridges. The SMB @@ -21,7 +21,7 @@ config I2C_ALI1535 config I2C_ALI1563 tristate "ALI 1563" - depends on PCI && EXPERIMENTAL + depends on PCI && !SPARC && EXPERIMENTAL help If you say yes to this option, support will be included for the SMB Host controller on Acer Labs Inc. (ALI) M1563 South Bridges. The SMB