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:	Mon, 19 May 2014 17:11:06 +0800
From:	Barry Song <21cnbao@...il.com>
To:	Gioh Kim <gioh.kim@....com>
Cc:	Russell King <linux@....linux.org.uk>,
	Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Barry Song <Baohua.Song@....com>,
	Santosh Shilimkar <santosh.shilimkar@...com>,
	이건호 <gunho.lee@....com>,
	Gi-Oh Kim <gurugio@...il.com>,
	DL-SHA-WorkGroupLinux <workgroup.linux@....com>
Subject: Re: [RFC PATCH] ARM: cache-l2x0: add setup entry for l2 in non-secure mode

2014-05-19 8:29 GMT+08:00 Gioh Kim <gioh.kim@....com>:
>
>
> 2014-05-18 오후 10:13, Barry Song 쓴 글:
>
>> 2014-05-15 13:39 GMT+08:00 Gioh Kim <gioh.kim@....com>:
>>>
>>>
>>> Hi,
>>>
>>> My board is using Trustzone and running kernel is non-secure mode.
>>> But setup function of PL310 driver is only for secure mode kernel.
>>>
>>> What about adding an entry for non-secure mode setup function?
>>>
>>> I'm sorry for my poor code but I just wanna say what I need .
>>
>>
>> Gioh,
>>
>> i don't really understand what is the user scenarios for this, if you
>> are running linux in non-secure mode, your security-mode codes have
>> enabled L2, so this makes non-secure linux have no chance to execute
>> setup at all:
>
>
> My platform runs linux kernel before L2 cache activation.
> And the L2 cache is activated when the kernel sends command to Trustzone
> firmware.
> At this moment L2 is not activated. Linux should send command for L2
> activation to Trustzone at the moment.

i think you can send command to trustzone firmware to enable L2 at
first, then make your Linux l2 driver run.


-barry
--
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