On Fri, 15 Nov 2013 10:33:40 +0900, manty kuma said:
> I am not talking about all the variables. i am talking about variables
> which are declared as module_param. These variables can anyways be changed
> from shell prompt using echo and cat like i mentioned in the desciption.
If you actually cha
Ideally, it depends on the platform you are working. You need to discuss
with them for the correct approach. For Qualcomm they have some hardware
caled as RPU(Register protection unit). They have systems calls exposed for
using them. You can associtate it to the register you want protection. I
dont
Sorry i was supposed to reply for another mail. Did it here by mistake.
On Fri, Nov 15, 2013 at 10:29 AM, manty kuma wrote:
> Ideally, it depends on the platform you are working. You need to discuss
> with them for the correct approach. For Qualcomm they have some hardware
> caled as RPU(Regist
Hi Valdis,
Thank you for the reply.
I am not talking about all the variables. i am talking about variables
which are declared as module_param. These variables can anyways be changed
from shell prompt using echo and cat like i mentioned in the desciption. SO
i was hoping i can do it from drivers asw
Ideally, it depends on the platform you are working. You need to discuss
with them for the correct approach. For Qualcomm they have some hardware
caled as RPU(Register protection unit). They have systems calls exposed for
using them. You can associtate it to the register you want protection. I
dont
get ___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, 14 Nov 2013 18:32:05 +0900, manty kuma said:
> I see that when we declare a variable as module_param from a driver, i can
> see it listed in "/sys/module/xxx/parameters/...".
>
> Ex : /sys/module/usbcore/parameters/autosuspend
>
> we can modify and read it with echo and cat commands from t
I had issues with setting this up. Any help would be appriciated. Or any
easy recommendations.
Thanks.
--
Aldo Iljazi
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I support this idea of Salary/working environment/, on different
Country/Area/Industry. And we can also add with that job opportunities .
Regards
Sudip
On Wed, Nov 13, 2013 at 12:10 PM, Jerry Zhang wrote:
> I am interested in something like Salary/working environment/, on
> different Country/Ar
Hi!
On Don, 2013-11-14 at 11:32 +0100, Luca Ellero wrote:
[...]
> can someone please show me which is the best practice to lock a
> read/write to a hardware register.
> In other words if, in a driver, I want to modify a bit in a HW register,
> I have to read the register, set/reset the relevant bi
Hi Luca
The locking mechanism to be used depends on what your piece of code does and
where your code runs.
If your code runs in a interrupt context (inside an interrupt handler), you
should use a spinlock (with irq save and restore).
Else you can use mutex or a semaphore.
In either cases, y
On Thu, Nov 14, 2013 at 4:02 PM, Luca Ellero wrote:
> Hi all,
> can someone please show me which is the best practice to lock a
> read/write to a hardware register.
> In other words if, in a driver, I want to modify a bit in a HW register,
> I have to read the register, set/reset the relevant bit
Hi all,
can someone please show me which is the best practice to lock a
read/write to a hardware register.
In other words if, in a driver, I want to modify a bit in a HW register,
I have to read the register, set/reset the relevant bit and write back
the reg.
But what can I do to be sure that no ot
Aldo Iljazi wrote:
> Okay guys I created it. Here you go lk...@googlegroups.com
>
> https://groups.google.com/d/forum/lkoml
Okay guys I moved it to my custom domain using the http://www.nabble.com
service.
Go to http://aldo.io and subscribe ;)
--
Aldo Iljazi
Dear all,
I see that when we declare a variable as module_param from a driver, i can
see it listed in "/sys/module/xxx/parameters/...".
Ex : /sys/module/usbcore/parameters/autosuspend
we can modify and read it with echo and cat commands from terminal.
But is there a way i can read this value fr
15 matches
Mail list logo