Skip to contentSkip to conversation

Build error in -next due to 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC'

DISCUSSION Guenter Roeck 3 participants 6 messages Jul 31, 2015 – Aug 1, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Luis,

probably the zero-day build already told you, but just in case:

Your commit 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC' causes build errors for architectures which don't support ioremap_uc. This affects at least the alpha architecture, though there may be others.

Here is the build error:

drivers/video/fbdev/aty/atyfb_base.c: In function 'atyfb_setup_generic':
drivers/video/fbdev/aty/atyfb_base.c:3447:2: error: implicit declaration of function 'ioremap_uc'

Thanks,
Guenter

#1 lore raw
Quoted 7 lines · Guenter Roeck

Hi Luis,

probably the zero-day build already told you, but just in case:

Your commit 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC' causes build errors for architectures which don't support ioremap_uc. This affects at least the alpha architecture, though there may be others.

Yep, parisc allmodconfig now sees it as well. Bisected before seeing this message.

3cc2dac5be3f23414a4efdee0b26d79bed297cac is the first bad commit commit 3cc2dac5be3f23414a4efdee0b26d79bed297cac

Author: Luis R. Rodriguez <[email protected]>
Date:   Thu Jul 9 18:24:58 2015 -0700

drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC

http://kisskb.ellerman.id.au/kisskb/buildresult/12475234/

Paul.
--

Quoted 13 lines

Here is the build error:

drivers/video/fbdev/aty/atyfb_base.c: In function 'atyfb_setup_generic':
drivers/video/fbdev/aty/atyfb_base.c:3447:2: error: implicit declaration of function 'ioremap_uc'

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 12 lines · Paul Gortmaker
Quoted 7 lines · Guenter Roeck

Hi Luis,

probably the zero-day build already told you, but just in case:

Your commit 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC' causes build errors for architectures which don't support ioremap_uc. This affects at least the alpha architecture, though there may be others.

Yep, parisc allmodconfig now sees it as well. Bisected before seeing this message.

Quoted 8 lines

3cc2dac5be3f23414a4efdee0b26d79bed297cac is the first bad commit commit 3cc2dac5be3f23414a4efdee0b26d79bed297cac

Author: Luis R. Rodriguez <[email protected]>
Date:   Thu Jul 9 18:24:58 2015 -0700

drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC

http://kisskb.ellerman.id.au/kisskb/buildresult/12475234/

I submitted a fix for it, can you tell me your linux-next tree?

git describe

Luis

#3 lore raw
Quoted 18 lines · Luis R. Rodriguez
Quoted 17 lines · Paul Gortmaker
Quoted 7 lines · Guenter Roeck

Hi Luis,

probably the zero-day build already told you, but just in case:

Your commit 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC' causes build errors for architectures which don't support ioremap_uc. This affects at least the alpha architecture, though there may be others.

Yep, parisc allmodconfig now sees it as well. Bisected before seeing this message.

3cc2dac5be3f23414a4efdee0b26d79bed297cac is the first bad commit commit 3cc2dac5be3f23414a4efdee0b26d79bed297cac

Author: Luis R. Rodriguez <[email protected]>
Date:   Thu Jul 9 18:24:58 2015 -0700
Quoted 6 lines
Quoted 3 lines

drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC

http://kisskb.ellerman.id.au/kisskb/buildresult/12475234/

I submitted a fix for it, can you tell me your linux-next tree?

http://server.roeck-us.net:8010/builders/next-alpha-next

next-20150729 to next-20150731.

Guenter

#4 lore raw
Quoted 21 lines · Guenter Roeck
Quoted 20 lines · Luis R. Rodriguez
Quoted 19 lines · Paul Gortmaker
Quoted 7 lines · Guenter Roeck

Hi Luis,

probably the zero-day build already told you, but just in case:

Your commit 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC' causes build errors for architectures which don't support ioremap_uc. This affects at least the alpha architecture, though there may be others.

Yep, parisc allmodconfig now sees it as well. Bisected before seeing this message.

3cc2dac5be3f23414a4efdee0b26d79bed297cac is the first bad commit commit 3cc2dac5be3f23414a4efdee0b26d79bed297cac

Author: Luis R. Rodriguez <[email protected]>
Date:   Thu Jul 9 18:24:58 2015 -0700

drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

http://kisskb.ellerman.id.au/kisskb/buildresult/12475234/

I submitted a fix for it, can you tell me your linux-next tree?

http://server.roeck-us.net:8010/builders/next-alpha-next

next-20150729 to next-20150731.

Great thanks, I sent a proposal general fix, that should be tested first. If all the bots say go for it, then yay, otherwise a simple

#define ioremap_uc ioremap_nocache

would be the way to go, but I would prefer to fix this sort of thing for good.

Luis

#5 lore raw

Hi Luis,

Quoted 29 lines · Luis R. Rodriguez
Quoted 28 lines · Guenter Roeck
Quoted 18 lines · Luis R. Rodriguez
Quoted 17 lines · Paul Gortmaker
Quoted 7 lines · Guenter Roeck

Hi Luis,

probably the zero-day build already told you, but just in case:

Your commit 'drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC' causes build errors for architectures which don't support ioremap_uc. This affects at least the alpha architecture, though there may be others.

Yep, parisc allmodconfig now sees it as well. Bisected before seeing this message.

3cc2dac5be3f23414a4efdee0b26d79bed297cac is the first bad commit commit 3cc2dac5be3f23414a4efdee0b26d79bed297cac

Author: Luis R. Rodriguez <[email protected]>
Date:   Thu Jul 9 18:24:58 2015 -0700
Quoted 6 lines
Quoted 3 lines

drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC

http://kisskb.ellerman.id.au/kisskb/buildresult/12475234/

I submitted a fix for it, can you tell me your linux-next tree?

http://server.roeck-us.net:8010/builders/next-alpha-next

Quoted 9 lines
Quoted 1 line

next-20150729 to next-20150731.

Great thanks, I sent a proposal general fix, that should be tested first. If all the bots say go for it, then yay, otherwise a simple

#define ioremap_uc ioremap_nocache

would be the way to go, but I would prefer to fix this sort of thing for good.

I just replied to your patch - it doesn't work.

We already know that parisc is also affected, and with some experimentation I found that ia64 is affected as well.

Guenter