Skip to content

Commit 8b15f61

Browse files
committed
workflows: Use bcm2709_defconfig for dtoverlaycheck
Now that ARCH=arm bcm2711_defconfig has been deleted, update dtoverlaycheck to use bcm2709_defconfig. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent ab80dcf commit 8b15f61

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/dtoverlaycheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
sudo make install
4444
cd ${{github.workspace}}
4545
pwd
46-
make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig
46+
make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig
4747
make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- dtbs
4848
${{env.UTILS_DIR}}/overlaycheck/overlaycheck

drivers/net/ethernet/cadence/macb_main.c

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,22 @@ static void *macb_rx_buffer(struct macb_queue *queue, unsigned int index)
232232
/* I/O accessors */
233233
static u32 hw_readl_native(struct macb *bp, int offset)
234234
{
235-
return __raw_readl(bp->regs + offset);
235+
static int debug_count = 400;
236+
u32 value = __raw_readl(bp->regs + offset);
237+
if (debug_count) {
238+
debug_count--;
239+
printk(KERN_DEBUG "rln: +%04x->%08x\n", offset, value);
240+
}
241+
return value;
236242
}
237243

238244
static void hw_writel_native(struct macb *bp, int offset, u32 value)
239245
{
246+
static int debug_count = 400;
247+
if (debug_count) {
248+
debug_count--;
249+
printk(KERN_DEBUG "wln: +%04x<-%08x\n", offset, value);
250+
}
240251
__raw_writel(value, bp->regs + offset);
241252
}
242253

@@ -1914,6 +1925,7 @@ static irqreturn_t macb_interrupt(int irq, void *dev_id)
19141925

19151926
status = queue_readl(queue, ISR);
19161927

1928+
printk(KERN_DEBUG "macb:%d,%08x\n", irq, status);
19171929
if (unlikely(!status))
19181930
return IRQ_NONE;
19191931

@@ -2020,6 +2032,7 @@ static irqreturn_t macb_interrupt(int irq, void *dev_id)
20202032
queue_writel(queue, ISR, MACB_BIT(HRESP));
20212033
}
20222034
status = queue_readl(queue, ISR);
2035+
if (status) printk(KERN_DEBUG "macb: %08x\n", status);
20232036
}
20242037

20252038
spin_unlock(&bp->lock);

0 commit comments

Comments
 (0)