Questions about PASR patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Recently I've been reading the PASR patch, and I am really interested in 
that. Cause I am a total freshman to linux kernel, there are a few 
questions about the framework. I would very appreciate it if anyone 
could take a look at them and give me some suggestions.

Now I am trying to put several memory banks into no_refresh state on a 
real device, Nexus 9. Nexus 9 is based on Nvidia Tegra K1, with LPDDR3 
as the RAM. Its kernel version is tegra-flounder-3.10. From this kernel 
version, tegra 12 seems to support PASR. But tegra K1(tegra 132) does 
not have a supporting function like that.

static void tegra12_pasr_apply_mask(u16 *mem_reg, void *cookie)
{
	u32 val = 0;
	int device = (int)cookie;

	val = TEGRA_EMC_MODE_REG_17 | *mem_reg;
	val |= device << TEGRA_EMC_MRW_DEV_SHIFT;

	emc_writel(val, EMC_MRW);

	pr_debug("%s: cookie = %d mem_reg = 0x%04x val = 0x%08x\n", 
__func__,
			(int)cookie, *mem_reg, val);
}

1. Does tegra 12 really supports PASR?
2. Why doesn't tegra 132 have a PASR driver? Is it because of some 
hardware differences? Is it possible if I rewrite a similar driver on 
tegra 132, just like tegra 12?

Thanks very much!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]