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]
Date:	Sat, 12 Jan 2008 10:04:11 +0900
From:	"Nobuhiro Iwamatsu" <iwamatsu@...auri.org>
To:	"Andrew Morton" <akpm@...ux-foundation.org>
Cc:	linux-pcmcia@...ts.infradead.org, linux-sh@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pcmcia: Add support P2CCLK bit enabler for TI PC1520

2007/12/26, Andrew Morton <akpm@...ux-foundation.org>:
> On Tue, 18 Dec 2007 18:57:24 +0900 Nobuhiro Iwamatsu <iwamatsu@...auri.org> wrote:
>
> > There is a device that doesn't work when P2CCLK's bit of TI PC1520 was disable.
> > This patch supports P2CCLK bit enabler for TI PC1520.
> >
> > ...
> >
> >  config YENTA_TOSHIBA
> >       default y
> >       bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED
> > diff --git a/drivers/pcmcia/ti113x.h b/drivers/pcmcia/ti113x.h
> > index d29657b..ea749e8 100644
> > --- a/drivers/pcmcia/ti113x.h
> > +++ b/drivers/pcmcia/ti113x.h
> > @@ -59,6 +59,7 @@
> >  #define  TI122X_SCR_SER_STEP         0xc0000000
> >  #define  TI122X_SCR_INTRTIE          0x20000000
> >  #define  TIXX21_SCR_TIEALL           0x10000000
> > +#define  TI122X_SCR_P2CCLK           0x08000000
> >  #define  TI122X_SCR_CBRSVD           0x00400000
> >  #define  TI122X_SCR_MRBURSTDN                0x00008000
> >  #define  TI122X_SCR_MRBURSTUP                0x00004000
> > @@ -822,6 +823,13 @@ static int ti12xx_override(struct yenta_socket *socket)
> >               printk(KERN_INFO "Yenta: Enabling burst memory read transactions\n");
> >               val |= TI122X_SCR_MRBURSTUP;
> >       }
> > +
> > +#ifdef CONFIG_YENTA_TI_P2CCLK
> > +     if ( !(val & TI122X_SCR_P2CCLK)) {
> > +             printk(KERN_INFO "Yenta: Clock generated by internal oscillator\n");
> > +             val |= TI122X_SCR_P2CCLK;
> > +     }
> > +#endif
> >       if (val_orig != val)
> >               config_writel(socket, TI113X_SYSTEM_CONTROL, val);
>
> It would be much better if we cold do this without the config option: just
> detect the appropriate device and make it work.

This bit is enable for PC in BIOS.
However, I think that I want to control even by the kernel in
building in because it is a boot loader situation.

I think that this will not be able to be done by automatic.

Please apply this patch.

regards,
 Nobuhiro
--
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