Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932508AbVL1IZi (ORCPT ); Wed, 28 Dec 2005 03:25:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932511AbVL1IZi (ORCPT ); Wed, 28 Dec 2005 03:25:38 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:26036 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S932508AbVL1IZh (ORCPT ); Wed, 28 Dec 2005 03:25:37 -0500 Subject: Re: [PATCH 1/2]MSI(X) save/restore for suspend/resume From: Arjan van de Ven To: Shaohua Li Cc: lkml In-Reply-To: <1135733064.331.0.camel@sli10-desk.sh.intel.com> References: <1135649077.17476.14.camel@sli10-desk.sh.intel.com> <1135670158.2926.15.camel@laptopd505.fenrus.org> <1135733064.331.0.camel@sli10-desk.sh.intel.com> Content-Type: text/plain Date: Wed, 28 Dec 2005 09:25:34 +0100 Message-Id: <1135758335.2935.0.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: SpamAssassin version 3.0.4 on pentafluge.infradead.org summary: Content analysis details: (-2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.8 ALL_TRUSTED Did not pass through any untrusted hosts X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1221 Lines: 25 On Wed, 2005-12-28 at 09:24 +0800, Shaohua Li wrote: > On Tue, 2005-12-27 at 15:55, Arjan van de Ven wrote: > > > diff -puN include/linux/pci.h~msi_save_restore include/linux/pci.h > > > --- linux-2.6.15-rc5/include/linux/pci.h~msi_save_restore 2005-12-22 09:23:16.000000000 +0800 > > > +++ linux-2.6.15-rc5-root/include/linux/pci.h 2005-12-22 09:23:16.000000000 +0800 > > > @@ -135,6 +135,7 @@ struct pci_dev { > > > unsigned int block_ucfg_access:1; /* userspace config space access is blocked */ > > > > > > u32 saved_config_space[16]; /* config space saved at suspend time */ > > > + void *saved_cap_space[PCI_CAP_ID_MAX + 1]; /* ext config space saved at suspend time */ > > > struct bin_attribute *rom_attr; /* attribute descriptor for sysfs ROM entry */ > > > int rom_attr_enabled; /* has display of the rom attribute been enabled? */ > > > > > > void feels like sort of the wrong thing here.... > So what is good to you :)? doesn't it contain u16's ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/