<div dir="auto">Sir,<div dir="auto"><br></div><div dir="auto">I request you to please guide me so that I can proceed further.</div><div dir="auto"><br></div><div dir="auto">Thanks and Regards</div><div dir="auto">Abhinav Jain </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 24, 2018 12:19 PM, "Abhinav Jain" <<a href="mailto:jainab.2009@gmail.com">jainab.2009@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Sir,</div><div><br></div><div>Proceeding further with the memory protection project, I have read about the IBM POWER architectures. I read about how memory management works within the POWER architecture along with Linux kernel. I specifically, read about POWER 8 and POWER 9 architecture and tried to understand the working and integration with the kernel. I read about how a 78-bit address is created in POWER 8 and also about the various sizes of page table support. Along with this, I read about syncing process between the hardware page table and the Linux kernel page table. I also read a little about the Hypervisor. In POWER 9, I read about two translation modes namely, hash page table structure and radix page table structure. I found the working very interesting and motivating.</div><div>I request you to please guide me, should I proceed with reading about more architectures and MMU support in different operating systems or should I change my approach? </div><div><br></div><div>Thanks and Regards</div><div>Abhinav Jain</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 20, 2018 at 8:25 PM, Abhinav Jain <span dir="ltr"><<a href="mailto:jainab.2009@gmail.com" target="_blank">jainab.2009@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Sir,</div><div><br></div><div>I have gone through the code and tried to trace out where the error is occurring. I also read about the git status command and the problem which I was able to figure out from this was with the git status command only.</div><div>I discussed this with Chris sir and he suggested me to make a different function to check the presence of the .git file and in place of checking the validity of path everywhere, this function is to be called as this provides a surety that the git status is not reflecting the status of a parent directory. </div><span><div><br></div><div>Thanks and Regards</div><div>Abhinav Jain</div></span></div><div class="m_-609559976707188485HOEnZb"><div class="m_-609559976707188485h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 20, 2018 at 7:22 PM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Sun, Feb 18, 2018 at 3:19 AM, Abhinav Jain <<a href="mailto:jainab.2009@gmail.com" target="_blank">jainab.2009@gmail.com</a>> wrote:<br>
> Sir,<br>
><br>
</span><span>> I have gone through the code concerning the issue raised. I also read about<br>
> the working of git status command and the problem that I am able to figure<br>
> out is that although the existing code is able to check whether the current<br>
> path exists or not but since it is relying on git status to check whether<br>
> the .git file is available or not, a problem is there. The git status checks<br>
> the current directory for the .git file but in case the current directory<br>
> doesn't have the .git file, it will look for it in the parent directory and<br>
> if found there it will return True, which voids the purpose.<br>
> So, I think, if a second check is given to validate whether the current<br>
> directory contains .git file or not will solve the issue.<br>
> So the code may be:<br>
> def valid(self):<br>
> if path.exists(self.path):<br>
> if path.exists(path.join(self.pat<wbr>h, ".git")):<br>
> ec, output = self._run(['status'])<br>
> return ec == 0<br>
> return False<br>
> I request you to please guide me whether I proceeded in a right way or not.<br>
><br>
</span>That appears to be the code from the patch on the Trac, with Chris'<br>
comment to replace os.path.join with path.join. But, have you been<br>
able to (1) reproduce the problem, and (2) confirm this fixes it?<br>
<div class="m_-609559976707188485m_1548645391252317270HOEnZb"><div class="m_-609559976707188485m_1548645391252317270h5"><br>
><br>
> Thanks and Regards<br>
> Abhinav Jain<br>
><br>
> On Tue, Feb 13, 2018 at 10:50 AM, Abhinav Jain <<a href="mailto:jainab.2009@gmail.com" target="_blank">jainab.2009@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Sir,<br>
>><br>
>> Thanks for the guidance. I will study the code available and will try to<br>
>> resolve the issue as soon as possible.<br>
>><br>
>> Thanks and Regards<br>
>> Abhinav Jain<br>
>><br>
>> On Tue, Feb 13, 2018 at 4:47 AM, Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br>
>>><br>
>>> On 13/02/2018 06:05, Gedare Bloom wrote:<br>
>>> > Abhinav,<br>
>>> ><br>
>>> > Attempt to reproduce the reported problem, try out the patch and see<br>
>>> > if it works. I see this was reported for 4.10. See if the problem also<br>
>>> > affects 4.11, master, and if the fix works for them too.<br>
>>><br>
>>> I suspect it is common to all branches.<br>
>>><br>
>>> ><br>
>>> > On Mon, Feb 12, 2018 at 11:55 AM, Abhinav Jain <<a href="mailto:jainab.2009@gmail.com" target="_blank">jainab.2009@gmail.com</a>><br>
>>> > wrote:<br>
>>> >> Sir,<br>
>>> >><br>
>>> >> I have gone through the projects available in the link provided by you<br>
>>> >> and I<br>
>>> >> am interested in an issue (RSB can sometimes change the wrong local<br>
>>> >> git<br>
>>> >> repository (includes a fix).) listed there.<br>
>>> >> Link: <a href="https://devel.rtems.org/ticket/2522#no1" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket<wbr>/2522#no1</a><br>
>>> >> I request you to please provide some more information regarding this<br>
>>> >> so that<br>
>>> >> I can proceed with the coding part.<br>
>>> >><br>
>>><br>
>>> As Gedare suggests take a look at the master and 4.11 branches and if<br>
>>> present<br>
>>> work I suggest you work on the master branch and then we can take git.py<br>
>>> and<br>
>>> back port to 4.11 and 4.10 by simply coping git.py to those branches.<br>
>>><br>
>>> Chris<br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div>