* SKylake Edac support in linux 2.6.32.696 kernel build
@ 2018-08-31 11:16 Nitin Gupta
2018-08-31 11:23 ` Nitin Gupta
2018-08-31 16:14 ` Greg Kroah-Hartman
0 siblings, 2 replies; 11+ messages in thread
From: Nitin Gupta @ 2018-08-31 11:16 UTC (permalink / raw)
Hi All
I started back porting Skylake Edac driver from 4.8 kernel to 2.6.696
kernel
i am not getting the memory controller entries inside
/sys/devices/system/edac/
i am able to get the entries inside
/sys/bus/edac/devices/mc/
/sys/devices/mc/
Any help will be appreciated .
Regards
Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20180831/92d5281b/attachment.html>
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
2018-08-31 11:16 SKylake Edac support in linux 2.6.32.696 kernel build Nitin Gupta
@ 2018-08-31 11:23 ` Nitin Gupta
2018-08-31 16:14 ` Greg Kroah-Hartman
1 sibling, 0 replies; 11+ messages in thread
From: Nitin Gupta @ 2018-08-31 11:23 UTC (permalink / raw)
There are below link also found
./sys/devices/mc/mc0
./sys/bus/mc0
./sys/bus/mc0/devices/mc0
On Fri, Aug 31, 2018 at 4:46 PM, Nitin Gupta <nitin.gupta981 at gmail.com>
wrote:
> Hi All
>
> I started back porting Skylake Edac driver from 4.8 kernel to 2.6.696
> kernel
> i am not getting the memory controller entries inside
> /sys/devices/system/edac/
>
> i am able to get the entries inside
>
> /sys/bus/edac/devices/mc/
> /sys/devices/mc/
>
> Any help will be appreciated .
>
> Regards
> Nitin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20180831/ac981841/attachment.html>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: SKylake Edac support in linux 2.6.32.696 kernel build
2018-08-31 11:16 SKylake Edac support in linux 2.6.32.696 kernel build Nitin Gupta
@ 2018-08-31 16:14 ` Greg Kroah-Hartman
2018-08-31 16:14 ` Greg Kroah-Hartman
1 sibling, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2018-08-31 16:14 UTC (permalink / raw)
To: Nitin Gupta
Cc: ldv-project, devel, Pavel Zemlyanoy, linux-kernel, linux-erofs
On Fri, Aug 31, 2018 at 04:46:41PM +0530, Nitin Gupta wrote:
> Hi All
>
> I started back porting Skylake Edac driver from 4.8 kernel to 2.6.696
> kernel
Ick, why would you ever want to do that? Just use a newer kernel
please. If you really want to do this, you are on your own.
good luck!
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
@ 2018-08-31 16:14 ` Greg Kroah-Hartman
0 siblings, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2018-08-31 16:14 UTC (permalink / raw)
On Fri, Aug 31, 2018@04:46:41PM +0530, Nitin Gupta wrote:
> Hi All
>
> I started back porting Skylake Edac driver from 4.8 kernel to 2.6.696
> kernel
Ick, why would you ever want to do that? Just use a newer kernel
please. If you really want to do this, you are on your own.
good luck!
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
2018-08-31 16:14 ` Greg Kroah-Hartman
(?)
@ 2018-08-31 17:52 ` Nitin Gupta
2018-08-31 19:47 ` Greg Kroah-Hartman
-1 siblings, 1 reply; 11+ messages in thread
From: Nitin Gupta @ 2018-08-31 17:52 UTC (permalink / raw)
Hi Greg
Thanks for your comments but somehow i cant use the latest kernel .
i am able to compile skx_edac.c to the kernel .but if some body can tell
how controller directory will be getting added will be good.
Some more output from the kernel
cd /sys/devices/system/edac/
ls -la
total 0
drwxr-xr-x 3 admin root 0 Aug 30 19:53 .
drwxr-xr-x 14 admin root 0 Aug 30 19:53 ..
drwxr-xr-x 2 admin root 0 Aug 30 19:53 power
rw-rr- 1 admin root 4096 Aug 30 20:00 uevent
cd /sys/bus/edac
ls -la
total 0
drwxr-xr-x 4 admin root 0 Aug 30 19:53 .
drwxr-xr-x 21 admin root 0 Aug 30 19:57 ..
drwxr-xr-x 2 admin root 0 Aug 30 19:53 devices
drwxr-xr-x 2 admin root 0 Aug 30 19:53 drivers
rw-rr- 1 admin root 4096 Aug 30 19:59 drivers_autoprobe
-w------ 1 admin root 4096 Aug 30 19:59 drivers_probe
-w------ 1 admin root 4096 Aug 30 19:53 uevent
cd /sys/bus/edac/devices/mc/
ls -la
total 0
drwxr-xr-x 7 admin root 0 Aug 30 19:53 .
drwxr-xr-x 21 admin root 0 Aug 30 19:53 ..
drwxr-xr-x 3 admin root 0 Aug 30 19:53 mc0
drwxr-xr-x 3 admin root 0 Aug 30 19:53 mc1
drwxr-xr-x 3 admin root 0 Aug 30 19:53 mc2
drwxr-xr-x 3 admin root 0 Aug 30 19:53 mc3
drwxr-xr-x 2 admin root 0 Aug 30 19:53 power
lrwxrwxrwx 1 admin root 0 Aug 30 19:59 subsystem -> ../../bus/edac
rw-rr- 1 admin root 4096 Aug 30 19:53 uevent
- <https://jira.rvbdtechlabs.net/secure/AddComment!default.jspa?id=95528>
Regards
Nitin
On Fri, Aug 31, 2018 at 9:44 PM, Greg Kroah-Hartman <
gregkh@linuxfoundation.org> wrote:
> On Fri, Aug 31, 2018@04:46:41PM +0530, Nitin Gupta wrote:
> > Hi All
> >
> > I started back porting Skylake Edac driver from 4.8 kernel to 2.6.696
> > kernel
>
> Ick, why would you ever want to do that? Just use a newer kernel
> please. If you really want to do this, you are on your own.
>
> good luck!
>
> greg k-h
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20180831/d969f216/attachment.html>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: SKylake Edac support in linux 2.6.32.696 kernel build
2018-08-31 17:52 ` Nitin Gupta
@ 2018-08-31 19:47 ` Greg Kroah-Hartman
0 siblings, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2018-08-31 19:47 UTC (permalink / raw)
To: Nitin Gupta
Cc: ldv-project, devel, Pavel Zemlyanoy, linux-kernel, linux-erofs
On Fri, Aug 31, 2018 at 11:22:06PM +0530, Nitin Gupta wrote:
> Hi Greg
>
> Thanks for your comments but somehow i cant use the latest kernel .
Why not? What is not working properly for you? It will be easier to
fix that than to work with a crazy half-backported mess that you will be
the sole person responsible for.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
@ 2018-08-31 19:47 ` Greg Kroah-Hartman
0 siblings, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2018-08-31 19:47 UTC (permalink / raw)
On Fri, Aug 31, 2018@11:22:06PM +0530, Nitin Gupta wrote:
> Hi Greg
>
> Thanks for your comments but somehow i cant use the latest kernel .
Why not? What is not working properly for you? It will be easier to
fix that than to work with a crazy half-backported mess that you will be
the sole person responsible for.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
2018-08-31 19:47 ` Greg Kroah-Hartman
(?)
@ 2018-09-02 10:15 ` Nitin Gupta
2018-09-02 15:02 ` Greg Kroah-Hartman
-1 siblings, 1 reply; 11+ messages in thread
From: Nitin Gupta @ 2018-09-02 10:15 UTC (permalink / raw)
Hi Greg
i am working on some project which is having huge changes and working
on kernel-2.6.32-131.696
it will be very difficult to back port them into 4.8 .
Regards
Nitin
On Sat, Sep 1, 2018 at 1:17 AM, Greg Kroah-Hartman <
gregkh@linuxfoundation.org> wrote:
> On Fri, Aug 31, 2018@11:22:06PM +0530, Nitin Gupta wrote:
> > Hi Greg
> >
> > Thanks for your comments but somehow i cant use the latest kernel .
>
> Why not? What is not working properly for you? It will be easier to
> fix that than to work with a crazy half-backported mess that you will be
> the sole person responsible for.
>
> thanks,
>
> greg k-h
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20180902/1e331e76/attachment.html>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: SKylake Edac support in linux 2.6.32.696 kernel build
2018-09-02 10:15 ` Nitin Gupta
@ 2018-09-02 15:02 ` Greg Kroah-Hartman
0 siblings, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2018-09-02 15:02 UTC (permalink / raw)
To: Nitin Gupta
Cc: ldv-project, devel, Pavel Zemlyanoy, linux-kernel, linux-erofs
On Sun, Sep 02, 2018 at 03:45:01PM +0530, Nitin Gupta wrote:
> Hi Greg
>
> i am working on some project which is having huge changes and working
> on kernel-2.6.32-131.696
> it will be very difficult to back port them into 4.8 .
Why 4.8? That too is a totally unsupported kernel version.
Anyway, randomly pulling in a driver from a newer by many years, if not
almost a decade old (2.6.32 was released in 2009), is a very difficult
task, and usually almost impossible to go that far back. That is not
how Linux is developed or meant to be worked with at all.
You are _really_ on your own here, only do this if you _really_ know
what you are doing. Even then, I would not recommend you do this, as
you are guaranteeing to create a monstrosity that only you can support,
for forever, on your own.
good luck!
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
@ 2018-09-02 15:02 ` Greg Kroah-Hartman
0 siblings, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2018-09-02 15:02 UTC (permalink / raw)
On Sun, Sep 02, 2018@03:45:01PM +0530, Nitin Gupta wrote:
> Hi Greg
>
> i am working on some project which is having huge changes and working
> on kernel-2.6.32-131.696
> it will be very difficult to back port them into 4.8 .
Why 4.8? That too is a totally unsupported kernel version.
Anyway, randomly pulling in a driver from a newer by many years, if not
almost a decade old (2.6.32 was released in 2009), is a very difficult
task, and usually almost impossible to go that far back. That is not
how Linux is developed or meant to be worked with at all.
You are _really_ on your own here, only do this if you _really_ know
what you are doing. Even then, I would not recommend you do this, as
you are guaranteeing to create a monstrosity that only you can support,
for forever, on your own.
good luck!
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* SKylake Edac support in linux 2.6.32.696 kernel build
2018-09-02 15:02 ` Greg Kroah-Hartman
(?)
@ 2018-09-02 17:17 ` Nitin Gupta
-1 siblings, 0 replies; 11+ messages in thread
From: Nitin Gupta @ 2018-09-02 17:17 UTC (permalink / raw)
Hi Greg
found that Skylake driver for EDAC is supported on 4.8 .
Regards
Nitin
On Sun, Sep 2, 2018 at 8:32 PM, Greg Kroah-Hartman <
gregkh@linuxfoundation.org> wrote:
> On Sun, Sep 02, 2018@03:45:01PM +0530, Nitin Gupta wrote:
> > Hi Greg
> >
> > i am working on some project which is having huge changes and working
> > on kernel-2.6.32-131.696
> > it will be very difficult to back port them into 4.8 .
>
> Why 4.8? That too is a totally unsupported kernel version.
>
> Anyway, randomly pulling in a driver from a newer by many years, if not
> almost a decade old (2.6.32 was released in 2009), is a very difficult
> task, and usually almost impossible to go that far back. That is not
> how Linux is developed or meant to be worked with at all.
>
> You are _really_ on your own here, only do this if you _really_ know
> what you are doing. Even then, I would not recommend you do this, as
> you are guaranteeing to create a monstrosity that only you can support,
> for forever, on your own.
>
> good luck!
>
> greg k-h
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20180902/8de270c9/attachment.html>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-09-02 17:17 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31 11:16 SKylake Edac support in linux 2.6.32.696 kernel build Nitin Gupta
2018-08-31 11:23 ` Nitin Gupta
2018-08-31 16:14 ` Greg Kroah-Hartman
2018-08-31 16:14 ` Greg Kroah-Hartman
2018-08-31 17:52 ` Nitin Gupta
2018-08-31 19:47 ` Greg Kroah-Hartman
2018-08-31 19:47 ` Greg Kroah-Hartman
2018-09-02 10:15 ` Nitin Gupta
2018-09-02 15:02 ` Greg Kroah-Hartman
2018-09-02 15:02 ` Greg Kroah-Hartman
2018-09-02 17:17 ` Nitin Gupta
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.