From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound6-dub-R.bigfish.com (outbound-dub.frontbridge.com [213.199.154.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id 050A3DE14B for ; Fri, 7 Mar 2008 06:22:51 +1100 (EST) Received: from outbound6-dub.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound6-dub-R.bigfish.com (Postfix) with ESMTP id CC11446DFF9 for ; Thu, 6 Mar 2008 19:21:51 +0000 (UTC) Received: from mail119-dub-R.bigfish.com (unknown [10.5.252.3]) by outbound6-dub.bigfish.com (Postfix) with ESMTP id AD44CD58043 for ; Thu, 6 Mar 2008 19:21:51 +0000 (UTC) Received: from mail119-dub (localhost.localdomain [127.0.0.1]) by mail119-dub-R.bigfish.com (Postfix) with ESMTP id 3D501F057A for ; Thu, 6 Mar 2008 19:21:50 +0000 (UTC) Received: from xsj-gw1 (unknown [149.199.60.83]) by mail119-dub.bigfish.com (Postfix) with ESMTP id 4A0A9708064 for ; Thu, 6 Mar 2008 19:21:49 +0000 (UTC) Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1.xilinx.com) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1JXLf2-0000Gv-5w for linuxppc-embedded@ozlabs.org; Thu, 06 Mar 2008 11:21:48 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C87FBF.52278EBE" Subject: Problems in fixup_device function Date: Thu, 6 Mar 2008 12:21:46 -0700 From: "John Linn" To: Message-Id: <20080306192149.4A0A9708064@mail119-dub.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C87FBF.52278EBE Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I've added some code to virtex_device_fixup and am seeing some strange side affects. I've added code to read from an iic device and populate the mac address including ioremap. The code works fine, but the side affects are not fine. =20 Anyone have any experience here? =20 I see the loops_per_jiffy getting hosed like there is some bad code, but I can't track it down. It moves around badly, like it can come and go with printk additions or deletions. =20 I don't know enough about the stack and Linux to know if there could be a problem there. =20 Thanks, John ------_=_NextPart_001_01C87FBF.52278EBE Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

I’ve added some code to virtex_device_fixup and am seeing some strange side = affects.  I’ve added code to read from an iic device and populate the mac = address including ioremap.  The code works fine, but the side affects are = not fine.

 

Anyone have any experience here?

 

I see the loops_per_jiffy getting hosed like there is some bad code, but I = can’t track it down.  It moves around badly, like it can come and go with = printk additions or deletions.

 

I don’t know enough about the stack and Linux to know if there could be a = problem there.

 

Thanks,

John

------_=_NextPart_001_01C87FBF.52278EBE-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.184]) by ozlabs.org (Postfix) with ESMTP id 1A414DDF70 for ; Fri, 7 Mar 2008 06:38:55 +1100 (EST) Received: by gv-out-0910.google.com with SMTP id p33so17745gvf.14 for ; Thu, 06 Mar 2008 11:38:53 -0800 (PST) Message-ID: Date: Thu, 6 Mar 2008 12:38:52 -0700 From: "Grant Likely" Sender: glikely@secretlab.ca To: "John Linn" Subject: Re: Problems in fixup_device function In-Reply-To: <20080306192149.4A0A9708064@mail119-dub.bigfish.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <20080306192149.4A0A9708064@mail119-dub.bigfish.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Mar 6, 2008 at 12:21 PM, John Linn wrote: > > > > > I've added some code to virtex_device_fixup and am seeing some strange side > affects. I've added code to read from an iic device and populate the mac > address including ioremap. The code works fine, but the side affects are > not fine. Specifically, what are you trying to do? Are you modifying the data in the platform device? Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound7-dub-R.bigfish.com (outbound-dub.frontbridge.com [213.199.154.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id 81F17DDE0E for ; Fri, 7 Mar 2008 06:43:35 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: RE: Problems in fixup_device function Date: Thu, 6 Mar 2008 12:40:16 -0700 In-Reply-To: References: <20080306192149.4A0A9708064@mail119-dub.bigfish.com> From: "John Linn" To: "Grant Likely" Message-Id: <20080306194022.186C64F0065@mail174-dub.bigfish.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I am loading the mac address into the data of the platform device. -- John -----Original Message----- From: glikely@secretlab.ca [mailto:glikely@secretlab.ca] On Behalf Of Grant Likely Sent: Thursday, March 06, 2008 12:39 PM To: John Linn Cc: linuxppc-embedded@ozlabs.org Subject: Re: Problems in fixup_device function On Thu, Mar 6, 2008 at 12:21 PM, John Linn wrote: > > > > > I've added some code to virtex_device_fixup and am seeing some strange side > affects. I've added code to read from an iic device and populate the mac > address including ioremap. The code works fine, but the side affects are > not fine. Specifically, what are you trying to do? Are you modifying the data in the platform device? Cheers, g. --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.